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

2 NIC in host problem (loops at sending discovery...)

Scheduled Pinned Locked Moved Solved
FOG Problems
4
13
5.0k
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.
  • K
    Knut
    last edited by Knut Jun 10, 2015, 1:42 AM Jun 10, 2015, 7:40 AM

    Currently I am setting up FOG in a lab environment.
    I am not very experienced with most services FOG runs on but I am going along fine.
    Everything is going all right, I can use FOG with most hosts perfectly as expected.

    However there is an issue with specific hosts containing 2 network cards when trying to register them. I can boot to the PXE menu just fine with those hosts, no issues. But whenever I try to do a full registration it keeps looping in “Sending discovery…” for a very long time.

    The hosts are connected to 2 separate networks.
    Network number 1 contains FOG server, DHCP and a connection to the internet.
    Network number 2 is a closed of network without a DHCP (IP addresses are assigned static).
    See my crude quick network drawing for visual representation of relevant parts.NW drawing.png

    I have found 2 workarounds for this issue which might be able to determine the issue.
    1.) Disconnect the cable from the host in Network 2 before booting.
    2.) Temporarily connect the switches in Network 2 and Network 1 (where FOG and DHCP servers reside).

    When I perform the workaround to register them the issue still persists when trying to run image tasks. But as you can see this workaround is not really desirable.

    It seems that both of the network adapters need an IP and/or connection to the FOG server. I think this issue can be solved by removing the check for NIC 2 but I don’t have the knowledge to fix this. If anyone could point me in the correct direction I would be very thankful.

    I am currently running FOG SVN 3508 on a hardware server.

    C 1 Reply Last reply Jun 10, 2015, 8:13 AM Reply Quote 0
    • C
      ch3i Moderator @Knut
      last edited by Jun 10, 2015, 8:13 AM

      @Knut

      Hi,

      I’ve the same configuration in my school without problem. You have the problem only in full registration ?

      Regards,
      Ch3i.

      1 Reply Last reply Reply Quote 0
      • K
        Knut
        last edited by Jun 10, 2015, 8:24 AM

        No, this issue persists also when downloading or uploading an image if I register the computer either manually or via the workarounds I mentioned. I can also use the workarounds for imaging tasks.

        What is weird is that if I just let it loop for a while (like 15 minutes) it sometimes ends up in the registration screen but other times it does not (did not try it with imaging). But if I use one of the workarounds it works as expected.

        Thanks for your input, regards.

        C 1 Reply Last reply Jun 11, 2015, 5:16 PM Reply Quote 0
        • C
          cspence Developer
          last edited by Jun 11, 2015, 3:01 PM

          Noting this forum post on the git repo issues. I’ll take a closer look at how networking is handled. It would be good for us to handle multiple NICs more gracefully.

          Thanks for reporting.

          1 Reply Last reply Reply Quote 1
          • C
            ch3i Moderator @Knut
            last edited by Jun 11, 2015, 5:16 PM

            @Knut Hi, sorry for the late answer… could you upload or download as a debug task. Just check debug after select upload or download.

            1 Reply Last reply Reply Quote 1
            • C
              cspence Developer
              last edited by cspence Jun 11, 2015, 6:12 PM Jun 12, 2015, 12:12 AM

              I just pushed up a potential adjustment as commit 03c9451 on git. @Tom-Elliott is in the process of fixing a nasty bug on the portal. As soon as he finishes that, he’ll be able to get you an SVN to test out.

              1 Reply Last reply Reply Quote 0
              • K
                Knut
                last edited by Knut Jun 12, 2015, 3:22 AM Jun 12, 2015, 9:15 AM

                I did some more troubleshooting with @ch3i and we pretty closely determined the issue.

                @cspence , I hope this provides sufficient information to fix this bug correctly.

                NIC 1 (Network 1) has access to DHCP and the FOG server.
                NIC 2 (Network 2) is completely isolated there is NO DHCP service.

                When trying to run a task it loops into “Sending discover…”

                The second card has no access to an IP whatsoever. (they are assigned static afterwards)
                I set up a temporary DHCP server on Network 2 this completely solves the issue.
                Network 1 and Network 2 have different network addresses.

                So the issue seems that the host needs an IP address on all active interfaces or else the task loops at “Sending discover…”.
                It is desirable for our set-up to not have a DHCP running on the second network, there isn’t much on this network anyway.

                Thanks to you both for your support.

                W 1 Reply Last reply Jun 12, 2015, 12:23 PM Reply Quote 1
                • W
                  Wayne Workman @Knut
                  last edited by Jun 12, 2015, 12:23 PM

                  @Knut That is definitely an edge case…

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  C 1 Reply Last reply Jun 12, 2015, 2:42 PM Reply Quote 0
                  • C
                    cspence Developer @Wayne Workman
                    last edited by Jun 12, 2015, 2:42 PM

                    I received word that the init images have been updated. A reinstall of the latest SVN will fix this problem.

                    I still highly suggest waiting for the next SVN to be released though. The bug that @Tom-Elliott is working on affects multiple NIC setups.

                    1 Reply Last reply Reply Quote 0
                    • K
                      Knut
                      last edited by Jun 15, 2015, 8:00 AM

                      I just tested SVN 3553 on a different server, from what I can tell the issue seems to be solved for this set-up.
                      @cspence just to be sure, what SVN number can be considered the next SVN?

                      Really glad to see FOG is so actively maintained, thanks everyone!

                      W 1 Reply Last reply Jun 15, 2015, 12:22 PM Reply Quote 2
                      • W
                        Wayne Workman @Knut
                        last edited by Jun 15, 2015, 12:22 PM

                        @Knut

                        I think 3554 was pushed this morning.

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • C
                          cspence Developer
                          last edited by Jun 15, 2015, 1:53 PM

                          The change that fixed the excessive DHCP timeouts was 3541. This may not be the most stable commit, but anything after that point will have it fixed.

                          1 Reply Last reply Reply Quote 0
                          • W
                            Wayne Workman
                            last edited by Oct 16, 2015, 3:19 AM

                            Providing a link in this thread for future readers to a similar problem on a later revision: https://forums.fogproject.org/topic/5928/r4930-fedora-21-unable-to-ignore-mac-for-imaging

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            239

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.3k

                            Posts
                            Copyright © 2012-2024 FOG Project