PXE boot issue <video included>
-
Hey so now that I have my shiny new trunk install of FOG running, I ran into a chainloading issue. I have a video link for the system booting PXE: https://drive.google.com/open?id=0Bykgcf4jRmVeaFNnMDJwLVZYNFU
Here is a screenshot of the final error message (after I set the pause to 10 seconds over 3, heh): https://drive.google.com/file/d/0Bykgcf4jRmVeQjB5eXFBYkt3dm8/view?usp=sharing
The error message reads:
tftp://10.10.2.18/default.ipxe… ok
http://10.10.2.18service/ipxe/boot.php… Error 0x3e11613b (http://ipxe.org/3e11613b)
Could not boot: Error 0x3e11613b (http://ipxe.org/3e11613b)
Chainloading failed, hit ‘s’ for the iPXE shell; reboot in 10 seconds -
If I go to the iPXE shell and run:
chain http://ip.fog.server/fog/service/ipxe/boot.php
it will continue and load normally. So i think the path is wrong, where can I change that? In FOG config? -
I can’t seem to access the google docs, but if your error message is accurage you have an issue with your fog server settings
http://10.10.2.18service/ipxe/boot.php is wrong
it should be
http://10.10.2.18/fog/service/ipxe/boot.php -
@Chris-Shipley Look at the storage settings for your fog master node. There should be a web path there.
-
@george1421 I’m pretty sure that’s a result of the URL being too long for the amount of characters available and it didn’t put it in right. I could be wrong, though. In any event, the storage area didn’t have any folders for iPXE. the TFTP server settings area has a location /var/www/html/fog/service/ipxe/ for PXE kernel location, but when i changed it to just fog/service/ipxe/ there was no difference in behavior.
-
http://10.10.2.18service/ipxe/boot.php
That is literally missing the web root, as George said.
Storage node settings probably missing it.
-
OK, so if someone can tell me where the PXE subsystem system chooses how to run “chain http://10.10.2.18/fog/service/ipxe/boot.php” then I can update the installation so I don’t have to do this manually.
-
@Chris-Shipley
web interface -> storage management -> [click node] -> web root
And also:
web interface -> fog configuration -> fog settings -> web server -> web root
-
@Chris-Shipley said in PXE boot issue <video included>:
OK, so if someone can tell me where the PXE subsystem system chooses how to run “chain http://10.10.2.18/fog/service/ipxe/boot.php” then I can update the installation so I don’t have to do this manually.
OK, my intuition is telling me something else is going on here. Why do you keep mentioning the
chain
command?Fog has two places where you set the web path in the management gui as Wayne pointed out.
-
@george1421 I think he’s referring to it pointing at a bad address?
The IP Address used to build the default.ipxe file is located in
/opt/fog/.fogsettings
underipaddress=#.#.#.#
Change this and rerun the installer, and it should correct the default.ipxe file for you.
-
I’ll take a look there, but it appears that the IP address is fine, but the path might not be.
-
@Tom-Elliott The IP address is fine. Its when the system gets to the chain command in PXE that it breaks. It isn’t loading the chain command correctly. This is a vanilla fresh git trunk install on Centos 7.
-
@Chris-Shipley Do me a favor and edit your “/opt/fog/.fogsettings” file. Look for the webroot.
Set it to:
webroot="/fog/"
Rerun the installer please.
-
@Wayne-Workman Apologies, I’m new to this forum and didn’t realize I’d had other replies below the ones I was responding to. Both of these settings are correct, but thank you for alerting me.
-
@Tom-Elliott That did the trick, thank you.