Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2125424

Summary: Mismatched files between stage 1 and stage 2 kernel images during kickstart provisioning
Product: Red Hat Satellite Reporter: Jared Kwek <jkwek>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Vladimír Sedmík <vsedmik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.2CC: dalley, dkliban, ggainey, jbhatia, jbreitwe, jpasqual, ldelouw, pcreech, qguo, rchan, rmetrich, saydas
Target Milestone: 6.13.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: pulp_rpm-3.17.14-1, pulp_rpm-3.18.8-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2158577 (view as bug list) Environment:
Last Closed: 2023-05-03 13:21:46 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:

Description Jared Kwek 2022-09-09 00:58:11 UTC
Description of problem:

There is a kernel mismatch between the stage 1 image:
# file /var/lib/tftpboot/boot/red-hat-enterprise-linux-9-for-x86_64-baseos-kickstart-9-0-86-vmlinuz 
/var/lib/tftpboot/boot/red-hat-enterprise-linux-9-for-x86_64-baseos-kickstart-9-0-86-vmlinuz: Linux kernel x86 boot executable bzImage, version 5.14.0-70.13.1.el9_0.x86_64 (mockbuild.eng.bos.redhat.com) #1 SMP PREEMPT Thu A, RO-rootFS, swap_dev 0xA, Normal VGA

And the stage 2 image from the kickstart repo (Red Hat Enterprise Linux 9 for x86_64 - BaseOS Kickstart 9.0):
# wget http://satellite.example.com/pulp/content/Default_Organization/Library/content/dist/rhel9/9.0/x86_64/baseos/kickstart/images/install.img
==output omitted==
# mount -o loop -t squashfs install.img /mnt
# mkdir /tmp/rootfs
# mount /mnt/LiveOS/rootfs.img /tmp/rootfs
# ls /tmp/rootfs/lib/modules
5.14.0-70.22.1.el9_0.x86_64  module-info


Version-Release number of selected component (if applicable):

6.11.2


How reproducible:

Seems that it only affects some people.  Syncing repos does not make it go away.


Steps to Reproduce:

1. Sync RHEL 9 BaseOS, AppStream, and equivalent Kickstart Repos
2. Add all to Content View and publish/promote
3. Build a new RHEL 9 host with network-based provisioning


Actual results:

Service org.fedoraproject.Anaconda.Modules.Storage has failed to start:
Process org.fedoraproject.Anaconda.Modules.Storage exited with status 1

It looks like systemd-modules-load.service fails with these error messages,
which starts the chain effect of Anaconda failing:

Failed to look up module alias 'msr': Function no implemented
Failed to look up module alias: 'ipmi-devintf': Function not implemented

In commandline after anaconda fails:
# uname -r
5.14.0-70.13.1.el9_0.x86_64
# ls /usr/lib/modules
5.14.0-70.22.1.el9_0.x86_64  module-info


Expected results:

Commencement of RHEL 9 install using anaconda


Additional info:

Workaround is to use image based provisioning instead.  Downloading boot ISO for RHEL 9 does not have this issue.

Comment 9 Sayan Das 2022-09-09 17:42:34 UTC
FYI, 

A Complete Sync redownloads the whole metadata, and fixes the mismatch with vmlinuz and install.img:

# hammer repository synchronize --skip-metadata-check true --name "Red Hat Enterprise Linux 9 for x86_64 - BaseOS Kickstart 9.0" --product "Red Hat Enterprise Linux for x86_64" --organization-id=1

Comment 24 errata-xmlrpc 2023-05-03 13:21:46 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 (Important: Satellite 6.13 Release), 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-2023:2097