Bug 1619274

Summary: [RFE] Red Hat Satellite should now be able to discover and provision bare metal machines via UEFI HTTP boot
Product: Red Hat Satellite Reporter: Amaani S Karimi <akarimi>
Component: ProvisioningAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact: Roman Plevka <rplevka>
Severity: high Docs Contact:
Priority: high    
Version: 6.3.2CC: apatel, bkearney, dsinglet, dvoss, inecas, jhutar, jsenkyri, kgaikwad, ldelouw, lzap, mawerner, mbacovsk, mlinden, pcreech, rplevka, sadas, sshtein, stbenjam, tdaianov
Target Milestone: 6.8.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Full support for UEFI HTTP boot is now available in Satellite 6.8.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 12:57:24 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:
Bug Depends On: 1616395, 1660098    
Bug Blocks: 1669648, 1813311    

Comment 10 Jan Hutaƙ 2019-02-28 12:25:19 UTC
Docs suggestion:

UEFI clients are capable of booting from HTTP or HTTPS if they are given a valid URL via DHCP filename option. Publishing required files is achieved with module which will publish tftp directory via http and https on /EFI endpoint for HTTP BOOT UEFI and /httpboot for generic http boot (iPXE) with the same content. Because we do lack installer support for this feature for now, few steps are needed to configure Satellite so it servers boot files over http:

1. Enable HTTPBoot plugin:
   In /etc/foreman-proxy/settings.d/httpboot.yml set ":enabled: true"
2. Restart services, so config change will take effect:
   # foreman-maintain service restart
3. In webUI refresh integrated capsules features with Infrastructure -> Capsules -> <satellite's capsule> -> Refresh features and make sure "HTTPBoot" is now listed in "Active features" there
4. Assign this HTTPBoot capsule to to the subnet(s): Infrastructure -> Subnets -> <subnet> -> Capsules and select the capsule and press "Submit"
5. Now when creating a host, on "Operating system" tab set "PXE Loader" to "Grub2 UEFI HTTP"

this will cause grub2 on provisioned machine to download "http://<httpboot_capsule>:9090/httpboot/grub2/grubx64.efi". That file is being served from "/var/lib/tftpboot/..." directory.

Comment 44 Lukas Zapletal 2019-03-20 09:20:30 UTC
*** Bug 1619291 has been marked as a duplicate of this bug. ***

Comment 45 Lukas Zapletal 2019-03-20 09:25:05 UTC
ORIGINAL REQUEST:

Implement UEFI HTTP Boot provisioning support for Satellite 6

CURRENT STATUS:

Ongoing. There is an upstream prototype but there are some major issues in grub2 at the moment and the feature does not work correctly. We are putting this feature back on backlog until changes are done on the RHEL side (grub2).

Comment 62 Lukas Zapletal 2020-05-26 09:26:55 UTC
I have tested this and it works with 6.8 snap 1:

https://community.theforeman.org/t/demo-foreman-2-1-http-uefi-provisioning-with-discovery-over-vlan-tagging/18931

This effectively tests both VLAN provisioning and UEFI HTTP Boot provisioning with discovery.

Comment 66 errata-xmlrpc 2020-10-27 12:57:24 UTC
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