SOLVED working-1.6 "Deploy Image" from iPXE menu fails with HTTP Error 5xx
In working-1.6 when I choose “Deploy Image” from the iPXE menu, on a host that is registered, and choose to deploy any image the operation fails immediately with the following:
http://192.168.X.X/fog/service/ipxe/boot.php... HTTP 5xx Server Error (http://ipxe.org/1d0c6639) Cloud not boot: HTTP 5xx Server Error (http://ipxe.org/1d0c6639) Could not boot image: HTTP 5xx Server Error (http://ipxe.org/1d0c6639)
The iPXE error URL redirects to a more generic error (1d0c66) that is deprecated and no longer used.
I did find the following in www-error.log:
12-Nov-2018 15:02:29 UTC] PHP Fatal error: Undefined class constant 'DEPLOY' in /var/www/html/fog/lib/fog/bootmenu.class.php on line 1271
In an identically configured “working” branch (working-1.5) system, this issue is not present. Additionally in the working-1.6 system, I can successfully schedule a test for an image to be deployed to said host and that tasks executes and completes successfully.
(By the way - please let me know if there is a better way to submit bugs or if the forum is the right place!!)
@Sebastian-Roth Yes it is working now - thank you !!
@jms I just had a quick look. I just pushed some changes that will hopefully fix this issue.
@jms Thanks for reporting. I moved the topic to bug reports as I am fairly sure this is another bug you found. It’s perfectly fine to report bugs in the forums just as you do! Keep it up.
I will look into this in the next days when I have more time.