Bug 2000696

Summary: [4.8] RHCOS live ISO can fail to boot in UEFI mode; drops to grub shell
Product: OpenShift Container Platform Reporter: RHCOS Bug Bot <rhcos-bot>
Component: RHCOSAssignee: Benjamin Gilbert <bgilbert>
Status: CLOSED ERRATA QA Contact: HuijingHei <hhei>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.8CC: dornelas, hhei, jligon, mrussell, nstielau
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1999577
: 2000697 (view as bug list) Environment:
Last Closed: 2021-10-12 06:01:20 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: 1982001, 1999577    
Bug Blocks: 2000697    

Description RHCOS Bug Bot 2021-09-02 17:39:21 UTC
Backport the fix for bug 1999577 to 4.8.

Comment 1 RHCOS Bug Bot 2021-09-07 16:09:51 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 2 RHCOS Bug Bot 2021-09-28 14:05:25 UTC
The fix for this bug has landed in a bootimage bump, as tracked in bug 1982001 (now in status MODIFIED).  Moving this bug to MODIFIED.

Comment 5 HuijingHei 2021-10-04 13:37:42 UTC
Verified with RHCOS 49.84.202109302214-0

Downloaded the RHCOS live ISO and wrote to USB drive(/dev/sda)
$ sudo dd bs=4M if=rhcos-49.84.202109302214-0-live.x86_64.iso of=/dev/sda oflag=sync status=progress

Booted USB stick in UEFI mode and verified boot was successful
Also booted in BIOS mode and verified boot was successful

Need to append 'console=ttyS0,115200n8 console=tty0' to kernel command line before start
$ sudo virt-install --name testuefi --memory 2048 --vcpus 2 --disk /dev/sda,bus=usb,device=cdrom --cpu host --boot uefi,cdrom --nographic
$ sudo virt-install --name testbios --memory 2048 --vcpus 2 --disk /dev/sda,bus=usb,device=cdrom --cpu host --boot cdrom --nographic

Comment 6 HuijingHei 2021-10-04 13:42:35 UTC
Sorry to change back to ON_QA as wrong RHCOS version, will update result when finish test

Comment 7 HuijingHei 2021-10-04 14:14:06 UTC
Verify passed with 48.84.202109241901-0 with same steps in Comment 5

Comment 9 errata-xmlrpc 2021-10-12 06:01:20 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.8.14 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:3682