Bug 2004678

Summary: [4.7] Boot option recovery menu prevents image boot
Product: OpenShift Container Platform Reporter: RHCOS Bug Bot <rhcos-bot>
Component: RHCOSAssignee: Benjamin Gilbert <bgilbert>
Status: CLOSED ERRATA QA Contact: Michael Nguyen <mnguyen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: dornelas, jligon, mrussell, nstielau
Target Milestone: ---Keywords: Regression
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2004677
: 2004679 (view as bug list) Environment:
Last Closed: 2021-10-12 19:52:13 UTC Type: ---
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: 1964753, 2004677    
Bug Blocks: 2004679    

Description RHCOS Bug Bot 2021-09-15 18:12:11 UTC
Backport the fix for bug 2004449 to 4.7.

Comment 1 Benjamin Gilbert 2021-09-17 17:04:37 UTC
Landed in 47.84.202109171532-0 for x86_64.  ppc64le and s390x builds do not yet include the cosa commit, but the affected code path doesn't run on those arches.

Comment 2 RHCOS Bug Bot 2021-09-17 17:05:12 UTC
This bug has been reported fixed in a new RHCOS build.  Do not move this bug to MODIFIED until the fix has landed in a new bootimage.

Comment 3 Benjamin Gilbert 2021-09-17 17:23:22 UTC
Marking Regression because the Boot Options Restoration screen in shim 15.4 is new to this bootimage bump.

Comment 4 RHCOS Bug Bot 2021-10-01 16:49:36 UTC
The fix for this bug has landed in a bootimage bump, as tracked in bug 1964753 (now in status MODIFIED).  Moving this bug to MODIFIED.

Comment 6 Michael Nguyen 2021-10-05 20:32:31 UTC
Verified on RHCOS 47.84.202109241831-0 which is the boot image for 4.7.0-0.nightly-2021-10-04-202544


$ sudo mount -o loop rhcos-47.84.202109241831-0-live.x86_64.iso  /mnt/iso
mount: /var/mnt/iso: WARNING: source write-protected, mounted read-only.
$ sudo mount -o loop,ro /mnt/iso/images/efiboot.img /mnt/efi
$ tree /mnt/efi
/mnt/efi
└── EFI
    ├── BOOT
    │   ├── BOOTX64.EFI
    │   └── grubx64.efi
    └── redhat
        ├── fonts
        ├── grub.cfg
        ├── grubx64.efi
        ├── mmx64.efi
        ├── shimx64.efi
        └── shimx64-redhat.efi

4 directories, 7 files

Comment 9 errata-xmlrpc 2021-10-12 19:52:13 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 (OpenShift Container Platform 4.7.33 bug fix 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/RHBA-2021:3686