Bug 1859158
Summary: | Unknown HTTPBoot EFI hosts are not directed to the grubx64.efi with a default grub conf | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Roman Plevka <rplevka> |
Component: | Installation | Assignee: | Ewoud Kohl van Wijngaarden <ekohlvan> |
Status: | CLOSED ERRATA | QA Contact: | Roman Plevka <rplevka> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.8.0 | CC: | aruzicka, lzap, mshira, pcreech |
Target Milestone: | 6.8.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | foreman-installer-2.1.2 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 13:04:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Roman Plevka
2020-07-21 11:12:39 UTC
Roman, can you test it with this change: Instead: if option architecture = 00:06 { filename "grub2/shim.efi"; } elsif option architecture = 00:07 { filename "grub2/shim.efi"; } elsif option architecture = 00:09 { filename "grub2/shim.efi"; } else { filename "pxelinux.0"; } Do this: class "httpclients" { match if substring (option vendor-class-identifier, 0, 9) = "HTTPClient"; if option arch = 00:0F { filename "https://proxy.example.com:8000/EFI/grub2/bootia32.efi"; } else if option arch = 00:10 { filename "https://proxy.example.com:8000/EFI/grub2/bootx64.efi"; } } class "pxeclients" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; next-server 10.0.0.1; if exists user-class and option user-class = "iPXE" { filename "https://foreman.example.com:443/unattended/iPXE"; } else if option arch = 00:06 { filename "grub2/bootia32.efi"; } else if option arch = 00:07 { filename "grub2/bootx64.efi"; } else { filename "pxelinux.0"; } } s/arch/architecture/g THERE WAS A TYPO ABOVE, HERE IS CORRECTED VERSION: class "httpclients" { match if substring(option vendor-class-identifier, 0, 10) = "HTTPClient"; option vendor-class-identifier "HTTPClient"; if option architecture = 00:0F { filename "https://192.168.199.15:9090/EFI/grub2/bootia32.efi"; } else if option architecture = 00:10 { filename "https://192.168.199.15:9090/EFI/grub2/bootx64.efi"; } } class "pxeclients" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; next-server 10.0.0.1; if exists user-class and option user-class = "iPXE" { filename "https://foreman.example.com:443/unattended/iPXE"; } else if option architecture = 00:06 { filename "grub2/bootia32.efi"; } else if option architecture = 00:07 { filename "grub2/bootx64.efi"; } else { filename "pxelinux.0"; } } There is another typo, disregard all comments here is the up to date version: https://gist.github.com/lzap/8a3e7cfddf68991926eb268023f1709a Upstream patch RFM and tested: https://github.com/theforeman/puppet-foreman_proxy/pull/611 Upstream bug assigned to ekohlvan Upstream bug assigned to ekohlvan VERIFIED on sat6.8.0-14 the dhcp config is updated and the httpboot-clients correctly load the default template and load FDI correctly. tested the rest of the workflow and the provisioning works correctly as well. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366 |