Project

General

Profile

Actions

Bug #29690

closed

foreman installer expects shimx64.efi but only shim.efi is installed

Added by Carlos Silva almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
Yes
Found in Releases:

Description

When trying to deploy a machine via discovery -> provision, a dhcp record is created pointing to boot shimx64.efi but that file isn't installed on the tftproot, only shim.efi.

TFTP Logs:
in.tftpd21507: RRQ from 192.168.1.93 filename grub2/shimx64.efi
in.tftpd21507: Client 192.168.1.93 File not found grub2/shimx64.efi

  1. find /var/lib/tftpboot/grub2/
    /var/lib/tftpboot/grub2/
    /var/lib/tftpboot/grub2/grub.cfg
    /var/lib/tftpboot/grub2/boot
    /var/lib/tftpboot/grub2/grubx64.efi
    /var/lib/tftpboot/grub2/shim.efi

Using Foreman 2.0.0


Related issues 1 (0 open1 closed)

Related to Installer - Feature #29213: puppet-foreman_proxy should run on el8ClosedWilliam ClarkActions
Actions #1

Updated by Lukas Zapletal almost 4 years ago

  • Triaged changed from No to Yes

Thanks, I think we need to change this in the installer because UEFI can work also on non-intel platforms: https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface#Processor_compatibility

Actions #2

Updated by Ewoud Kohl van Wijngaarden almost 4 years ago

Relevant discussion: https://github.com/theforeman/puppet-foreman_proxy/pull/583.

Do we still need shim.efi at all or can we limit ourselves to shimx64.efi?

Actions #3

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/592 added
Actions #4

Updated by Carlos Silva almost 4 years ago

Ewoud Kohl van Wijngaarden wrote:

Relevant discussion: https://github.com/theforeman/puppet-foreman_proxy/pull/583.

Do we still need shim.efi at all or can we limit ourselves to shimx64.efi?

I don't know much about the intrinsics of this but in case of a managed DHCP server, this should be handled too. Think i've read somewhere in the generation of the configuration for pxe support that it points to shim.efi instead of shimx64.efi (not really sure where i read it)

Actions #5

Updated by Lukas Zapletal almost 4 years ago

I think is a similar but a different issue. So I commented in the thread you refer to:

Ewoud, I believe https://projects.theforeman.org/issues/29690 is a different issue. Problem for the other bug is that Foreman sets up DHCP record for the client to request "shimx64.efi" which is logical as UEFI for IBM POWER is emerging and chances are that users will be booting "shimppc64.efi" too. Problem is, we have never deployed such file, we simply copy it as "shim.efi". So the upcoming change is to copy the file properly and only create "shim.efi" as a symlink to the "shimx64.efi" for backward compatibility.

Actions #6

Updated by Lukas Zapletal almost 4 years ago

  • Related to Feature #29213: puppet-foreman_proxy should run on el8 added
Actions #7

Updated by The Foreman Bot almost 4 years ago

  • Fixed in Releases 2.2.0 added
Actions #8

Updated by Ewoud Kohl van Wijngaarden almost 4 years ago

  • Category set to Foreman modules
  • Target version set to 2.1.0
  • Fixed in Releases 1.24.3, 2.0.1, 2.1.0 added
  • Fixed in Releases deleted (2.2.0)

Adding 2.0.1 and 1.24.3 as fixed in since I think this should be cherry picked.

Actions #9

Updated by Anonymous almost 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF