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

Multicast Task is started to just 4 computers

Scheduled Pinned Locked Moved
FOG Problems
3
9
3.6k
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.
  • N
    nikonaum
    last edited by Jan 24, 2015, 6:37 AM

    I added 15 computers to a new group with a Image associated to the group and made a Multicast task for imaging this computers, but when the FOG server wakes up the machines via WoL the imaging process begins only to some of them (4) and the others are listed as queued in the web interface and even after the 4 machines are imaged the job does not continue to another 4 or all of the others which are queued.

    I’m running the latest TRUNK fog (v. 2924) on CentOS Linux. I had no problems before when I was running 1.2 (stable) fog.
    So is it some configurational setup I have to make or is it some kind of BUG?[ATTACH]1628[/ATTACH][ATTACH]1629[/ATTACH]

    [url=“/_imported_xf_attachments/1/1628_Multicast-task-active.png?:”]Multicast-task-active.png[/url][url=“/_imported_xf_attachments/1/1629_Multicast-tasks-list.png?:”]Multicast-tasks-list.png[/url]

    1 Reply Last reply Reply Quote 0
    • N
      nikonaum
      last edited by Jan 24, 2015, 7:01 AM

      UPDATE: The 4 machines are imaged OK but the others are still in the QUEUE and the listing of the Active Multicast Tasks says there are NO multicast tasks.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Jan 24, 2015, 5:39 PM

        Did FOG wake up all 15 clients? Did the others get the normal FOG iPXE Boot menu (list with ‘Boot from harddrive’ as the first item)? What if you start the job again?
        [CODE]# ps ax | grep “udp-sender”[/CODE]
        You should see several processes. Keep your eyes open for the command option ‘–min-receivers’. As far as I know (FOG 1.2.0) multicast is not going to start if hosts are missing. Not sure if this is still true in current SVN. But check your process list anyway!

        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
        • T
          Tom Elliott
          last edited by Jan 24, 2015, 5:46 PM

          I believe there is a timeout value for all multicast tasks.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • T
            Tom Elliott
            last edited by Jan 24, 2015, 5:52 PM

            Confirmed, the --max-wait parameter is in the data as well.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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
            • N
              nikonaum
              last edited by Jan 25, 2015, 7:30 AM

              'Cause I wasn’t on site and deployed the task remotely It turned out that FOG couldn’t wake all the computers from Lan in that particular case. But still not all the computers join the Multicast session, some of them are just waiting on the screen with partclone. And I think is because of the [FONT=Ubuntu][COLOR=#555555]FOG_UDPCAST_MAXWAIT[/COLOR][/FONT]
              It’s set to 10 in the config of FOG the hint says this is in MINUTES but I think (I’m sure) It’s in seconds, so I increased it to 100 and set the value define( “UDPSENDER_MAXWAIT”, null ); to define( “UDPSENDER_MAXWAIT”, 180 ); in the var/www/html/fog/lib/fog/Config.class.php file. Now I’m having more machines joining and actually participating in the Multicast Image Process.

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Jan 25, 2015, 12:50 PM

                [quote=“nikonaum, post: 41320, member: 2897”]'Cause I wasn’t on site and deployed the task remotely It turned out that FOG couldn’t wake all the computers from Lan in that particular case. But still not all the computers join the Multicast session, some of them are just waiting on the screen with partclone. And I think is because of the [FONT=Ubuntu][COLOR=#555555]FOG_UDPCAST_MAXWAIT[/COLOR][/FONT]
                It’s set to 10 in the config of FOG the hint says this is in MINUTES but I think (I’m sure) It’s in seconds, so I increased it to 100 and set the value define( “UDPSENDER_MAXWAIT”, null ); to define( “UDPSENDER_MAXWAIT”, 180 ); in the var/www/html/fog/lib/fog/Config.class.php file. Now I’m having more machines joining and actually participating in the Multicast Image Process.[/quote]

                UDPSENDER_MAXWAIT is the variable that was used for 1.2.0 and the value is in seconds.

                You are correct that the FOG_UDPCAST_MAXWAIT currently is set to seconds. That’s a mistake I did, I’m sorry. The value is supposed to be in minutes on the GUI, but in my minor change over to try making the cmd lines generated more dynamically, I forgot to multiply this value by 60, which is what it really should be. I’ll have it corrected shortly.

                [php]$this->FOGCore->getSetting(‘FOG_UDPCAST_MAXWAIT’) ? sprintf(’ --max-wait %d’, $this->FOGCore->getSetting(‘FOG_UDPCAST_MAXWAIT’)) : null,[/php]

                I, now, have it more dynamic and fall back to UDPSENDER_MAXWAIT in the case where FOG_UDPCAST_MAXWAIT is set to zero.

                SVN 2926.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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
                • N
                  nikonaum
                  last edited by Jan 26, 2015, 6:30 PM

                  CONFIRMED! It was an update (trunk ver. 2924) issue. The [FONT=Ubuntu][COLOR=#555555]FOG_UDPCAST_MAXWAIT [/COLOR][/FONT][COLOR=#000000]was set as default to 10 in the config settings of the web interface but the latest update as of the time (trunk 2924) was wrongly set up to seconds not minutes, so there was no enough time for all the multicast participants to join the multicast task. I can confirm it is fixed in [/COLOR]SVN 2926 like [URL=‘http://fogproject.org/forum/members/tom-elliott.7271/’][SIZE=13px][B]Tom Elliott[/B][/SIZE][/URL] says.

                  1 Reply Last reply Reply Quote 0
                  • N
                    nikonaum
                    last edited by Jan 26, 2015, 6:31 PM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      1/9
                      Last post

                    160

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project