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

    Failed to obtain lease on eth0 after ugrading to Fog 1.3.0

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    8
    55
    19.6k
    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.
    • A
      asbenavides
      last edited by

      Hello,
      im having trouble obtaining an address lease when im uploading the image. I fresh installed the Ubuntu and installed Fog 1.3.0

      it was working before with the old version of Fog 1.2.0 so im guessing its not my network.

      Some advice will be helpful thanks in advance

      A 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        This issue could be in many spots. So we know exactly where, can you post a photo of the issue please? We would need this to help better. Otherwise we would just be guessing.

        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
        • A
          asbenavides
          last edited by

          0_1472151040894_Untitled-1.jpg

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @asbenavides
            last edited by Wayne Workman

            @asbenavides Get a mini-switch that is a un-managed dumb switch - place it between the computer and the building. 2 patch cables, 1 from the computer to the mini-switch, 1 from the mini-switch to the building. Try to image. If it works, this means PortFast is turned off for the port you were previously trying to image from.

            Also, what kernel does your fog server say it has? Look in the web interface -> FOG Configuration.

            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/

            A 1 Reply Last reply Reply Quote 0
            • A
              asbenavides @Wayne Workman
              last edited by

              @Wayne-Workman it says it has kernel 4.7.0 before the one I mentioned it was the 4.7.1 so basically i downgraded to 4.7.0

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @asbenavides
                last edited by

                @asbenavides Why did you downgrade? Please try 4.7.1 without the mini-switch.

                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/

                A 1 Reply Last reply Reply Quote 0
                • A
                  asbenavides @Wayne Workman
                  last edited by

                  @Wayne-Workman it was giving me the same error i already have the network setup like you advice me

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @asbenavides
                    last edited by

                    @asbenavides How is the network setup? Are you using a mini-switch?

                    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/

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      asbenavides @Wayne Workman
                      last edited by

                      @Wayne-Workman my setup is as follow main mdf, mini-switch, then PC

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @asbenavides
                        last edited by

                        @asbenavides Can you try Kernel - 4.3.0 TomElliott - (x86_64) please? Use the kernel update feature. Details on using it are here:
                        https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update

                        If that doesn’t work, try 4.1 next.

                        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/

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          asbenavides @Wayne Workman
                          last edited by

                          @Wayne-Workman no luck with 4.3.0 or 4.1

                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @asbenavides
                            last edited by Wayne Workman

                            @asbenavides According to this thread:
                            https://forums.fogproject.org/topic/5886/what-was-default-kernel-in-fog-1-2-0/2
                            the default kernel for 1.2.0 was 3.15.6. Can you try that? If that doesn’t work, I’ll have to defer to either George, Sebastian, or Tom.

                            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/

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              asbenavides @Wayne Workman
                              last edited by

                              @Wayne-Workman im going to reformat and reinstall 1.2.0 all over again maybe something got corrupted. Ill try your recommendations once its up and running

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @asbenavides
                                last edited by

                                @asbenavides As a side note, if you are intending to re-install 1.3.0 RC, you don’t need to start with 1.2.0. You can just go straight to 1.3

                                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/

                                A 1 Reply Last reply Reply Quote 0
                                • george1421G
                                  george1421 Moderator
                                  last edited by

                                  This issue reminds me of a spanning tree issue where the target computer gets an IP address for iPXE but then in the FOS engine it can’t pick up an IP address. This is because spanning tree take 27 seconds to start forwarding data, since the FOS engine is so fast it has already given up by the time the network switch starts forwarding data. Wayne’s recommendation to use a mini (dumb) switch will typically improve your chances of getting an IP address since the building switch port never winks (momentarily turns off and back on) net network link as the FOS kernel takes over the management of the nic adapter. Most enterprise switches have a fast start mode for spanning tree called (portfast, fast-stp, rstp, and a few other names) that is typically turned on for access switch ports.

                                  The other possibility here is that the network adapter is not supported by the FOS engine, in this case the nic will never initialize. I quickly looked through the thread but I didn’t see any mention of the target computer you are tying to boot. What device is this? Is it a physical (on-board) nic or a usb network adapter?

                                  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!

                                  A 1 Reply Last reply Reply Quote 1
                                  • A
                                    asbenavides @george1421
                                    last edited by

                                    @george1421 its a Dell Optiplex 745 small form factor with integrated nic.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      BedCruncher
                                      last edited by

                                      @asbenavides
                                      If it might be a NIC issue, then I would try using a USB Nic, you might still be able to PXE boot from it and rule that part out.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        asbenavides @Wayne Workman
                                        last edited by

                                        @Wayne-Workman I’ve already reinstalled and reformat computer and im getting the same issues…is there any special configs that need to be done to the switch. It worked alright with 1.2.0 but after upgrading to 1.3.0 its doing the same issue…is there any setting in the Fog that can be moved for it to keep the ip address request longer? It just takes a little bit longer

                                        george1421G 1 Reply Last reply Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @asbenavides
                                          last edited by

                                          @asbenavides On a single port where you have the device connected. Can you ensure that spanning tree is turned off? I don’t usually recommend this because if forgotten can turn into a nightmare if someone creates a loopback with it. But we need to identify if this is a spanning tree issue.

                                          That o745 has a very common nic so that should not be a problem. When FOG 1.3.0 is installed you also get the latest kernels and inits for the FOS engine (the software that captures and deploys images to the target computer). The FOS engine is failing to detect an IP address.

                                          First see if you can disable spanning tree protocol on that specific switch port. Also ensure that any green ethernet functions (802.1az) are disabled on that switch port too. Then pxe boot the fos engine again.

                                          If that doesn’t work manually register the host in the FOG console, then schedule a debug capture. Don’t worry we are not going to upload anything. What this will do is drop you to a command prompt on the target computer. From there we can run some debugging commands to try to understand why this system is going sideways.

                                          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!

                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            asbenavides @george1421
                                            last edited by

                                            @george1421 yeah all the ports here at the school district have the spanning tree enabled…that is going to be the issue its not giving the enough time to receive an ip address. Is there a way to tell fog to wait little bit more longer

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

                                            156

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project