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 6 Reporter: Amaani S Karimi <akarimi>
Component: ProvisioningAssignee: Lukas Zapletal <lzap>
Status: ASSIGNED --- QA Contact: Jan Hutař <jhutar>
Severity: high Docs Contact:
Priority: high    
Version: 6.3.2CC: apatel, bkearney, dvoss, inecas, jhutar, kgaikwad, lzap, mbacovsk, mlinden, pcreech, sshtein, stbenjam, tdaianov
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: Known Issue
Doc Text:
UEFI HTTP boot is currently not supported in Satellite. The work is incubating in the upstream, so users may see the templates for this feature. These should not be used until the feature is supported.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1616395, 1660098    
Bug Blocks: 1669648    

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

Implement UEFI HTTP Boot provisioning support for Satellite 6


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).