Fog 1.5.0 Storage Node Problems with PXE booting?
-
@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.
-
@greg-plamondon I see
30fogserver
in the console output and10fogserver
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*
-
@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! -
I updated the inits and I the problem persists.
-
@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.
-
@sebastian-roth
Here is a new video -
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.
-
@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*
-
@sebastian-roth
The kernel panics with Kernel too old.
Video -
@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.
-
@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?
-
@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?
-
@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.