FOG 1.3.0 RC23 Multicast not working - StorageNode
-
Re: group management deploy task / multicast not working.
I had issues prior to this, but im looking to get it resolved now.
Fog server on Ubuntu 14.04 FOG 1.3.0 RC23, storage node on 14.04 1.3.0 RC23.
When i try to start the FOGMulticastManager it fails. Multicast logs show entry’s from months ago and only show:
[04-20-16 10:10:12 am] * No tasks found! [04-20-16 10:10:22 am] * No tasks found! [04-20-16 10:10:32 am] * No tasks found! [04-20-16 10:10:42 am] * No tasks found! [04-20-16 10:10:52 am] * No tasks found! [04-20-16 10:11:02 am] * No tasks found! [04-20-16 10:11:12 am] * No tasks found! [04-20-16 10:11:22 am] * No tasks found! [04-20-16 10:11:32 am] | StorageNode Not found on this system. [04-20-16 10:11:42 am] | StorageNode Not found on this system. [04-20-16 10:11:52 am] | StorageNode Not found on this system. [04-20-16 10:12:02 am] | StorageNode Not found on this system. [04-20-16 10:12:12 am] | StorageNode Not found on this system. [04-20-16 10:12:22 am] | StorageNode Not found on this system.
Not sure what else to try really.
-
Just returning here to let everyone know that, I don’t fail due to it, but the messages will report as Fail/Done depending on the status for the removal bits and pieces.
-
@Wayne-Workman Yep, for now I’m not overly concerned. It will work one way or the other (fail later or we can fail it immediately). Eitherway, there’s at least a potential solution that prompts for user input first anyway.
-
@Tom-Elliott Ok then, but it would still be good to have “Done” / “Fail” messages I think. That’s simple to do.
-
@Wayne-Workman The issue is where this is happening in the source, so the data to log to may not be fully ready and available to start logging to.
If this doesn’t work, the installation steps will fail anyway. That’s why I didn’t focus too much the error stat information.
-
@Tom-Elliott This line could fail:
https://github.com/FOGProject/fogproject/commit/5ead9f7a9dfd822aae06bb99de41769b87988ddb#diff-4d38e5a470509891be8d02be2ec77126R37The output should be sent to the installation log, and the echo line below it replaced with:
[[ $? -eq 0 ]] && echo "Done" || echo "Failed"
-
Your probably right. Iv had this DB from FOG 0.32…
-
@Duncan
You can do this on the server too… Though I still think the DB needs to be cleaned up first. -
@Tom-Elliott said in FOG 1.3.0 RC23 Multicast not working - StorageNode:
Try these steps please:
rm -rf /etc/php* /etc/apache2*
apt-get purge php5* php7* apache2* libapachephpEdit the /opt/fog/.fogsettings file.
Change out the php_ver to read with php_ver=‘7.1’
Change out the php_verAdds to read with php_verAdds=’-7.1’
Delete the packages line.
Rerun the installer.Is it worth doing this on my FOG server also. I only did my master storagenode
-
@Duncan said in FOG 1.3.0 RC23 Multicast not working - StorageNode:
Restarted FOGMulticastManager service and mysql service for good luck too.
You recreated teh taskings and restarted the clients?
-
first time truncated:
TRUNCATE TABLE multicastSessions; TRUNCATE TABLE multicastSessionsAssoc; DELETE FROM tasks WHERE taskTypeID='8';
Didnt make a difference.
Just ran the ones you gave me there, still stuck at partclone screen.
Restarted FOGMulticastManager service and mysql service for good luck too. -
@Duncan What did you truncate?
Please try:
TRUNCATE TABLE multicastSessions; TRUNCATE TABLE multicastSessionsAssoc; DELETE FROM tasks WHERE taskTypeID='8' AND taskStateID NOT IN ('4','5');
-
@jhuebner said in FOG 1.3.0 RC23 Multicast not working - StorageNode:
@Duncan Then you need to do the truncate stuff in the database mentioned somewhere else
Truncated but still no joy.
Il go and do some fault finding now.
Cheers for all the help so far @Tom-Elliott @jhuebner @ryanxplosion
-
Anybody familiar with code, and/or feel like testing:
Please take a look here:
https://github.com/FOGProject/fogproject/commit/5ead9f7a9dfd822aae06bb99de41769b87988ddb
Criticize and/or test the code that I’ve added to see if it help address the issue please?
-
just doing it now, cheers
-
@Duncan Then you need to do the truncate stuff in the database mentioned somewhere else
-
@Duncan said in FOG 1.3.0 RC23 Multicast not working - StorageNode:
Need to test, will let you know - cheers
[11-17-16 2:46:28 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:46:18 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:46:08 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:45:58 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:45:48 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:45:38 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:45:28 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:45:18 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:45:08 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:44:58 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:44:48 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:44:38 pm] | Task (1) Multi-Cast Task is already running with pid: 6042. [11-17-16 2:44:28 pm] | Task (1) Multi-Cast Task has started! [11-17-16 2:44:28 pm] | Command: cat /images/storage/Windows764bitDomain/d1p1.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 600 --mcast-data-address 10.1.9.217 --portbase 62054 --full-duplex --ttl 32 --nokbd --nopointopoint;cat /images/storage/Windows764bitDomain/d1p2.img | /usr/local/sbin/udp-sender --interface eth0 --min-receivers 2 --max-wait 10 --mcast-data-address 10.1.9.217 --portbase 62054 --full-duplex --ttl 32 --nokbd --nopointopoint; [11-17-16 2:44:28 pm] | Task (1) Multi-Cast Task sending on base port: 62054. [11-17-16 2:44:28 pm] | Task (1) Multi-Cast Task 2 clients found. [11-17-16 2:44:28 pm] | Task (1) /images/storage/Windows764bitDomain image file found. [11-17-16 2:44:28 pm] | Task (1) Multi-Cast Task has been cleaned. [11-17-16 2:44:28 pm] | Task (1) Multi-Cast Task is new
Stuck at Partclone screen now
-
Need to test, will let you know - cheers
-
@Duncan So you’re operational now?
-
sorry, i think i have it now.
[11-17-16 2:41:47 pm] * No tasks found! [11-17-16 2:41:37 pm] * No tasks found! [11-17-16 2:41:27 pm] * No tasks found! [11-17-16 2:41:17 pm] * No tasks found! [11-17-16 2:41:07 pm] * No tasks found! [11-17-16 2:40:57 pm] * No tasks found! [11-17-16 2:40:57 pm] * Starting service loop [11-17-16 2:40:57 pm] * Checking for new items every 10 seconds [11-17-16 2:40:57 pm] * Starting MulticastManager Service [11-17-16 2:40:57 pm] Interface Ready with IP Address: xxxxxxxxxxxxxxxxxxxxxxxxxx [11-17-16 2:40:57 pm] Interface Ready with IP Address: x.x.x.x [11-17-16 2:40:57 pm] Interface Ready with IP Address: x.x.x.x ######################################### # GNU GPL Version 3 # # http://fogproject.org/credits # # Credits: # # Free Computer Imaging Solution # #########################################```