Bug 2228560

Summary: stream9 images at cloud.centos.org have bad kernel options
Product: Red Hat Enterprise Linux 9 Reporter: Chris Henry <redhat>
Component: distributionAssignee: Adam Samalik <asamalik>
Status: NEW --- QA Contact: Release Test Team <release-test-team>
Severity: high Docs Contact:
Priority: urgent    
Version: CentOS StreamCC: bstinson, davdunc, davide, derli, jvanderwaa, jwboyer, mpitt, tgunders
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard: CockpitTest
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
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: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
20230720 vs 20230727 image grub options none

Description Chris Henry 2023-08-02 16:56:49 UTC
Created attachment 1981339 [details]
20230720 vs 20230727 image grub options

Description of problem:
The newly released "CentOS-Stream-ec2-9-20230727.1.x86_64.raw.xz" image on cloud.centos.org has invalid kernel options in /boot/loader/entries resulting in failure to boot

Version-Release number of selected component (if applicable):
CentOS-Stream-ec2-9-20230727.1.x86_64

How reproducible:
Every boot


Steps to Reproduce:

1. Download and uncompress the image from cloud.centos.org
2. Define a KVM host with the downloading image as the system disk
3. boot the VM
4. Observe the Grub config contains installation options like inst.repo and inst.ks instead of normal boot options like root-UUID, console=, etc.

Actual results:
Booting drops to an emergency shell with error "dracut-mount[383]: Warning: Can't mount root filesystem

Expected results:
successful boot


Additional info:

Comment 1 Chris Henry 2023-08-02 17:11:03 UTC
oops - accidentally made this private but it should be public.

Comment 2 Josh Boyer 2023-08-03 10:53:05 UTC
*** Bug 2228782 has been marked as a duplicate of this bug. ***

Comment 3 Josh Boyer 2023-08-04 12:34:41 UTC
*** Bug 2229120 has been marked as a duplicate of this bug. ***

Comment 4 Tom Gundersen 2023-08-10 11:37:19 UTC
Shameless plug: If anyone needs a workaround for this, the images built through Insights don't suffer from this issue: https://console.redhat.com/insights/image-builder/imagewizard