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

    PXE Boot Deploy Image Menu not showing up anymore

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    5
    470
    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.
    • N
      naughtydog
      last edited by

      Hello,

      since today the “Deploy Image” entry doesn’t login automatically (values are prefilled) and also doesn’t show the images but instead boots to System information after login.

      The entry is autoselected after 3 seconds

      13f71b24-a8b3-4921-9837-4ba32483f91f-image.png

      Normally the login happens automatically.

      89ae8833-7ac6-4c7d-9128-45bf9a63af02-image.png

      This happens after hitting Enter to login.

      8df3daaa-df00-4dbf-9326-b1a2e396a910-image.png

      I have 2 Images

      92ea0013-4849-4b9f-86e0-f6f01193c226-image.png

      The fog.deployimage is configured as follows.

      a809962a-3df6-4cc4-8e5f-f72d97a02fb0-image.png

      No errors in the logs during the PXE boot.

      Manually calling boot.php gives the following (IPs and password replaced by):

      #!ipxe
      set fog-ip XXX.XXX.XXX.XXX
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      set storage-ip XXX.XXX.XXX.XXX
      set keymap us
      cpuid --ext 29 && set arch x86_64 || set arch i386
      goto get_console
      :console_set
      colour --rgb 0x00567a 1 ||
      colour --rgb 0x00567a 2 ||
      colour --rgb 0x00567a 4 ||
      cpair --foreground 7 --background 2 2 ||
      goto MENU
      :alt_console
      cpair --background 0 1 ||
      cpair --background 1 2 ||
      goto MENU
      :get_console
      console --picture http://XXX.XXX.XXX.XXX/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
      :MENU
      menu
      colour --rgb 0xff0000 0 ||
      cpair --foreground 1 1 ||
      cpair --foreground 0 3 ||
      cpair --foreground 4 4 ||
      item --gap Host is NOT registered!
      item --gap -- -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.reginput Perform Full Host Registration and Inventory
      item fog.reg Quick Registration and Inventory
      item fog.deployimage Deploy Image
      item fog.multijoin Join Multicast Session
      item fog.sysinfo Client System Information (Compatibility)
      choose --default fog.deployimage --timeout 3000 target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :fog.memtest
      kernel memdisk initrd=memtest.bin iso raw
      initrd memtest.bin
      boot || goto MENU
      :fog.reginput
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://XXX.XXX.XXX.XXX/fog/ consoleblank=0 rootfstype=ext4 storage=XXX.XXX.XXX.XXX:/images/ storageip=XXX.XXX.XXX.XXX nvme_core.default_ps_max_latency_us=0 loglevel=4 mode=manreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.reg
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://XXX.XXX.XXX.XXX/fog/ consoleblank=0 rootfstype=ext4 storage=XXX.XXX.XXX.XXX:/images/ storageip=XXX.XXX.XXX.XXX nvme_core.default_ps_max_latency_us=0 loglevel=4 mode=autoreg
      imgfetch init_32.xz
      boot || goto MENU
      :fog.deployimage
      set username fog
      set password PASSWORD
      #login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param qihost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.multijoin
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param sessionJoin 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.sysinfo
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://XXX.XXX.XXX.XXX/fog/ consoleblank=0 rootfstype=ext4 storage=XXX.XXX.XXX.XXX:/images/ storageip=XXX.XXX.XXX.XXX nvme_core.default_ps_max_latency_us=0 loglevel=4 mode=sysinfo
      imgfetch init_32.xz
      boot || goto MENU
      :bootme
      chain -ar http://XXX.XXX.XXX.XXX/fog/service/ipxe/boot.php##params ||
      goto MENU
      autoboot
      

      Any ideas?

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

        @naughtydog said in PXE Boot Deploy Image Menu not showing up anymore:

        since today the “Deploy Image” entry doesn’t login automatically (values are prefilled) and also doesn’t show the images but instead boots to System information after login.

        What changed since it worked last?? Update, reboot, someone messing with the settings?

        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

        N 1 Reply Last reply Reply Quote 0
        • N
          naughtydog @Sebastian Roth
          last edited by naughtydog

          @Sebastian-Roth i captured a new image and deleted an old one. That’s it.

          Any idea how to identify the problem? Does the output of boot.php look right?

          N 1 Reply Last reply Reply Quote 0
          • N
            naughtydog @naughtydog
            last edited by naughtydog

            It seems to have something to do with ipxe.efi. Switching to snp.efi or doing legacy boot with undionly.kpxe makes everything work again.

            Update:
            snp.efi is unreliable too. So it looks like a general UEFI problem.

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

              @naughtydog said in PXE Boot Deploy Image Menu not showing up anymore:

              snp.efi is unreliable too. So it looks like a general UEFI problem.

              General is a vast phrase. Some devices play nicely with a iPXE binaries but do not when using a different one while other hardware works perfectly fine using the later.

              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
              • [[undefined-on, S Sebastian Roth, ]]
              • 1 / 1
              • First post
                Last post

              237

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project