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

    Chainloading failed - location plugin - multi-server setup

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    8
    1.5k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      Server
      • FOG Version: 1.3.0 RC-15 latest version as of an hour ago.
      • OS: CentOs 7
      Description

      We’re using the location plugin, this has been setup for a long time and working. Today I upgraded from RC-14 to 15.

      We have registered hosts that have an image assigned, the proper location assigned to them. When we try to network boot them in fog, select “Deploy Image”, authenticate, pick the right image we get a chainloading error.

      We’re using the file /tftpboot/10secdelay/undionly.kkpxe and the model is a Lenovo s30. We’re running through a L2 dumb switch due to portfast issues that we can’t help at the moment.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        These apache errors may or may not be related, I’m unsure:

        [Tue Oct 25 09:44:00.498947 2016] [:error] [pid 19673] [client 10.13.8.38:50090] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/plugins/location/hooks/addlocationgroup.hook.php on line 63, referer: http://10.51.1.53/fog/management/index.php?node=group&sub=edit&id=119
        [Tue Oct 25 09:43:37.967956 2016] [:error] [pid 19675] [client 10.13.8.38:50080] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 712, referer: http://10.51.1.53/fog/management/index.php?node=task&sub=active
        [Tue Oct 25 09:40:55.985457 2016] [:error] [pid 19675] [client 10.13.32.152:54355] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/plugins/location/hooks/addlocationgroup.hook.php on line 63, referer: http://10.51.1.53/fog/management/index.php?node=group&sub=edit&id=119
        [Tue Oct 25 09:30:51.588843 2016] [:error] [pid 19671] [client 10.13.32.152:54209] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 712, referer: http://10.51.1.53/fog/management/index.php?node=task&sub=active
        

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

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

          I would think the addlocationgroup hook is on display of the group page dealing with locations. I cannot fix right now, but the error’s are likely relating to page, not chainloading failed. What’s the output from going to the boot with the relevant host’s mac address?

          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
          • Tom ElliottT
            Tom Elliott
            last edited by

            I believe the default.ipxe file is missing from your /tftpboot/10secdelay/ folder, which would cause the chainloading error btw.

            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

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Tom Elliott
              last edited by Wayne Workman

              @Tom-Elliott I copied that file and it worked.
              cp /tftpboot/default.ipxe /tftpboot/10secdelay/default.ipxe

              However this is still something that needs addressed in the installer. Just copy the file each time.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Wayne Workman
                last edited by

                @Wayne-Workman This isn’t something that can be addressed. The idea of the 10secdelay folder is a replacement to the normal default.

                You’ll notice the 10secdelay has the exact same layout as the parent folder (less the 10secdelay folder itself).

                The usage for the 10secdelay is a specialized mode to be setup either on command line call:

                tftpdirsrc="../packages/tftp/10secdelay" ./installfog.sh -y OR define tftpdirsrc in your fogsettings file and run the installer.

                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

                Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                • Wayne WorkmanW
                  Wayne Workman @Tom Elliott
                  last edited by

                  @Tom-Elliott yup, I get that now. I wasn’t thinking earlier when I pathed 067 into that directory directly. From now on I’ll just copy a file over if I need to try it.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @Wayne Workman
                    last edited by

                    @Wayne-Workman That’s fine, I just wanted to make it somewhat documented so others who may need to use it, or are seeing similar type things have something to actually look at and use going forward.

                    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
                    • 1 / 1
                    • First post
                      Last post

                    125

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project