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

    1.4.0 RC 8 pxe boot failure

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    6
    1.3k
    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.
    • C
      code7
      last edited by

      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}
      
      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @code7
        last edited by

        @code7 please also post the tail of the apache error log. That will tell us why the ipxe menu isn’t being built correctly.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 1
        • Tom ElliottT
          Tom Elliott
          last edited by

          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.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • C
            code7
            last edited by

            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
            
            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              Any update after updating again?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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
              • C
                code7
                last edited by

                Yes, that portion seems to be working now. On to the next bug…

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

                132

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project