Bugs in FOG 0.33
-
The latest fog should have Multicast Tasks working appropriately now. r1106 should allow all of this to work, create, start, cleanup, and what not.
-
All,
Just a heads up on the UDP Port created. I’ve changed it to get the setting from the web GUI, You can set it, but I’ve added another feature to the class files that randomly generates a new port number (even) between 2 and 65534 (port 0 is invalid, port 65535 is invalid) so, while you can manually specify a port number, it also automatically/randomly sets a new port number after a multicast task is created. This way you can create multiple multicast jobs without worry if the port is already in use. That’s not to say it couldn’t recreate the same port, but it’s a fairly wide range so it’s unlikely to create a port that already exists.
-
Hi Tom, great job regarding the multicasting and all the other improvement you’ve made, I will get a chance on Monday to test it.
Thanks again for your effort! -
Denis and all,
You’re very welcome. Just test and let me know of any issues you run into, I’ll try to fix them when I can.
As a side note, I think all should be aware of, besides the whole port randomization thing all of the multicast jobs, and as I find them, other imaging/non-imaging tasks (wake on lan, snapin deployment, etc…) will be performed by the Host.class.php file. I am using this as it’s already designed to handle the deployment of tasks, why not use it to create my tasks as I imagine they were intended.
As I delved into these pretty head strong on the idea, I also am starting to wonder if the reason 0.32 had issues isn’t similar to the cause of the issues I was running into, but able to fix.
-
Hi Tom, I have updated to v1117 this morning and tried to test multicasting, however I cant get it to work
I tried it using the different menu, i.e from with task mangement, and group management using multicast to deploy image.
the pc’s in the group stay on the partclone display but they dont start. Also the multicast.log has nothing other than “Checking if I am group manager” , udp-sender is not being called.I have atached a screen shot of the access log, let me know if I can provide anything further to try troubleshoot, thanks Tom.
[url=“/_imported_xf_attachments/0/500_accesslog.JPG?:”]accesslog.JPG[/url]
-
Restart the FOGMulticastManager service.
-
This post is deleted! -
Hi Tom, thanks. That has certainly help, sorry just another thing, image is not getting deploy,
Notice below, the gunzip cmd, show the image as /images//win8, suspect this should be /images/win8.If you dont mind if this is indead a typo can you let me know where I can make this change, much appreciated…
[01-20-14 12:17:37 pm] * [01-20-14 12:17:37 pm] I am the group manager.
[01-20-14 12:17:37 pm] | [01-20-14 12:17:37 pm] Task (6) Multicast Group Quick Deploy is new!
[01-20-14 12:17:37 pm] | [01-20-14 12:17:37 pm] Task (6) Multicast Group Quick Deploy image file found.
[01-20-14 12:17:37 pm] | [01-20-14 12:17:37 pm] Task (6) Multicast Group Quick Deploy 2 clients found.
[01-20-14 12:17:37 pm] | [01-20-14 12:17:37 pm] Task (6) Multicast Group Quick Deploy sending on base port: 36678
[01-20-14 12:17:37 pm] CMD: gunzip -c “/images//win8”|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 36678 --interfa
[01-20-14 12:17:42 pm] | [01-20-14 12:17:42 pm] Task (6) Multicast Group Quick Deploy has started.
[01-20-14 12:17:52 pm] * [01-20-14 12:17:52 pm] Checking if I am the group manager. -
It’s because your database is storing the “/images” part as “/images/”, I can add an rtrim to remove the last slash though. If it doesn’t exist it stays as is, if it does exist it removes it so my formatting can take over.
-
r1118 released to rtrim the path of extra /'s. Adds more information for Option 066 and Option 067.
-
Hi Tom, thanks. i have updated to latest version with rtrim included but is still the same, still putting in the two //,
Thanks -
You will have to re-restart the FOGMulticastManager service for it to take effect.
-
Thanks Tom, I believe I did restart is, however I ahve since installed phpmyadmin, and apears to have broken my fog installation. Busy setting up a new FOg server and will test again and let you know
-
Hi Tom, built new server with latest v1119, still getting error on /var/log/appache2/error.log.
This is similar to the issues I had with my previous fog sever, and though I has caused the issue.
When I try to run multitask , i get these error, UDP-transmit does not get called.[Mon Jan 20 15:15:05 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming no
[Mon Jan 20 15:15:18 2014] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server’s fully qualified domain name, using 10.10.6.98 for ServerName
[Mon Jan 20 15:15:18 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming no
[Mon Jan 20 15:15:26 2014] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server’s fully qualified domain name, using 10.10.6.98 for ServerName
[Mon Jan 20 15:15:26 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming no
[Mon Jan 20 15:20:02 2014] [notice] caught SIGTERM, shutting down
[Mon Jan 20 15:20:03 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming no
[Mon Jan 20 15:22:49 2014] [error] [client 10.10.6.31] File does not exist: /var/www/favicon.ico
[Mon Jan 20 15:23:03 2014] [error] [client 10.10.6.31] PHP Warning: mysql_close(): 23 is not a valid MySQL-Link resource in 98/fog/commons/schemaupdater/index.php?redir=1
[Mon Jan 20 15:23:03 2014] [error] [client 10.10.6.31] PHP Fatal error: Call to a member function debug() on a non-object in.98/fog/commons/schemaupdater/index.php?redir=1
[Mon Jan 20 15:47:02 2014] [notice] caught SIGTERM, shutting down
[Mon Jan 20 15:49:30 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming no
[Mon Jan 20 16:03:30 2014] [error] [client 10.10.6.31] File does not exist: /var/www/favicon.ico
[Mon Jan 20 16:05:11 2014] [error] [client 10.10.6.31] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/agement/index.php?node=storage
[Mon Jan 20 16:10:21 2014] [error] [client 10.10.6.31] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/agement/index.php?node=storage&sub=edit&id=1
[Mon Jan 20 16:29:58 2014] [notice] caught SIGTERM, shutting down
[Mon Jan 20 16:29:59 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming no
[Mon Jan 20 17:06:43 2014] [error] [client 10.10.6.31] PHP Warning: mysql_query() expects parameter 2 to be resource, booleap://10.10.6.98/fog/management/index.php?node=tasks&sub=active-multicast
[Mon Jan 20 17:06:43 2014] [error] [client 10.10.6.31] PHP Warning: array_key_exists() expects parameter 2 to be array, null://10.10.6.98/fog/management/index.php?node=tasks&sub=active-multicast
[Mon Jan 20 17:06:43 2014] [error] [client 10.10.6.31] PHP Warning: mysql_query() expects parameter 2 to be resource, booleap://10.10.6.98/fog/management/index.php?node=tasks&sub=active-multicast
[Mon Jan 20 17:06:43 2014] [error] [client 10.10.6.31] PHP Warning: array_key_exists() expects parameter 2 to be array, null://10.10.6.98/fog/management/index.php?node=tasks&sub=active-multicast
[Mon Jan 20 17:06:45 2014] [notice] caught SIGTERM, shutting down
[Mon Jan 20 17:06:46 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming no
[Mon Jan 20 17:15:25 2014] [error] [client 10.10.6.31] PHP Warning: mysql_query() expects parameter 2 to be resource, booleap://10.10.6.98/fog/management/index.php?node=tasks&sub=active-multicast
[Mon Jan 20 17:15:25 2014] [error] [client 10.10.6.31] PHP Warning: array_key_exists() expects parameter 2 to be array, null://10.10.6.98/fog/management/index.php?node=tasks&sub=active-multicast
[Mon Jan 20 17:15:25 2014] [error] [client 10.10.6.31] PHP Warning: mysql_query() expects parameter 2 to be resource, booleap://10.10.6.98/fog/management/index.php?node=tasks&sub=active-multicast
[Mon Jan 20 17:15:25 2014] [error] [client 10.10.6.31] PHP Warning: array_key_exists() expects parameter 2 to be array, null://10.10.6.98/fog/management/index.php?node=tasks&sub=active-multicast
[Mon Jan 20 17:15:28 2014] [notice] caught SIGTERM, shutting down
[Mon Jan 20 17:15:29 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured – resuming no
[EMAIL]adminuser@FOG033srv:/var/log/apache2$[/EMAIL]
Thanks again -
Denis,
Are active-snapins working properly now?
-
Hi Tom, sorry I have never used active-snapins, all I use is capture and deploy, but the error I am experiencing seem similar to the snapin issue in the latest fog thread.
-
r1120 released should help address the errors. The class is now created before storing the variable, which I think was throwing all those errors. Also fixed the GreenFog.class.php and HostAutoLogout.class.php variable issues as noted in Troye Johnson’s log file.
-
Hi Tom, have updated to the v 1124, still having same issues with multicsting as with my earlier post from yesterdat at 5:25, just letting you know, not sure if felt that multucasting should work or if your still working on it.
Thanks -
Try updating to 1125, somebody reported about an issue in variable set. (Multicas[B]e[/B]t instead of Multicast was used.)
-
Hello,
I get an error about firmware for nic driver, something with bnx2 firmware couldn’t be load. I tried now to build a new kernel and get this error:
[CODE] MK_FW firmware/bnx2/bnx2-mips-09-6.2.1b.fw.gen.S
make[1]: *** No rule to make targetlinux-firmware/bnx2/bnx2-mips-09-6.2.1b.fw', needed by
firmware/bnx2/bnx2-mips-09-6.2.1b.fw.gen.o’. Stop.
make: *** [firmware] Error 2
[/CODE]Any ideas?