-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
0
-
False
-
-
False
-
CLOSED
-
SAT-21969 - Provide upgrade and update commands in satellite-maintain
-
0
-
Platform
-
-
-
Moderate
-
No
Description of problem:
-----------------------
Incorrect version of package, `rubygem-foreman_maintain` installed will provide the following output when executing, `satellite-maintain upgrade list-versions` on satellite server:
Checking for new version of satellite-maintain...
Nothing to update, can't find new version of satellite-maintain.
Version-Release number of selected component (if applicable):
-------------------------------------------------------------
rubygem-foreman_maintain (Not version specific, but specific to the requirements of the Satellite version)
How reproducible:
-----------------
100%
Steps to Reproduce:
-------------------
1. Have a Satellite on version X (6.12) needing to upgrade to version Y (6.13)
2. Have any version repository `satellite-maintenance-6.-for-rhel-8-x86_64-rpms` enabled Y+1 (6.14 | 6.15)
3. Execute `satellite-maintain upgrade list-versions` and rubygem-foreman_maintain will update to the highest available version
4. Execute `satellite-maintain upgrade list-versions` once more:
Checking for new version of satellite-maintain...
Nothing to update, can't find new version of satellite-maintain.
Actual results:
---------------
Checking for new version of satellite-maintain...
Nothing to update, can't find new version of satellite-maintain.
Expected results:
-----------------
Proper version should be displayed. For Satellite 6.12: 6.12.z and 6.13 options should be present.
Work Around:
------------
1. Understand the current version of Satellite and repositories enabled.
- rpm -q satellite
- subscription-manager repos --list-enabled
2. Execute, `yum downgrade rubygem-foreman_maintain` if the current satellite repository version is enabled which provides the required rubygem-foreman_maintain version.
3. Execute `satellite-maintain upgrade list-versions` and verify proper output is presented.
4. Follow the rest of the upgrade documentation.
- external trackers
- links to
-
RHBA-2024:140284 Important: Satellite 6.16.0 release