Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1893648

Summary: Ironic image building process is not compatible with UEFI secure boot
Product: OpenShift Container Platform Reporter: Dmitry Tantsur <dtantsur>
Component: Bare Metal Hardware ProvisioningAssignee: Dmitry Tantsur <dtantsur>
Bare Metal Hardware Provisioning sub component: ironic QA Contact: Lubov <lshilin>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: kquinn, lshilin
Version: 4.7Keywords: Triaged
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Service agent images shipped with baremetal IPI can now run on systems with UEFI secure boot enabled. Since network boot is not compatible with secure boot, using virtual media is required in this case.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:29:19 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: 1905460    
Bug Blocks:    

Description Dmitry Tantsur 2020-11-02 10:00:04 UTC
We are rebuilding the GRUB2 image which invalidates its signature. We actually only need to tell ironic the correct path to put grub.cfg to.

Comment 2 Lubov 2020-11-22 16:59:35 UTC
Please, advise how to verify this

Comment 3 Dmitry Tantsur 2020-11-24 13:46:13 UTC
Hi! It is verified as part of the secure boot feature verification.

First, you need to turn secure boot on. It can be done on bare metal (hardware specific way, check BIOS/UEFI settings) or virtual machines (similar to https://github.com/metal3-io/metal3-dev-env/commit/1241e2954026068fd2e88232178e64e0b8c0c317). Then you need to do a Redfish virtual media deployment. To ensure that secure boot has been enabled, check the kernel logs (e.g. via `dmesg`).

Comment 11 Dmitry Tantsur 2021-01-06 12:34:25 UTC
PXE is not expected to work, sorry for not being explicit about it.

Comment 15 errata-xmlrpc 2021-02-24 15:29:19 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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:5633