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

    Host keeps rebooting in PXE after registration

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    7
    3.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.
    • M
      Mathew Burnett
      last edited by

      Hi everyone!

      I setup Fog 1.2.0 on Ubuntu 12.04, and it seemed to be working correctly. I was able to get a VM (Oracle Box) to correctly pxe boot, and performed host registration. Fog said it succeeded, and I can see the Host added in the Fog Management console if I go to Hosts with correct image etc.

      However, after that the VM reboots, it starts to go into PXE boot, and then just restarts. There’s no error message, and no tasks running against it, but no matter what it keeps restarting during PXE boot before I even see the FOG menu. The VM just sticks in this loop on PXE boot.

      I tried setting up FOG from scratch again, and the same thing happened. I tried a different VM with the same results - the host registration succeeds but then keeps restarting after PXE. I’ve even tried creating a task in FOG for the host but same thing happens - restart.

      Anyone seen this happen before or know where I should be looking?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        This usually means the system is failing to get dhcp. Can you power down the system completely then power it back on?

        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

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

          What happens when you set the boot priority to HDD first and network second?

          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
          • M
            Mathew Burnett
            last edited by

            Restarted the system and the DHCP and TFTP services manually, and it looks like its working now. Weird that it keeps happening after I register a host. I’ll try to register Host1 and then Host2 and see if that works. But an image is uploadng right now as expected. Thanks for the help!

            1 Reply Last reply Reply Quote 0
            • M
              Mathew Burnett
              last edited by

              Another update to this. I was able to pull an image from a VM successfully, and then the VM starts rebooting in PXE again. I started another VM, and that one got tot he Fog Boot Menu correctly, even though the original one keeps rebooting. It seems after FOG does something with it (registers it, or pulls an image etc) it just keeps rebooting in PXE for some reason. Only way I know to fix it is to restart the FOG server. I tried restarting TFTP and DHCP and that does NOT resolve it.

              I tried what Wayne mentioned and set HD to boot as first device, and hit F12 and choose PXE instead. Now the VM that had something done on it has the error /default.ipxe…Connection time out however other VM’s get to the FOG boot menu fine until I run something there (REgister a host, or something to that affect).

              It’s really strange…

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

                How did you configure network settings for your VMs? host-only, bridged, …?

                Is FOG running as a VM too or on the host system? If you are keen enough try capturing the network traffic using wireshark while the loop is going on. Share the PCAP file and we might be able to find the cause.

                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
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  So let me get this straight, the only “PXE Reboots after…” is happening on the VirtualBox VM?

                  I am aware of issues with Virtual Box, specifically, and the only fix that I found (if you’re using undionly) is to do a power off, then power on. The other, more appropriate, fix is to use ipxe.pxe file rather than the undionly, but i also know that not all Physical systems will work with the ipxe.pxe.

                  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

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

                  150

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project