FOG 1.2.0 multicast issues
-
Fog Version: 1.2.0
Ubuntu: 10.04.4 LTSI tried to post the foginstall.log and it says it is spam.
-
Installation Started…
Installing required packages, if this fails
make sure you have an active internet connection.- Preparing apt-get
- Installing package: apache2
- Installing package: php5
- Installing package: php5-json
- Installing package: php5-gd
- Installing package: php5-cli
- Installing package: php5-mysql
- Installing package: php5-curl
- Installing package: mysql-server
We are about to install MySQL Server on
this server, if MySQL isn’t installed already
you will be prompted for a root password.
Press enter to acknowledge this message.
Reading package lists…
Building dependency tree…
Reading state information…
mysql-server is already the newest version.
The following packages were automatically installed and are no longer required:
libtommath0
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
-
- Installing package: mysql-client
- Installing package: tftpd-hpa
- Installing package: tftp-hpa
- Installing package: nfs-kernel-server
- Installing package: vsftpd
- Installing package: net-tools
- Installing package: wget
- Installing package: xinetd
- Installing package: sysv-rc-conf
- Installing package: tar
- Installing package: gzip
- Installing package: build-essential
- Installing package: cpp
- Installing package: gcc
- Installing package: g++
- Installing package: m4
- Installing package: htmldoc
- Installing package: lftp
- Installing package: openssh-server
- Installing package: php-gettext
- Installing package: clamav-freshclam
Confirming package installation. - Checking package: apache2…OK
- Checking package: php5…OK
- Checking package: php5-json…OK
- Checking package: php5-gd…OK
- Checking package: php5-cli…OK
- Checking package: php5-mysql…OK
- Checking package: php5-curl…OK
- Checking package: mysql-server…OK
- Checking package: mysql-client…OK
- Checking package: tftpd-hpa…OK
- Checking package: tftp-hpa…OK
- Checking package: nfs-kernel-server…OK
- Checking package: vsftpd…OK
- Checking package: net-tools…OK
- Checking package: wget…OK
- Checking package: xinetd…OK
- Checking package: sysv-rc-conf…OK
- Checking package: tar…OK
- Checking package: gzip…OK
- Checking package: build-essential…OK
- Checking package: cpp…OK
- Checking package: gcc…OK
- Checking package: g++…OK
- Checking package: m4…OK
- Checking package: htmldoc…OK
- Checking package: lftp…OK
- Checking package: openssh-server…OK
- Checking package: php-gettext…OK
- Checking package: clamav-freshclam…OK
Configuring services. - Setting up and starting MySql…OK
- Backing up user reports…OK
- Setting up and starting Apache Web Server…OK
You still need to install/update your database schema.
This can be done by opening a web browser and going to:
[URL=‘http://10.1.0.55/fog/management’][U][COLOR=#0066cc]http://10.1.0.55/fog/management[/COLOR][/U][/URL]
Press [Enter] key when database is updated/installed. - Configuring Fresh Clam…OK
- Setting up storagemkdir: cannot create directory `/images/postdownloadscripts’: Read-only file system
…/lib/common/functions.sh: line 325: /images/postdownloadscripts/fog.postdownload: No such file or directory
- Installing package: mysql-client
-
chmod: changing permissions of
/images/HVWin7RoomD9': Read-only file system chmod: changing permissions of
/images/HVWin7RoomD9/sys.img.000’: Read-only file system
chmod: changing permissions of/images/HVWin7RoomD9/rec.img.000': Read-only file system chmod: changing permissions of
/images/NVTR7149’: Read-only file system
chmod: changing permissions of/images/NVTR7149/sys.img.000': Read-only file system chmod: changing permissions of
/images/NVTR7149/rec.img.000’: Read-only file system
…OK- Setting up and starting DHCP Server…Skipped
- Setting up and starting TFTP and PXE Servers…OK
- Setting up and starting VSFTP Server…OK
- Setting up sudo settings…OK
- Setting up FOG Snapins…OK
- Setting up and building UDPCast…OK
- Installing init scripts…OK
- Setting up FOG Services…OK
- Starting FOG Multicast Management Server…OK
- Starting FOG Image Replicator Server…OK
- Starting FOG Task Scheduler Server…OK
- Setting up FOG Utils…OK
Would you like to notify the FOG group about this installation?
* This information is only used to help the FOG group determine
if FOG is being used. This information helps to let us know
if we should keep improving this product.
Send notification? (Y/N)n
NOT sending notification.Setup complete!
-
When you say:
[quote=“TRSD, post: 33767, member: 24501”]We are still having this problem with multicast and haven’t been able to get it to work since 0.32: “[URL=‘http://fogproject.org/forum/threads/fog-1-1-0-multicast-sits-at-starting-to-restore-image-to-device-dev-sda1.10782/’][U][COLOR=#0066cc]Starting to restore image (-) to device (/dev/sda1)[/COLOR][/U][/URL]”.We have upgraded to 1.2.0 and the latest SVN. We are able to use omping successfully. Any other ideas to try?[/quote]
Do you mean you never got it working on 0.32?
It makes me wonder what’s wrong with your setup. Maybe switches are blocking UDP traffic, maybe multicast traffic is not allowed to pass? I don’t know your environment or what you’ve done to trouble shoot other than restarting the FOGMulticastManager service and testing with omping. What is the results of omping?
-
This was working with 0.32. As soon as we went to 1.0.0 and later it has not.
The omping was pinging with multicast results on both ends.
-
Have you verified that firewall’s are disabled and that routing it working between for 224.0.0.1
-
Here is the latest data from the multicast.log file:
[07-22-14 6:00:51 pm] * No tasks found!
[07-22-14 6:01:01 pm] * No tasks found!
[07-22-14 6:01:11 pm] | Task (7) Pete-Test is new!
[07-22-14 6:01:11 pm] | Task (7) /images/PeteTest image file found.
[07-22-14 6:01:11 pm] | Task (7) 2 client(s) found.
[07-22-14 6:01:11 pm] | Task (7) Pete-Test sending on base port: 50734
[07-22-14 6:01:11 pm] CMD: cat /images/PeteTest/rec.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 50734 --interface eth0 --full-duplex --ttl 32 --nokbd;cat /images/PeteTest/sys.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 50734 --interface eth0 --full-duplex --ttl 32 --nokbd;
[07-22-14 6:01:11 pm] | Task (7) Pete-Test has started.
[07-22-14 6:01:21 pm] | Task (7) Pete-Test is no longer running.
[07-22-14 6:01:21 pm] | Task (7) Pete-Test has been cleaned as complete.
[07-22-14 6:01:31 pm] * No tasks found!
[07-22-14 6:01:41 pm] * No tasks found! -
Do me a favor and truncate all of the tasks that deal with multicast:
[code]mysql -u root [ -p #only if you have a mysql password ] fog
truncate table multicastSessions;
truncate table multicastSessionsAssoc;
delete from tasks where taskTypeID=‘8’;
sudo service FOGMulticastManager restart[/code]Recreate your multicast job and try again.
-
Would the firewall situation have changed on the fog side from .032 to 1.2.0 as it was working before and nothing has changed on our firewall?
-
FOG doesn’t touch or do anything with firewalls, so the quick answer is no.
-
I was wondering maybe ports changed or something.
I tried your truncation suggestions above and still no luck.
-
[07-22-14 8:22:06 pm] * No tasks found!
[07-22-14 8:22:16 pm] * No tasks found!
[07-22-14 8:22:26 pm] | Task (1) Pete-Test is new!
[07-22-14 8:22:26 pm] | Task (1) /images/PeteTest image file found.
[07-22-14 8:22:26 pm] | Task (1) 2 client(s) found.
[07-22-14 8:22:26 pm] | Task (1) Pete-Test sending on base port: 56378
[07-22-14 8:22:26 pm] CMD: cat /images/PeteTest/rec.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 56378 --interface eth0 --full-duplex --ttl 32 --nokbd;cat /images/PeteTest/sys.img.|/usr/local/sbin/udp-sender --min-receivers 2 --portbase 56378 --interface eth0 --full-duplex --ttl 32 --nokbd;
[07-22-14 8:22:26 pm] | Task (1) Pete-Test has started.
[07-22-14 8:22:37 pm] | Task (1) Pete-Test is no longer running.
[07-22-14 8:22:37 pm] | Task (1) Pete-Test has been cleaned as complete.
[07-22-14 8:22:47 pm] * No tasks found!
[07-22-14 8:22:57 pm] * No tasks found! -
How is it no luck? Nothing’s working? Did you restart the FOGMulticastManager service after you truncated everything? Is your Date Time Zone settings correct?
What’s in your /opt/fog/log/multicast.log? Are the times correct for your location?
-
I tested multicast and it still didn’t work. FOGMulticastManager service was restarted (this time and many times previous). I will look at time zone as it is obviously wrong for Pacific time. I don’t know if that has changed.
-
The server time is correct. Where is the fog multicast.log getting it’s time from?
-
/etc/php.ini (redhat)
/etc/php5/apache2/php.ini (ubuntu/debian) -
I changed that to:
date.timezone = America/Los_Angeles
restarted apache and I am still getting the same time results.
Is there somewhere else that needs to change?
-
You’ll likely need to restart the server. I believe php runs more ingrained that just the apache2 service.
-
Also, you’d likely have to restart the FOG Services:
[code]service FOGMulticastManager restart
service FOGImageReplicator restart
service FOGScheduler restart[/code]