Bug 1893648 - Ironic image building process is not compatible with UEFI secure boot
Summary: Ironic image building process is not compatible with UEFI secure boot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.7.0
Assignee: Dmitry Tantsur
QA Contact: Lubov
URL:
Whiteboard:
Depends On: 1905460
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-02 10:00 UTC by Dmitry Tantsur
Modified: 2021-03-23 20:20 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2021-02-24 15:29:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ironic-image pull 114 0 None closed Bug 1893648: Secure boot compatible ESP image 2021-02-18 12:33:25 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:29:55 UTC

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


Note You need to log in before you can comment on or make changes to this bug.