SOLVED Invalid Multicast session
FOG Version: Running Version 1.3.0-RC-16
SVN Revision: 5981
OS: Ubuntu 14.04
- Service Version:
Fresh install of Version 1.3.0-RC-15, upgraded to Version 1.3.0-RC-16. I was having the issues
Upgraded to 1.3.0-RC-16, and it does resolve the image issue. However a new multi-cast task issues is seen.
I click the multi-cast button on a group of 5. I confirm my selection. On the Active Task screen I see the multi-cast deploy task for all 5 of the hosts. If I click the “Active Multicast Task” link, there are no multi-cast task.
When I boot these host, they complain:
Invalid Multicast session
Found the secondary issue of the “multicast session is invalid”.
Basically I missed one point by not including a space where it needed one.
This is now (properly) fixed and patched up so people doing fresh installs will be fine, and people doing upgrades (that had the issue originally) will magically be fixed when they install the latest (when rc 20 gets pushed).
@LJedi Can you look through this? https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_Downloading_-_Multicast
@Wayne-Workman here is the output
@LJedi What is the output of
command -v udp-sender?
I am seeing the same issue with a fresh install of Ubuntu 16.04 and RC19. Any suggestions?
I was able to upgrade to RC19 and am able to multicast still. So this is resolved.
I just used my pre-existing FOG setup at home to test it, I’m using CentOS 7. The commands involved in multicasting don’t differ from one OS to the other though. They all use udp-sender.
The way I just tested is, I put one host in a new group, then through Group Management I picked that group, picked Basic Task, and chose multicast. Then I confirmed the task. The task showed up in Task Management, the host automatically turned on via WOL, and was able to start laying the image on the disk via PartClone just fine.
I also confirmed that udp-sender was infact being used by watching
top, udp-sender would be the top-consuming process in top while Partclone was going, and between partitions it’d drop down off the list.
@rbaldwin The issue, as I see it, is what is to be considered “fresh”.
Your other “fresh” layouts, to my knowledge, didn’t clear out all the other stuff.
Was anything changed in how FOG starts the udp-sender between RC15,16 and 17? You did a fresh install of RC17 on Ubuntu 14.04 and were able to create a Multicast task? And use that task to image a system?
This post is deleted!
I’ve just confirmed that Multicast works fine in RC-17.
I’m hesitant to upgrade now that it’s working. Maybe Monday. I did try fresh installs of both 1.3.0-RC-15 and1.3.0-RC-16 during this process without any luck resolving the issue. Only a fresh install of RC13 resolved the issue.
@rbaldwin Now can you try upgrading?
I’m thinking older remnants (unbeknownst to all of us at this point) were causing the issues you were seeing to begin with.
Okay, I’m able to multicast with FOG using the version of the FOG software(1.3 RC 13) a colleague who could multicast has.
All the following were done as root, by first using the command “sudo -i” to become root.
- I stopped all the FOG services.
Find the FOG services:
ls -lah /etc/init.d/FOG*
service FOGImageReplicator stop
service FOGMulticastManager stop
service FOGPingHosts stop
service FOGScheduler stop
service FOGSnapinReplicator stop
- I deleted the fog user
Uninstalled FOG using these instructions:
Finally I removed the /opt/fog folders and /etc/fog and /var/www/html/fog
rm -f -r /opt/fog
rm -f -r /etc/fog
rm -f -r /var/www/html/fog
Then I went to my git checkout path, where I have FOG git repo and checked out the commit a college has that can multicast.
git checkout 249cda491927fff27967cf9c5b8cb371b49837d0
Finally I reinstalled FOG
When installation finished I now had FOG 1.3 RC13, I was able to create a multicast task. When the task was started it showed up on the Task Scheduler> Active Mutlicast task screen and as a process.
ps -ef | grep udp-sender
root 21694 18671 0 11:04 ? 00:00:00 sh -c cat /images/baseW5xxwin764vmw12Aug2016/d1p1.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 600 --portbase 64654 --full-duplex --ttl 32 --nokbd --nopointopoint;
root 21696 21694 0 11:04 ? 00:00:00 /usr/local/sbin/udp-sender --interface eth0 --min-receivers 1 --max-wait 600 --portbase 64654 --full-duplex --ttl 32 --nokbd --nopointopoint
I then booted a host and the multicast session started without any issues.
yes, as I said earlier. I can image just fine if I use the deploy button. The issue is FOG isn’t starting udp-sender.
#grep udp-sender * -R
lib/fog/config.class.php: define(‘UDPSENDERPATH’, ‘/usr/local/sbin/udp-sender’);
#ls -lah /usr/local/sbin/udp-sender
-rwxr-xr-x 1 root root 65K Oct 27 12:14 /usr/local/sbin/udp-sender
ps -ef | grep udp-sender
root 28532 28390 0 13:11 pts/4 00:00:00 grep --color=auto udp-sender
Here are some pictures of the process.
@rbaldwin Do the hosts in question have an image assigned to them?
I uninstalled FOG as described here:
Reinstalled a Fresh install of:
Running Version 1.3.0-RC-16
SVN Revision: 5983
Still not Multicast task is created when I create a multicast task and when the host boot they complain: “Invalid Multicast session”
I can multicast in troubleshooting with udp-sender/udp-receiver as described in the “Testing Multicast” section of https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_Downloading_-_Multicast
yes, if I put a tail on the log file I see new entries for “* No tasks found!”