• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Fog 1.1.0 multicast sits at "Starting to restore image (-) to device (/dev/sda1)

Scheduled Pinned Locked Moved
FOG Problems
23
81
70.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Michael Mullins
    last edited by Jun 17, 2014, 7:26 PM

    I reinstalled Unbuntu and Fog today. Still the same issue. Anyone else make it past this?

    1 Reply Last reply Reply Quote 0
    • I
      ianabc Testers
      last edited by Jun 17, 2014, 9:53 PM

      I’m running into the same problem with fog-1.1.1 on RHEL 6.5. I’m pretty much clueless about UDPcast so I’m not sure if the problem is with the network or fog. I can say that everything seems to work with a single machine in the group and fog tells me that it will be using UDPcast for that host.

      EDIT I should also say that I took a go at running udp-sender and udp-receiver manually (in debug mode on the clients). The results were the same: a single host worked fine, more than one failed, this time with errors like

      [CODE]
      Timeout notAnswered=[0] notReady=[0] nrAns=0 nrRead=0 nrPart=1 avg=84698
      [/CODE]

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jun 17, 2014, 9:54 PM

        ianabc or anybody,

        Are you guys in systems with multiple nodes?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • I
          ianabc Testers
          last edited by Jun 17, 2014, 10:43 PM

          Sorry, missed your question. No, single node setup, I think my problem is either with udpcast or our network configuration.

          1 Reply Last reply Reply Quote 0
          • I
            ianabc Testers
            last edited by Jun 17, 2014, 11:00 PM

            For my setup, this looks very similar to [URL=‘http://fogproject.org/forum/threads/multicast-does-not-work-to-multiple-clients-only-to-single-client.863/’]this post[/URL], but their hack with the 239.X.X.X mcast address doesn’t seem to be working for me.

            1 Reply Last reply Reply Quote 0
            • R
              rhythmtone
              last edited by Jul 1, 2014, 4:35 PM

              I’m also having this issue, and it is really hard to isolate. In my old setup all sites had their own 0.32 FOG Server using Normal installation, and multicast worked great. The catch with this setup was that the images were “per site” as they each had to point to their respective local FOG servers, and also having one SQL database per site was unmanageable and inefficient.

              I’m attempting to downgrade / revert for testing purposes but in my new setup each site has a storage node set to “Master” (because only Master nodes can multicast) AND each site’s storage node is its own storage group. I’m not sure if this is the most efficient setup but I need to be sure which node(s) the machines are pulling their images from (at least for now) and if only Master nodes can send multicast traffic, then it follows that each site needs to have a Master node on its LAN.

              I’m in the process of reverting and testing, but where would I find the best multicast debug page?

              If there is anything else that I can add, please let me know - I plan on working on this all week…

              Ubuntu 14.04 - FOG 1.1.2
              Multicast log on main FOG server is empty
              Multicast log on storage node does not exist (file not there)
              Storage nodes ARE pushing images to clients in unicast mode correctly (tested and verified)

              Thanks for any help,
              D.L.

              1 Reply Last reply Reply Quote 0
              • R
                rhythmtone
                last edited by Jul 1, 2014, 4:41 PM

                To add,
                If the storage node is the device actually pushing out the image via multicast, then shouldn’t the logs and UDPcast service and testing be done there? The reason that I’m asking is because the storage node(s) do not seem to have anything related to multi-casting, including the absence of FOGMulticastManager as a service…

                I am definitely puzzled,
                Thanks for reading,
                D.L.

                1 Reply Last reply Reply Quote 0
                • B
                  BullDozer
                  last edited by Jul 11, 2014, 5:55 PM

                  I have a clean install of FOG on Ubuntu 13.10.
                  I’m having the same issue. Hanging on the Partclone screen.
                  Unicast is working

                  Network is very basic.
                  FOG Server -> unmanaged switch -> PC’s

                  There is nothing special about the setup.

                  I start the Multicast and the session seems to end right away. I have rebooted the server and restarted the services indicated earlier in this post.

                  Here is the dump from my log.

                  [07-11-14 3:49:46 pm] * No tasks found!
                  [07-11-14 3:49:56 pm] | Task (8) Multitest is new!
                  [07-11-14 3:49:56 pm] | Task (8) /images/163DS image file found.
                  [07-11-14 3:49:56 pm] | Task (8) 3 client(s) found.
                  [07-11-14 3:49:56 pm] | Task (8) Multitest sending on base port: 53574
                  [07-11-14 3:49:56 pm] CMD: cat “/images/163DS”|/usr/local/sbin/udp-sender --min$
                  [07-11-14 3:49:56 pm] | Task (8) Multitest has started.
                  [07-11-14 3:50:06 pm] | Task (8) Multitest is no longer running.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Jul 11, 2014, 11:54 PM

                    All, I think the issues you’re all experiencing are due to prior issues. This is probably my bad. I’m sorry. As I stated in my beginner’s notice (developer thread and feature request) I am human.

                    I’m starting to think the issue is because of previous “issues” with multicast tasks.

                    While not normally recommended, I’m going to make a request for those having issues. Clean out your old tasks.

                    You will have to do this with mysql. You can do it through phpMyadmin or terminal.

                    Login to your related element: CLI method below:
                    [code]mysql -u root [-p’PASSWORDHERE’ #ONLY IF YOU SET PASSWORD] fog[/code]

                    Once in the prompt or in phpmyadmin run these commands.
                    [code]delete from tasks where taskTypeID=‘8’;
                    truncate table multicastSessions;
                    truncate table multicastSessionsAssoc;
                    exit;[/code]

                    This will remove all assocation of Multicast tasks in the system. All fields from multicastSessions and all associations as well as any lingering tasks.

                    Then restart the FOGMulticastManager service.
                    [code]service FOGMulticastManager restart[/code]

                    Then try your tasking again. Hopefully all will work much better. I’m certainly hoping so.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • I
                      ianabc Testers
                      last edited by Jul 12, 2014, 3:30 AM

                      I’ve just tried 2039 and 2046 and I still get stuck at “Starting to restore image”

                      [ATTACH]1159[/ATTACH]

                      Doing a “multicast” to a group with a single member works as expected, but with two members in the group I get the message above on both machines. I got to the same behaviour on a physical network as well, but I can’t rule out the network as the source of the problem in either case - I’ve never had multicast working, I didn’t use it in 0.32.

                      I’m starting to think the actual issue is with udpcast. I’ve done some tests and I can’t get it to work on either virtual or physical setup. The problem is the same, multicast to a single machine works, multicast to two fails.

                      [url=“/_imported_xf_attachments/1/1159_multicast.png?:”]multicast.png[/url]

                      1 Reply Last reply Reply Quote 0
                      • R
                        rhythmtone
                        last edited by Jul 12, 2014, 6:08 AM

                        Hi all,
                        Have you guys tried a FOG installation without a SQL password? Having a blank root password on the SQL database solved all of my multicast problems. And yes, I verified it “6 ways from Sunday” - as in, it was not an incorrect/mismatched password causing the issue. Simply having a SQL password at all causes this behavior (hanging on “starting to restore”) in my environment. It did not matter if it was correct in the configuration files, etc. - just the existence of a root password on the SQL database prevented multicast from working…

                        Strange, I know, but it’s the truth. Sometimes I make mistakes, but in this case I verified the password, and re-installed over and over again, and could not get multicast to work WITH a SQL password, so I’m very sure of this, in my environment at least.

                        Thanks,
                        D.L.

                        1 Reply Last reply Reply Quote 0
                        • I
                          ianabc Testers
                          last edited by Jul 12, 2014, 5:06 PM

                          [quote=“rhythmtone, post: 32953, member: 57”]Hi all,
                          Have you guys tried a FOG installation without a SQL password?
                          [/quote]

                          I have one system with and one without a mysql password set. I get the same results either way. Can I just ask you to confirm that you are multicasting to more than one machine in a group. I can multicast with a single group member but not with 2 or more. In my case it looks like the problem is with udpcast itself not fog.

                          1 Reply Last reply Reply Quote 0
                          • T
                            t.mayer
                            last edited by Jul 14, 2014, 11:20 AM

                            I have the same multicast-problem with Version 1.1.2 of fog.
                            OS: Debian 7.5 x64 on ESXI 5.5
                            Before that everything was working perfekt with Version 0.32 of FOG and x86-Linux.
                            Is it possible that it has to do something with the 32-to-64-Bit change of the OS?

                            1 Reply Last reply Reply Quote 0
                            • I
                              ianabc Testers
                              last edited by Jul 15, 2014, 4:26 AM

                              OK, in my case the problem is fixed and it was my network (sigh…:). The short story is, I should have started testing at the most basic level by trying to transfer anything by multicast, I’ve found omping and udpcast useful in doing this. If someone has a good understanding of multicast I think some debugging examples for using udpcast or omping would be a nice addition to the wiki.

                              Now for the long answer…

                              My test setup uses a KVM/QMEU network along with 3 KVM guests: One fog server and two client machines. All the guests are networked together on 192.168.222.0/24 which is NATed to give access to the outside world. The NATing is done by iptables on the KVM host via libvirt and has a PREROUTING chain which looks like
                              [CODE]
                              $ iptables -t nat -nL
                              …
                              RETURN all – 192.168.222.0/24 224.0.0.0/24
                              RETURN all – 192.168.222.0/24 255.255.255.255
                              MASQUERADE tcp – 192.168.222.0/24 !192.168.222.0/24 masq ports: 1024-65535
                              MASQUERADE udp – 192.168.222.0/24 !192.168.222.0/24 masq ports: 1024-65535

                              MASQUERADE  all  --  192.168.222.0/24    !192.168.222.0/24   
                              

                              [/CODE]
                              The problem is the first of those lines, which applies only to 224.0.0.0/24, when I want it to include all mutlciast addresses 224.0.0.0/4. Making this change allows omping, udpcast and [I]of course[/I] fog to use multicast without the hanging problem!

                              1 Reply Last reply Reply Quote 0
                              • B
                                BullDozer
                                last edited by Jul 16, 2014, 6:05 PM

                                I just did another clean install of Ubuntu Desktop 13.10, with FOG 1.1.2. I made sure that I did not set a MYSQL password.
                                I still cannot multicast.

                                [07-16-14 4:59:22 pm] * No tasks found!
                                [07-16-14 4:59:32 pm] | Task (1) Multi is new!
                                [07-16-14 4:59:32 pm] | Task (1) /images/163QAIfinalRev5 image file found.
                                [07-16-14 4:59:32 pm] | Task (1) 3 client(s) found.
                                [07-16-14 4:59:32 pm] | Task (1) Multi sending on base port: 63100
                                [07-16-14 4:59:32 pm] CMD: cat “/images/163QAIfinalRev5”|/usr/local/sbin/udp-sender --min-receivers 3 --portbase 63100 --interface eth0 --full-duplex --ttl 32 --nokbd;
                                [07-16-14 4:59:32 pm] | Task (1) Multi has started.
                                [07-16-14 4:59:42 pm] | Task (1) Multi is no longer running.
                                [07-16-14 4:59:52 pm] | Task (1) Multi is no longer running.

                                I have deleted the items from the table and restarted the services and nada.
                                I can single download and upload without issue.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  ianabc Testers
                                  last edited by Jul 16, 2014, 8:07 PM

                                  I found it useful to start debugging with omping and udpcast directly before trying to debug fog - it means you get instant answers, you don’t have to wait for a client to reboot.

                                  If you can install omping somewhere (like a spare linux client), then you can try
                                  [CODE]
                                  fog-server$ omping FOG.CLIENT.IP FOG.SERVER.IP
                                  …

                                  fog-client$ omping FOG.SERVER.IP FOG.CLIENT.IP
                                  [/CODE]
                                  On my system I see output on the fog server similar to
                                  [CODE]
                                  192.168.222.102 : multicast, seq=37, size=69 bytes, dist=0, time=0.437ms
                                  192.168.222.102 : unicast, seq=38, size=69 bytes, dist=0, time=0.482ms
                                  192.168.222.102 : multicast, seq=38, size=69 bytes, dist=0, time=0.495ms
                                  192.168.222.102 : unicast, seq=39, size=69 bytes, dist=0, time=0.485ms
                                  192.168.222.102 : multicast, seq=39, size=69 bytes, dist=0, time=0.499ms
                                  192.168.222.102 : unicast, seq=40, size=69 bytes, dist=0, time=0.274ms
                                  192.168.222.102 : multicast, seq=40, size=69 bytes, dist=0, time=0.291ms
                                  192.168.222.102 : unicast, seq=41, size=69 bytes, dist=0, time=0.446ms

                                  192.168.222.102 : multicast, seq=41, size=69 bytes, dist=0, time=0.455ms
                                  [/CODE]
                                  When multicast is working. When it isn’t working I only see the unicast responses.

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    ianabc Testers
                                    last edited by Jul 16, 2014, 8:28 PM

                                    Also, I just noticed that I can test multicast with the plain vanilla ping command as long as icmp_echo_ignore_broadcasts is set to 0, e.g.
                                    [CODE]
                                    fog-server$ echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
                                    fog-client$ echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts

                                    fog-server$ ping -c 5 224.0.0.1
                                    PING 224.0.0.1 (224.0.0.1) 56(84) bytes of data.
                                    64 bytes from 192.168.222.100: icmp_seq=1 ttl=64 time=0.044 ms
                                    64 bytes from 192.168.222.102: icmp_seq=1 ttl=64 time=0.393 ms (DUP!)
                                    64 bytes from 192.168.222.100: icmp_seq=2 ttl=64 time=0.043 ms
                                    64 bytes from 192.168.222.102: icmp_seq=2 ttl=64 time=0.414 ms (DUP!)
                                    64 bytes from 192.168.222.100: icmp_seq=3 ttl=64 time=0.041 ms
                                    64 bytes from 192.168.222.102: icmp_seq=3 ttl=64 time=0.402 ms (DUP!)
                                    64 bytes from 192.168.222.100: icmp_seq=4 ttl=64 time=0.042 ms
                                    64 bytes from 192.168.222.102: icmp_seq=4 ttl=64 time=0.424 ms (DUP!)
                                    64 bytes from 192.168.222.100: icmp_seq=5 ttl=64 time=0.036 ms

                                    --- 224.0.0.1 ping statistics ---
                                    5 packets transmitted, 5 received, +4 duplicates, 0% packet loss, time 3999ms
                                    
                                    rtt min/avg/max/mdev = 0.036/0.204/0.424/0.182 ms
                                    

                                    [/CODE]
                                    On a network that doesn’t permit multicast, the same thing gives me
                                    [CODE]

                                    fog-server$ ping -c 5 224.0.0.1
                                    PING 224.0.0.1 (224.0.0.1) 56(84) bytes of data.
                                    64 bytes from 192.168.222.100: icmp_seq=1 ttl=64 time=0.046 ms
                                    64 bytes from 192.168.222.100: icmp_seq=2 ttl=64 time=0.041 ms
                                    64 bytes from 192.168.222.100: icmp_seq=3 ttl=64 time=0.044 ms
                                    64 bytes from 192.168.222.100: icmp_seq=4 ttl=64 time=0.040 ms
                                    64 bytes from 192.168.222.100: icmp_seq=5 ttl=64 time=0.042 ms

                                    --- 224.0.0.1 ping statistics ---
                                    5 packets transmitted, 5 received, 0% packet loss, time 3999ms
                                    rtt min/avg/max/mdev = 0.040/0.042/0.046/0.007 ms
                                    

                                    [/CODE]
                                    i.e. Only the machine sending the pings responds, the client never sees them.

                                    [B]N.B. I should also point out that I have basically no idea what I’m doing when it comes to multicast so YMMV :-)[/B]

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      t.mayer
                                      last edited by Jul 17, 2014, 5:41 PM

                                      I tried with fog 1.1.2 and debian 7.6 as well as with ubuntu 12.04.

                                      Uploading works.
                                      Downloading works with a single win-8-client (it hangs after the clone-process, but thats another story i guess).
                                      Multicast hangs at “Starting to restore image (-) to device (/dev/sda1)”.

                                      On the same hardware with fog 0.32 and ubuntu 12.04 multicast works like a charm.

                                      Any ideas?
                                      Greeds!

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        ianabc Testers
                                        last edited by Jul 17, 2014, 5:47 PM

                                        t.mayer: Could you try the omping commands above just to confirm that multicast routing is working for you.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          t.mayer
                                          last edited by Jul 17, 2014, 5:54 PM

                                          [quote=“ianabc, post: 33453, member: 24548”]t.mayer: Could you try the omping commands above just to confirm that multicast routing is working for you.[/quote]
                                          Thanks for the answer ianabc!

                                          I have to be honest: I dont understand the omping-thing…
                                          Isn’t it evidence enough, that it works with fog 0.32?
                                          Can you explaing me in wich state client and server have to be to do the omping?

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 2 / 5
                                          • First post
                                            Last post

                                          181

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project