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

    Host is NOT Registered! tasks not processed

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    17
    4.9k
    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.
    • E
      Eldorado
      last edited by Eldorado

      Hi Sebastian - thanks for the USB suggestion.
      I’m testing the ISO by mounting it in the VM first. I burned it to a cd to test on a workstation outside of a VM to see if it was VMware that was causing the problem. same result.

      We will be using usb keys for the final deployment though.

      thanks for this - I’ll give it a try. I tried generating a new iPXE a few minutes ago and it was failing… will try again later.

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

        @Eldorado If you’re running the latest version, is there a reason you’re not able to use the already installed .iso file?

        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

        E 1 Reply Last reply Reply Quote 2
        • E
          Eldorado @Tom Elliott
          last edited by

          @Tom-Elliott

          Hi Tom,

          the current .iso i’m using has the embedded script. Sebastian has asked me to run something different other than what I have.

          1 Reply Last reply Reply Quote 0
          • E
            Eldorado @Sebastian Roth
            last edited by

            @Sebastian-Roth said:

            @Eldorado Try using this as embedded script:

            #!ipxe
            dhcp
            chain tftp://ip.of.fog.server/default.ipxe
            

            By the way, you don’t need to burn CD/DVDs every time you change iPXE. You can generate iPXE image to write onto USB key…

            Hi Sebastian, thank you for the suggestion.

            I tried what you did, and i’m getting this error at boot:

            tftp://#.#.#.#/default.ipxe... ok
            params: command not found
            Cound not boot: Exec format error (http://ipxe.org/2e022001)
            
            

            Here is the content of my default.ipxe file:

            #!ipxe
            cpuid --ext 29 && set arch x86_64 || set arch i386
            params
            param mac0 ${net0/mac}
            param arch ${arch}
            isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
            isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
            :bootme
            chain http://#.#.#.#/fog/service/ipxe/boot.php##params
            
            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @Eldorado Well, add PARAM_CMD when building on rom-o-matic.eu

              Tom was asking why you don’t use the ISO provided by FOG? See in your /tftpboot directory on the FOG server. There should be an ipxe.iso file that you can use. It hast got an advanced ipxe script embedded - same as all the other iPXE binaries you see in that directory.

              Take a look at the script. It does some checks but essentially it does just get an IP via DHCP and then loads default.ipxe…

              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

              E 1 Reply Last reply Reply Quote 1
              • E
                Eldorado @Sebastian Roth
                last edited by

                @Sebastian-Roth said:

                @Eldorado Well, add PARAM_CMD when building on rom-o-matic.eu

                Tom was asking why you don’t use the ISO provided by FOG? See in your /tftpboot directory on the FOG server. There should be an ipxe.iso file that you can use. It hast got an advanced ipxe script embedded - same as all the other iPXE binaries you see in that directory.

                Take a look at the script. It does some checks but essentially it does just get an IP via DHCP and then loads default.ipxe…

                Hi Sebastian - When I look at the Fog tftpboot folder, I see:

                boot.txt
                default.ipxe
                ipxe.kkpxe
                ipxe.kpxe
                ipxe.krn
                ipxe.pxe
                memdisk
                pxelinux.0.old
                snponly.efi
                endionly.kkpxe
                undionly.kpxe
                undionly.kpxe.intel
                undion.pxe
                vesamenu.c32
                

                I don’t see an ipxe.iso file.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @Eldorado Oh well, I somehow thought that you are running FOG trunk. But looks like version 1.2.0 by the directory listing you just posted. You can download the latest ipxe.iso here (click ‘view raw’).

                  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

                  E 1 Reply Last reply Reply Quote 1
                  • E
                    Eldorado @Sebastian Roth
                    last edited by

                    @Sebastian-Roth said:

                    @Eldorado Oh well, I somehow thought that you are running FOG trunk. But looks like version 1.2.0 by the directory listing you just posted. You can download the latest ipxe.iso here (click ‘view raw’).

                    Thanks - I’ll look into that…

                    having said that - your suggestion in the first post to run the default.ipxe rather than the boot.php file worked! everything is working as expected now once I added the PARAM_CMD file…

                    Thank you so much for everything!

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      Eldorado @Eldorado
                      last edited by

                      @Eldorado said:

                      @Sebastian-Roth said:

                      @Eldorado Oh well, I somehow thought that you are running FOG trunk. But looks like version 1.2.0 by the directory listing you just posted. You can download the latest ipxe.iso here (click ‘view raw’).

                      Thanks - I’ll look into that…

                      having said that - your suggestion in the first post to run the default.ipxe rather than the boot.php file worked! everything is working as expected now once I added the PARAM_CMD file…

                      Thank you so much for everything!

                      Spoke too soon -

                      it’s registering the host now (and it shows on the menu screen it’s registered).

                      I am now successfully able to push down tasks from the server. I’ve started memtest, and tried to trigger an antivirus scan (even though the av scan fails, it still attempts to run at boot).

                      But now it won’t break out of the task… do the tasks need to complete fully for the server to stop sending it down?

                      For example, here is my experience:

                      1. create memtest task.
                      2. task runs.
                      3. I break out of task early and reboot.
                      4. client reboots and runs memtest again.
                      5. I have to delete the task on the server to allow it to boot back to the menu.

                      Here is what i’m expecting:

                      1. create memtest task.
                      2. task runs.
                      3. I break out of task early and reboot.
                      4. client boots back to menu, and server marks task as completed.

                      Is my understanding correct?

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        @Eldorado What you experience is perfectly fine. The clients shouts back to the server not when it starts a task but when it finishes! You need to cancel the task in the web interface to stop the client from booting into it again and again…

                        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

                        E 1 Reply Last reply Reply Quote 1
                        • E
                          Eldorado @Sebastian Roth
                          last edited by

                          @Sebastian-Roth said:

                          @Eldorado What you experience is perfectly fine. The clients shouts back to the server not when it starts a task but when it finishes! You need to cancel the task in the web interface to stop the client from booting into it again and again…

                          innnnteresting.
                          I’ll give it a try… this is great… lol thanks for everything!

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

                          181

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.4k

                          Posts
                          Copyright © 2012-2024 FOG Project