Bug 2255285

Summary: Satellite-Capsule update warning message shows Scenario as failed.
Product: Red Hat Satellite Reporter: Prashant <pmoranka>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.15.0CC: ehelms
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-21 14:25:08 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 Prashant 2023-12-19 21:09:50 UTC
Description of problem:

Satellite-Capsule 6.15 update <packages-check-for-reboot> warning message shows Scenario [Checks after upgrading to Capsule 6.15.z] as failed.

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

satellite-capsule-6.15.0

How reproducible:


Steps to Reproduce:
Try to update the Satellite-Capsule 6.15
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# satellite-maintain upgrade run --target-version 6.15.z
--------------------------------------------------------------------------------
Check if system needs reboot:                                         [WARNING]
Updating Subscription Management repositories.
Repository satellite-client-6-for-rhel-8-x86_64-rpms is listed more than once in the configuration
Repository rhel-8-for-x86_64-appstream-rpms is listed more than once in the configuration
Repository rhel-8-for-x86_64-baseos-rpms is listed more than once in the configuration
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 Capsule 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.
=====


Actual results: Below message is confusing and need to re-run upgrade again:

~~~~
Scenario [Checks after upgrading to Capsule 6.15.z] failed.
~~~~


Expected results: Can we remove the below messages? we can --whitelist=packages-check-for-reboot.

~~~~
Scenario [Checks after upgrading to Capsule 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:

Comment 1 Eric Helms 2023-12-21 14:25:08 UTC

*** This bug has been marked as a duplicate of bug 2254492 ***