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

working-1.6 "Deploy Image" from iPXE menu fails with HTTP Error 5xx

Scheduled Pinned Locked Moved Solved
Bug Reports
2
4
493
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.
  • J
    jms
    last edited by jms Nov 12, 2018, 3:24 PM Nov 12, 2018, 9:19 PM

    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!!)

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Nov 12, 2018, 11:16 PM

      @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.

      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
      • S
        Sebastian Roth Moderator
        last edited by Nov 12, 2018, 11:33 PM

        @jms I just had a quick look. I just pushed some changes that will hopefully fix this issue.

        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

        J 1 Reply Last reply Nov 13, 2018, 3:05 AM Reply Quote 1
        • J
          jms @Sebastian Roth
          last edited by Nov 13, 2018, 3:05 AM

          @Sebastian-Roth Yes it is working now - thank you !!

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post

          200

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project