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.
Description of problem:
Satellite 6.15 upgrade <packages-check-for-reboot> warning message shows Scenario [Checks after upgrading to Satellite 6.15.z] as failed.
Version-Release number of selected component (if applicable):
Satellite 6.15
How reproducible:
Try to upgrade the Satellite 6.15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# satellite-maintain upgrade run --target-version 6.15.z
--------------------------------------------------------------------------------
Check if system needs reboot: [WARNING]
Updating Subscription Management repositories.
Core libraries or services have been updated since boot-up:
* kernel
Reboot is required to fully utilize these updates.
More information: https://access.redhat.com/solutions/27943
--------------------------------------------------------------------------------
Scenario [Checks after upgrading to Satellite 6.15.z] failed.
The following steps ended up in warning state:
[packages-check-for-reboot]
The steps in warning state itself might not mean there is an error,
but it should be reviewed to ensure the behavior is expected
--------------------------------------------------------------------------------
Upgrade finished.
# reboot
# satellite-maintain upgrade run --target-version 6.15.z
--------------------------------------------------------------------------------
Check if system needs reboot: [OK]
Updating Subscription Management repositories.
No core libraries or services have been updated since boot-up.
Reboot should not be necessary.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Upgrade finished.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Actual results: Below message is confusing and need to re-run upgrade again:
~~~~
Scenario [Checks after upgrading to Satellite 6.15.z] failed.
~~~~
Expected results: Can we remove the below messages? we can --whitelist=packages-check-for-reboot, but it will also include additional efforts.
~~~~
Scenario [Checks after upgrading to Satellite 6.15.z] failed.
The following steps ended up in warning state:
[packages-check-for-reboot]
The steps in warning state itself might not mean there is an error,
but it should be reviewed to ensure the behavior is expected
~~~~~
Additional info: Also we have additional steps in doc to check reboot:
6. Determine if the system needs a reboot: # dnf needs-restarting --reboothint
7. If the previous command told you to reboot, then reboot the system: # reboot
VERIFIED.
@Satellite 6.15.0 Snap 5
rubygem-foreman_maintain-1.4.4-1.el8sat.noarch
by the following reproducer:
1) Upgrade so that kernel or dbus gets upgraded
# satellite-maintain upgrade run -y -w repositories-validate,repositories-setup --target-version 6.15
...
Check if system needs reboot: [WARNING]
Updating Subscription Management repositories.
Core libraries or services have been updated since boot-up:
* dbus
* dbus-daemon
* glibc
* kernel
* linux-firmware
* systemd
* zlib (dependency of dbus. Recommending reboot of dbus)
Reboot is required to fully utilize these updates.
More information: https://access.redhat.com/solutions/27943
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Upgrade finished.
2) Check for zero RC of the successful upgrade command
# echo $?
0
>>> though satellite-maintain upgrade run messages a user "there is reboot required" the return code indicates that the command has finished successfully (RC=0)
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.15.0 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-2024:2010