1.4.0 RC 8 pxe boot failure
-
Server
- FOG Version: 1.4.0 RC 8
- OS: Ubuntu Mate 16.04
Client
- Service Version: N/A
- OS: N/A
Description
After upgrading to 1.4.0 RC 8 from the current git master branch, pxe booting client machines fails with an I/O error on http://<fog server ip>/fog/service/ipxe/boot.php
Going to it in a web browser without args outputs a seemingly incomplete ipxe script:
#!ipxe set fog-ip [redacted] set fog-webroot fog set boot-url http://${fog-ip}/${fog-webroot}
-
@code7 please also post the tail of the apache error log. That will tell us why the ipxe menu isn’t being built correctly.
-
for the time being, please update FOG Configuration Page->FOG Settings->Web Server->FOG_WEB_HOST to match the IP address setting of your FOG Storage Node.
This was fixed and working in RC-7, but some merge reverted some of the originally implemented code. The merge didn’t show me the reverted code and I had to manually look at everything between RC-7 to my current state to re-implement the changed out code. This has been fixed for working and will be working properly for 1.4.0.
-
Here’s the error log data.
tail /var/log/apache2/error.log [Thu Apr 27 10:59:09.547276 2017] [mpm_prefork:notice] [pid 20598] AH00169: caught SIGTERM, shutting down [Thu Apr 27 10:59:20.964053 2017] [mpm_prefork:notice] [pid 22782] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2k configured -- resuming normal operations [Thu Apr 27 10:59:20.964208 2017] [core:notice] [pid 22782] AH00094: Command line: '/usr/sbin/apache2' [Thu Apr 27 11:15:50.966697 2017] [mpm_prefork:notice] [pid 22782] AH00169: caught SIGTERM, shutting down [Thu Apr 27 11:16:32.408193 2017] [mpm_prefork:notice] [pid 28368] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2k configured -- resuming normal operations [Thu Apr 27 11:16:32.408258 2017] [core:notice] [pid 28368] AH00094: Command line: '/usr/sbin/apache2' [Thu Apr 27 12:12:21.742980 2017] [php7:error] [pid 28373] [client 10.219.18.59:52195] PHP Fatal error: Uncaught Error: Call to a member function get() on boolean in /var/www/html/fog/lib/fog/bootmenu.class.php:339\nStack trace:\n#0 /var/www/html/fog/service/ipxe/boot.php(35): BootMenu->__construct(Object(Host))\n#1 {main}\n thrown in /var/www/html/fog/lib/fog/bootmenu.class.php on line 339 [Thu Apr 27 12:12:59.708741 2017] [php7:error] [pid 28371] [client 10.219.18.59:25686] PHP Fatal error: Uncaught Error: Call to a member function get() on boolean in /var/www/html/fog/lib/fog/bootmenu.class.php:339\nStack trace:\n#0 /var/www/html/fog/service/ipxe/boot.php(35): BootMenu->__construct(Object(Host))\n#1 {main}\n thrown in /var/www/html/fog/lib/fog/bootmenu.class.php on line 339 [Thu Apr 27 12:19:17.022423 2017] [php7:error] [pid 28370] [client 127.0.0.1:48658] script '/var/www/html/fog/service/boot.php' not found or unable to stat [Thu Apr 27 12:19:42.584703 2017] [php7:error] [pid 28371] [client 127.0.0.1:48678] PHP Fatal error: Uncaught Error: Call to a member function get() on boolean in /var/www/html/fog/lib/fog/bootmenu.class.php:339\nStack trace:\n#0 /var/www/html/fog/service/ipxe/boot.php(35): BootMenu->__construct(Object(Host))\n#1 {main}\n thrown in /var/www/html/fog/lib/fog/bootmenu.class.php on line 339
-
Any update after updating again?
-
Yes, that portion seems to be working now. On to the next bug…