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 - Mismatched files between stage 1 and stage 2 kernel images during kickstart provisioning
Summary: Mismatched files between stage 1 and stage 2 kernel images during kickstart p...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.11.2
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: 6.13.0
Assignee: satellite6-bugs
QA Contact: Vladimír Sedmík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-09 00:58 UTC by Jared Kwek
Modified: 2023-05-03 13:21 UTC (History)
12 users (show)

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:
Clone Of:
: 2158577 (view as bug list)
Environment:
Last Closed: 2023-05-03 13:21:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pulp pulp_rpm issues 2791 0 None closed Sync optimization may need to take the .treeinfo checksum into account 2022-10-19 04:43:50 UTC
Red Hat Bugzilla 2115374 0 unspecified CLOSED systemd-modules-load "Failed to find module 'msr'" 2023-09-21 11:51:56 UTC
Red Hat Issue Tracker SAT-14682 0 None None None 2023-01-05 07:02:44 UTC
Red Hat Knowledge Base (Solution) 6975609 0 None None None 2022-09-13 18:26:40 UTC
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:21:59 UTC

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


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