• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Problem to deploy a only partition image using multicast

Scheduled Pinned Locked Moved Solved
Bug Reports
3
19
1.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    Fernando Gietz Developer
    last edited by Oct 3, 2018, 5:48 PM

    Hi,

    I have updated the FOG server version recently from 1.5.2 to 1.5.4 and in this version when I try to deploy an only partition image (for example only the second partition) using a multicast task, if I deploy it with an unicast tasks, works fine, the partclone download in /dev/sda2 the d1p1.img file.
    Always the d1p1.img, if you want to deploy the 4th partition, parclone download the d1p1.img in /dev/sda4.

    FOG version: 1.5.4
    Server OS: RHEL 7

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Oct 3, 2018, 12:16 PM Oct 3, 2018, 6:15 PM

      @Fernando-Gietz Just so I get this right, it works fine/correct as unicast task - d1p3.img -> /dev/sda3 for example?

      But wrong when run as multicast task?

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      F 1 Reply Last reply Oct 4, 2018, 10:48 AM Reply Quote 0
      • F
        Fernando Gietz Developer @Sebastian Roth
        last edited by Oct 4, 2018, 10:48 AM

        @Sebastian-Roth Yes.
        I deployed, before update the version 1.5.2 to 1.5.4, without problems one partition using a multicast tasks, but with 1.5.4 doesn’t deploy well.

        With unicast d1p3.img --> /dev/sda3
        With multicast d1p1.img --> /dev/sda3

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Oct 27, 2018, 9:12 PM

          @Fernando-Gietz I have looked into this. I am very sorry but to me it seems like this could have never worked before. I even setup a 1.5.2 server to test and could only replicate the same issue as reported.

          Good two and a half years ago we noticed that deploying a single partition does not even work in unicast mode at all and fixed it - see here. From my point of view we missed to fix that in multicast mode altogether as very few people seem to use it and it has never worked I reckon.

          Possibly you have done unicast for a group of machines in 1.5.2?

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • F
            Fernando Gietz Developer
            last edited by Oct 29, 2018, 12:38 PM

            @Sebastian-Roth I don’t test it doing a unicast deploy for a group. I tried it doing a unicast deploy for one computer, and worked well.

            I want to report that with the version 1.5.2 worked well for multicast deploy.

            1 Reply Last reply Reply Quote 0
            • F
              Fernando Gietz Developer
              last edited by Oct 29, 2018, 6:06 PM

              I have tested a group deploy unicast and works fine. The problem is with the multicast tasks.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Oct 29, 2018, 7:54 PM

                @Fernando-Gietz said in Problem to deploy a only partition image using multicast:

                I want to report that with the version 1.5.2 worked well for multicast deploy.

                As I said, I have looked through the code history and even tried 1.5.2 myself and multicast for single partition has not worked in 1.5.2 - I am pretty much sure!

                Hope I will find the time to fix this soon. But it’s not a simple fix and needs some time and work.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • F
                  Fernando Gietz Developer
                  last edited by Oct 30, 2018, 2:49 PM

                  Thanks @Sebastian-Roth , I will wait the fix

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Nov 12, 2018, 10:51 PM

                    @Fernando-Gietz Ok, this is fixed in the working branch. Please give updating to the working branch a try if you are keen.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • F
                      Fernando Gietz Developer
                      last edited by Nov 13, 2018, 12:30 PM

                      Hi @Sebastian-Roth ,

                      I tried to install the working branch to test it but appears some error:

                      # more /root/fog_1.4.0/bin/error_logs/fog_error_1.5.4.8.log 
                      /bin/lsb_release
                      /bin/systemctl
                      ln: fallo al crear el enlace simbólico «/usr/lib/systemd/system/mysql.service»: El fichero ya existe
                      ln: fallo al crear el enlace simbólico «/usr/lib/systemd/system/mysqld.service»: El fichero ya existe
                      ln: fallo al crear el enlace simbólico «/etc/systemd/system/mysql.service»: El fichero ya existe
                      ln: fallo al crear el enlace simbólico «/etc/systemd/system/mysqld.service»: El fichero ya existe
                      /opt/fog/.fogsettings
                      

                      And the installation process stops here:

                       * Here are the settings FOG will use:
                       * Base Linux: Redhat
                       * Detected Linux Distribution: Red Hat Enterprise Linux Server
                       * Server IP Address: 10.0.yyy.xxx
                       * Server Subnet Mask: 255.255.255.0
                       * Interface: ens192
                       * Installation Type: Normal Server
                       * Internationalization: 
                       * Image Storage Location: /images
                       * Using FOG DHCP: No
                       * DHCP will NOT be setup but you must setup your
                       | current DHCP server to use FOG for PXE services.
                      
                       * On a Linux DHCP server you must set: next-server and filename
                      
                       * On a Windows DHCP server you must set options 066 and 067
                      
                       * Option 066/next-server is the IP of the FOG Server: (e.g. 10.0.yyy.xxx)
                       * Option 067/filename is the bootfile: (e.g. undionly.kpxe)
                      
                      
                       * Are you sure you wish to continue (Y/N) 
                       * Installation Started
                      
                       * Installing required packages, if this fails
                       | make sure you have an active internet connection.
                      
                       * Adding needed repository....................................
                      
                      Q 1 Reply Last reply Nov 13, 2018, 4:58 PM Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Nov 13, 2018, 3:34 PM

                        @Fernando-Gietz What do you mean by “stops here”? It usually takes a couple of seconds at this stage, sometimes a bit longer if your internet connection is slow. But it should finish with “OK” or “Failed”.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • F
                          Fernando Gietz Developer
                          last edited by Nov 13, 2018, 3:36 PM

                          I waited several minutes and nothing, but I will try again …

                          1 Reply Last reply Reply Quote 0
                          • F
                            Fernando Gietz Developer
                            last edited by Nov 13, 2018, 4:17 PM

                            I rerun the installer with the same results 😞

                            1 Reply Last reply Reply Quote 0
                            • Q
                              Quazz Moderator @Fernando Gietz
                              last edited by Nov 13, 2018, 4:58 PM

                              @Fernando-Gietz Those ‘errors’ are fine, they’re just pointing out the symbolic link already exists (which is fine)

                              It stopping on adding repositories is more concerning, perhaps yum is stuck?

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by Sebastian Roth Nov 13, 2018, 11:04 AM Nov 13, 2018, 5:03 PM

                                @Fernando-Gietz Try running: yum update

                                Ummmm? Just noticed this: /root/fog_1.4.0/bin/error_logs

                                Sure you’re not mixing thing up here??

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                1 Reply Last reply Reply Quote 0
                                • F
                                  Fernando Gietz Developer
                                  last edited by Nov 13, 2018, 5:17 PM

                                  Hi,

                                  I have rebooted the machine 🙂 And now works fine

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Nov 13, 2018, 5:27 PM

                                    @Fernando-Gietz You mean the installer or pushing a single partition to clients via multicast?

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      Fernando Gietz Developer
                                      last edited by Nov 14, 2018, 4:09 PM

                                      The installer, I am trying now to deploy one partition and seems that works fine 😉

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        Fernando Gietz Developer
                                        last edited by Nov 14, 2018, 4:25 PM

                                        I can confirm that works fine

                                        1 Reply Last reply Reply Quote 1
                                        • 1 / 1
                                        • First post
                                          Last post

                                        169

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project