• 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.8k
    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.
    • george1421G
      george1421 Moderator @asbenavides
      last edited by

      @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 Reply Quote 1
      • A
        asbenavides @george1421
        last edited by

        @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

          @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

            @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 Reply Quote 0
            • A
              asbenavides @Sebastian Roth
              last edited by

              @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 Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                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 Reply Quote 0
                • A
                  asbenavides @Wayne Workman
                  last edited by

                  @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

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

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

                      @asbenavides Is the DefautMember marked as master? Also, check and see if the image is set to the Default group ? Image Management -> List all images -> click the image -> Storage Group. Is the default group there? Is it marked as primary or not? I’m not asking you to change anything, I’m just gathering info. What is your maximum clients set to? Storage Management -> click DefaultMember -> Maximum clients. Are there other pending image deployments in Task Management?

                      Also, can you post a picture of the error?

                      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/

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

                        @Wayne-Workman OK to state where we are (still not happy but…)

                        We’ve got past the pxe booting and are now at the exit mode for uefi

                        I would like you to unhide the FOG iPXE menu for a few tests. I want to ensure that you can make menu selections and have the target system function correctly. What I’m interested in is the compatibility test, check for both network and storage media. I also want to ensure that you can register a target computer using the ipxe menu. If you can do that then the target and fog communications are working well.

                        The part I think is failing is the exit mode for these devices to boot from the devices internal media. But lets take one step at a time and test each bit then work on the exit modes (usually what causes the most pain once you get the FOG iPXE menu to display).

                        OK scratch that, I missed the post with the error about the storage node.

                        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
                        • S
                          Sebastian Roth Moderator @asbenavides
                          last edited by

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

                          "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

                          I think it’s best if you double check those storage node settings. Looking at the code I don’t really see why this is going wrong. Best if you can upload some pictures of the settings in the web gui so we can all check and find the issue.

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

                            @asbenavides 0_1472648008251_StorageNode.PNG

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

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

                              @asbenavides 0_1472648008251_StorageNode.PNG

                              @Sebastian-Roth

                              Q 1 Reply Last reply Reply Quote 0
                              • Q
                                Quazz Moderator @asbenavides
                                last edited by

                                @asbenavides I can already tell that your storage node password is set to password

                                In other words, it’s almost certainly configured incorrectly.

                                Please set the password to the one found in /opt/fog/.fogsettings

                                A 3 Replies Last reply Reply Quote 1
                                • A
                                  asbenavides @Quazz
                                  last edited by

                                  @Quazz okk i changed the password and image uploaded but when it was finalizing it says “Updating Database…FAILED”

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

                                    @Quazz this is what i found under the IMAGES folder in the image was supposed to be named “windows10testing” and it placed the laptop lan mac address as the image name on the folder? how was that possible

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

                                      @Quazz 0_1472653752918_imagemanagement.PNG

                                      1 Reply Last reply Reply Quote 0
                                      • Q
                                        Quazz Moderator @asbenavides
                                        last edited by

                                        @asbenavides This still indicates a FTP password problem. There are likely other places you need to change the password to the one in /opt/fog/.fogsettings

                                        Most likely FOG Configuration -> FOG Settings -> TFTP Server

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

                                          If you rerun the fog installer, it will actually correct the password issue. This feature was added because people have difficulty with the passwords.

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

                                            @Quazz I changed the password in the tftp settings and im still getting the error 0_1472656360381_dberror.jpg

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

                                            156

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project