• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.7k
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.
  • G
    george1421 Moderator @asbenavides
    last edited by Aug 26, 2016, 7:06 PM

    @asbenavides Whats really at issue is that you MUST enable one of the fast spanning tree protocols for the access ports. BUT right now we need to determine if spanning tree is the issue.

    FWIW When a port transitions from no link to link up, with spanning tree on (and not fast stp enabled) the switch will listen on the port for 27 seconds to listen for other switch announcements. After 27 seconds the switch will start forwarding data. If you watch the FOS engine boot, its checking for a network connection in about 4 seconds.

    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 Aug 26, 2016, 7:57 PM Reply Quote 0
    • A
      asbenavides @george1421
      last edited by Aug 26, 2016, 7:57 PM

      @george1421 disabled the spanning tree on that port and still no luck

      G 1 Reply Last reply Aug 26, 2016, 8:26 PM Reply Quote 0
      • G
        george1421 Moderator @asbenavides
        last edited by Aug 26, 2016, 8:26 PM

        @asbenavides well that’s interesting in that it blew my current train of thought. OK so I guess the next bit is as I suggested register a host and then schedule a debug deployment. Hopefully it will drop you to a command prompt on the target computer.

        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!

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Aug 27, 2016, 2:19 AM

          Is this a USB nic that’s failing in this way?

          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

          A 1 Reply Last reply Aug 29, 2016, 4:39 PM Reply Quote 0
          • J
            Jérôme DUTEIS
            last edited by Aug 29, 2016, 12:46 PM

            Hello

            we had the same problem yesterday …

            i just went to switch settings / Layer 2 / RSTP / settings / enable port fast status
            no more problems

            We are using Alcatel switches

            hope it helps

            best regards , J

            1 Reply Last reply Reply Quote 2
            • A
              asbenavides @Tom Elliott
              last edited by Aug 29, 2016, 4:39 PM

              @Tom-Elliott its an Onboard NIC, I’ve already tired different models and I get the same error. But its confusing because with the 1.2.0 it was working fine…all I had to do was just pause it on the second nic configuration and it will work the only difference with the new 1.3.0 I cant pause on the third nic discovery…

              W 1 Reply Last reply Aug 29, 2016, 6:08 PM Reply Quote 0
              • W
                Wayne Workman @asbenavides
                last edited by Aug 29, 2016, 6:08 PM

                @asbenavides said in Failed to obtain lease on eth0 after ugrading to Fog 1.3.0:

                all I had to do was just pause it on the second nic configuration and it will work the only difference with the new 1.3.0 I cant pause on the third nic discovery…

                How did you pause the third nic discovery in 1.2.0 ?

                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 Aug 30, 2016, 12:57 PM Reply Quote 0
                • A
                  asbenavides @Wayne Workman
                  last edited by Aug 30, 2016, 12:57 PM

                  @Wayne-Workman by pressing the pause button on the keyboard but with the fog 1.3.0 it doesn’t work anymore on the 4th nic discovery

                  G 1 Reply Last reply Aug 30, 2016, 2:42 PM Reply Quote 0
                  • G
                    george1421 Moderator @asbenavides
                    last edited by Aug 30, 2016, 2:42 PM

                    @asbenavides Just so I understand this correctly. During dhcp discovery you have been hitting the pause button to “freeze” the dhcp discovery for a bit, then when you release the pause it detects an IP address and the FOS engine continues to run as it should? And you have been doing this since 1.2.0?

                    If this IS THE CASE this condition still points to spanning tree not forwarding data right away. You MUST enable one of the fast stp protocols.

                    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!

                    W 1 Reply Last reply Aug 30, 2016, 2:46 PM Reply Quote 1
                    • W
                      Wayne Workman @george1421
                      last edited by Wayne Workman Aug 30, 2016, 8:46 AM Aug 30, 2016, 2:46 PM

                      @george1421 I was thinking the init could be modified to look for a special kernel argument that tells hosts to wait. We are having portfast issues at work too, I’ve been thinking about this a lot.

                      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/

                      G 1 Reply Last reply Aug 30, 2016, 2:51 PM Reply Quote 0
                      • G
                        george1421 Moderator @Wayne Workman
                        last edited by george1421 Aug 30, 2016, 8:53 AM Aug 30, 2016, 2:51 PM

                        @Wayne-Workman I know in the inits that the developers added the loop for the count of 4 for dhcp discovery, which I think the timing should have put it past the 27 seconds forwarding threshold. There should be two values. There should be a loop count and then a wait time you can play with. You “could” pass a kernel parameter to adjust either. It wouldn’t be that hard to extract the inits and update the code. This way if the kernel new parameter didn’t exist then the defaults would be used.

                        Just in case its not a spanning tree issue we have also seen issues with certain network adapters and green ethernet (802.1az). Typically a dumb (unmanaged) switch would mask this issue. But in the OPs case they are using a pretty old dell o745, and it doesn’t have any of the green ethernet stuff.

                        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 Aug 30, 2016, 3:50 PM Reply Quote 0
                        • A
                          asbenavides @george1421
                          last edited by Aug 30, 2016, 3:50 PM

                          @george1421 I also tried a newer dell model 7020 and its doing the same issue as well.

                          G 1 Reply Last reply Aug 30, 2016, 4:03 PM Reply Quote 0
                          • G
                            george1421 Moderator @asbenavides
                            last edited by Aug 30, 2016, 4:03 PM

                            @asbenavides said in Failed to obtain lease on eth0 after ugrading to Fog 1.3.0:

                            @george1421 I also tried a newer dell model 7020 and its doing the same issue as well.

                            That’s because I feel its a network issue (i.e. outside of FOGs control). The issue is proving its a network issue that is the tough part. Typically installing an unmanaged switch between the target computer between the target computer and the building switch will mask this issue, but it helps us point to the building switch at fault. Since all devices are doing this tells me it (the problem) is in common to all devices and all locations.

                            Another way to test is to plug the fog server and the target computer into an unmanaged switch and then plug the unmanaged switch into the building switch. Test this setup. If this works, then you will need to get a network engineer involved to look at your switch infrastructure.

                            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 2 Replies Last reply Aug 30, 2016, 4:08 PM Reply Quote 1
                            • A
                              asbenavides @george1421
                              last edited by Aug 30, 2016, 4:08 PM

                              @george1421 thanks that’s what im going to try if it works ill let you know

                              1 Reply Last reply Reply Quote 0
                              • A
                                asbenavides @george1421
                                last edited by Aug 30, 2016, 8:14 PM

                                @george1421 okk the issue for the network is solved…the network engineer enabled the spanning tree portfast trunk on the cisco switch…now the task keeps saying “Attempting to check in”…Failed?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Sebastian Roth Aug 30, 2016, 2:18 PM Aug 30, 2016, 8:17 PM

                                  @asbenavides Please check your apache error logs on your server (see my signature on where to find those). If you don’t see anything in the error log check the access log in the same directory. If you don’t see anything in either log then there is still a network issue, possibly layer 3 switch blocking HTTP?!

                                  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

                                  A 1 Reply Last reply Aug 30, 2016, 8:32 PM Reply Quote 0
                                  • A
                                    asbenavides @Sebastian Roth
                                    last edited by Aug 30, 2016, 8:32 PM

                                    @Sebastian-Roth this is what the error log says "PHP Fatale error: Call to a member function getMasterStorageNode() on null in /var/www/html/fog/lib/reg-task/taskqueue.class.php on line 28

                                    S 1 Reply Last reply Aug 31, 2016, 11:29 AM Reply Quote 0
                                    • W
                                      Wayne Workman
                                      last edited by Aug 30, 2016, 8:37 PM

                                      Possibly a db connection issue. How many fog storage nodes do you have? What’s the setup?

                                      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 2 Replies Last reply Aug 30, 2016, 8:42 PM Reply Quote 0
                                      • A
                                        asbenavides @Wayne Workman
                                        last edited by Aug 30, 2016, 8:42 PM

                                        @Wayne-Workman only one fog setup and I already verified the boot file and everything else

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          asbenavides @Wayne Workman
                                          last edited by Aug 30, 2016, 8:45 PM

                                          @Wayne-Workman and only one Storage Node called DefaultMember as it was created by installation

                                          W 1 Reply Last reply Aug 30, 2016, 9:06 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            33/55
                                            Last post

                                          210

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project