I’m back with some more info.
It looks like the problem was that udp-sender wasn’t started by the multicast manager service. If I restart the service, the udp-sender starts. I reboot the workstations and this time it starts deploying.
Posts made by andreiv
RE: Run script on the server immediately after multicast is done
Thank you for your reply. I thought about this too but I’m a bit uncomfortable with modifying the FOG code. Plus, it would break if I upgrade.
I got another idea yesterday, after writing this post. I was thinking about a script, that would run from cron, about every 10 minutes. It would check if udp-sender is running. If it isn’t, it would just exit. If it is, it would start monitoring the process and, when it finishes, it would launch my custom code.
This would work if udp-sender runs only during multicast. I suppose this is the case. I don’t see any reason for it to run otherwise.
How does this sound?
Run script on the server immediately after multicast is done
This is not a technical problem but maybe someone can give me an idea. I need to run a script as root, on the server, after the multicast is done.
Server OS is Ubuntu 16.04,
RE: Multicast not starting
Went through debug but I still cannot figure out why is this happening.
First, I found that the network interface used by udp-sender was wrong. Corrected that in the config file. Tested again, but the issue repeats exactly as the first time.
I checked, the MulticastManager service was running, status OK. udp-sender was started, network interface ok, number of clients ok. All seems perfect.
But after each server restart, multicast doesn’t start.
If I reinstall fog, all works OK.
Multicast not starting
Back with the same problem.
I started one one my bi-annual labs redeployment.
The multicast doesn’t start. All computers are ready for the image:
The tasks are created:
And yet nothing is happening.
First, I removed the task, rebooted but it doesn’t help. All computers remain stuck at the same window.
The solution was, as the last time, reinstall fog. I started the installer (it was the same version, 1.4.4).
When the install (or let’s call it upgrade) was done, I created the tasks again, rebooted the computers and this time it worked like a charm.
What could be the issue? Multicast service not starting? The reinstall seems to start the service…
Thanks for your help.
OS: Ubuntu 16.04 (all updates installed, no fancy settings, the default OS).
FOG: latest version, 1.4.4
RE: checking “Schedule Shutdown after task completion” causes the running task to hang
Yes, checking “Schedule Shutdown after task completion” causes the running task to hang at the end (in both capture and deployment). I am going to take some pictures/videos and get back.
RE: Issues with FOG services
Yes, I am almost sure that that is the problem. There are “leftover” tasks and this is related to an issue I reported in another thread, the fact that checking the “Schedule Shutdown after task completion” causes the task to hang (remain unfinished).
The next time I have to deploy I am going to do a test and deploy twice, once with that checkbox checked and once unchecked and I am going to capture a video of the last steps of the process on the client, to see what happens.