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

    Fog 1.5.0 Storage Node Problems with PXE booting?

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    20 Posts 4 Posters 3.5k Views
    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.
    • Greg PlamondonG
      Greg Plamondon Testers @Sebastian Roth
      last edited by Greg Plamondon

      @sebastian-roth said in Fog 1.5.0 Storage Node Problems with PXE booting?:

      DHCP! Tried on interface(s): eth0” is a bit misleading. Behind the scenes the client tries to reach out to the FOG server via HTTP/S and fails with that same message. But w

      Thaks for the reply, the exit works fine, the client in question doesn’t have an OS installed. I think that’s why we are seeing that.
      I will look into the apache logs on the server and see what I can find. but I have noticed that some client from time to time take a second attempt at PXE booting to initiate the scheduled task.

      here is the git log -1 output for the storage node.

      [root@30fogserver fogproject]# git log -1
      commit e7164d0f844e2ad47d16e587f441e1c0e9f28d4a
      Author: Tom Elliott <tommygunsster@xxxxx.com>
      Date:   Mon Feb 26 13:48:02 2018 -0500
      
          Push up 1.5.0
      [root@30fogserver fogproject]#
      
      1 Reply Last reply Reply Quote 0
      • Greg PlamondonG
        Greg Plamondon Testers @Sebastian Roth
        last edited by

        @sebastian-roth

        I dont know if this has anything to do with my current issues… but every now and then when accessing different menu options on the fogserver i get this:
        alt text

        If i refresh the page it takes me back to the fogserver console page…

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

          @greg-plamondon Hint: When you get the http 500 errors, inspect your apache error log file so see if apache or php threw an 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!

          1 Reply Last reply Reply Quote 1
          • S
            Sebastian Roth Moderator
            last edited by

            @greg-plamondon I see 30fogserver in the console output and 10fogserver in your browser window. Sure you don’t mix up things? Which is which?

            The message "Failed to get an IP via DHCP! Tried on interface(s): eth0” points to the init files (/var/www/fog/service/ipxe/init*) possibly being old although the node was installed with FOG 1.5.0. I remember @Tom-Elliott saying that some kernel images didn’t update when pushing out 1.5.0. Possibly that was the case for the inits as well. It’s fixed for the kernels and so you might try downloading the latest init binaries again:

            sudo -i
            cd /var/www/fog/service/ipxe/
            mv init.xz init.xz.bak
            mv init_32.xz init_32.xz.bak
            wget https://fogproject.org/inits/init.xz
            wget https://fogproject.org/inits/init_32.xz
            chown fog init*
            

            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

            Greg PlamondonG 2 Replies Last reply Reply Quote 0
            • Greg PlamondonG
              Greg Plamondon Testers @Sebastian Roth
              last edited by Greg Plamondon

              @sebastian-roth said in Fog 1.5.0 Storage Node Problems with PXE booting?:

              10fogserver

              Sorry i should have been more clear… the 10fogserver is management, 30fogserver is the node we are having issues with.
              I was only mentioning the browser issue because I thought it may be causing the PXE problem.

              I will try the new init files and update.
              Thanks!

              1 Reply Last reply Reply Quote 0
              • Greg PlamondonG
                Greg Plamondon Testers @Sebastian Roth
                last edited by

                @sebastian-roth

                I updated the inits and I the problem persists.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @Greg-Plamondon Do you still see the exact same error message?? Please post a picture of the screen when it boots into FOS and tries to get an IP three times in a row.

                  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

                  Greg PlamondonG 1 Reply Last reply Reply Quote 0
                  • Greg PlamondonG
                    Greg Plamondon Testers @Sebastian Roth
                    last edited by

                    @sebastian-roth
                    Here is a new video

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

                      At the point where it tries three times. It looks like its picking up an IP address. Where it appears to be failing (hint: we need to get a few extra echo statements in there to say trying to contact the fog server at IP address xxxx) is to contact the FOG server to prove it has a path. Now I don’t know if its the storage node it tries to connect to or the master FOG server. But I feel at this point its failing to communicate, so it tries 3 times and gives up.

                      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
                        last edited by

                        @Greg-Plamondon Thanks for the video! Again I see the message "Failed to get an IP via DHCP! Tried on interface(s): eth0” which is not what I’d expect with the current init files. I just downloaded and extracted the init.xz file and it surely has the current message “Either DHCP failed or we were unable to access ${web}/index.php for connection testing.” in it!

                        So please follow these steps:

                        sudo -i
                        cd /var/www/fog/service/ipxe/
                        mv init.xz init.xz.bak
                        mv init_32.xz init_32.xz.bak
                        wget https://fogproject.org/inits/init.xz
                        wget https://fogproject.org/inits/init_32.xz
                        chown fog init*
                        

                        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

                        Greg PlamondonG 1 Reply Last reply Reply Quote 0
                        • Greg PlamondonG
                          Greg Plamondon Testers @Sebastian Roth
                          last edited by Greg Plamondon

                          @sebastian-roth
                          The kernel panics with Kernel too old.
                          Video

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @Greg-Plamondon Sorry for the long delay. You want to update the kernel images as well. Similar commands but download URL is https://fogproject.org/kernels/bzImage

                            Typing on my mobile here so this is from the top of my head. Will check and add the full command set soon.

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

                              @Greg-Plamondon Here you go:

                              sudo -i
                              cd /var/www/fog/service/ipxe/
                              mv bzImage bzImage.bak
                              mv bzImage32 bzImage32.bak
                              wget https://fogproject.org/kernels/bzImage
                              wget https://fogproject.org/kernels/bzImage32
                              chown fog bzImage*
                              

                              But I am still wondering about the version of FOG. Somehow feels like there is something wrong?! Maybe delete and re-clone the git repo?

                              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

                              Greg PlamondonG 1 Reply Last reply Reply Quote 0
                              • Greg PlamondonG
                                Greg Plamondon Testers @Sebastian Roth
                                last edited by

                                @sebastian-roth
                                Here is a new VIDEO with the new kernels and inits.

                                Just so I am clear what is the git repository link I should be using?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by

                                  @Greg-Plamondon The new video is interesting as is seems to show that it finds the interface eth0 but is not able to bring it up within 35 seconds. What kind of client model is this? Are you able to FOS boot this very same machine at a different location? I kind of doubt but what do I know. 😉

                                  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
                                  • 1 / 1
                                  • First post
                                    Last post

                                  161

                                  Online

                                  12.3k

                                  Users

                                  17.4k

                                  Topics

                                  155.6k

                                  Posts
                                  Copyright © 2012-2025 FOG Project