• 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
    474
    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

      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

        @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

          @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 Reply Quote 1
          • J
            jms @Sebastian Roth
            last edited by

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

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

            301

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project