-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.8.0
Description of problem:
satellite-maintain upgrade check --target-version 6.8.z
step Checking repositories enabled on the system
does not compare enabled repository, capsule or satellite to actually installed packages. If capsule repo is enabled on satellite, instead of satellite repository, installer successfully continues and fails later on
Error: Important rpm package satellite is not installed!
Install satellite rpm to ensure system consistency.
Version-Release number of selected component (if applicable):
6.8.4
How reproducible:
100%^
Steps to Reproduce:
1. on satellite server
#subscription-manager repos --disable='rhel-7-server-satellite-6.8-rpms'
2. #subscription-manager repos --enable='rhel-7-server-satellite-capsule-6.8-rpms'
3.foreman-maintain upgrade check --target-version 6.8.z
Actual results:
satellite-maintain sees capsule repo as legitimate if it is enabled on satellite and vice versa leading to upgrade failure on
Error: Important rpm package satellite is not installed!
Install satellite rpm to ensure system consistency.
Expected results:
check for installed packages (satellite.noarch, satellite-capsule.noarch) before verifying the repositories
Additional info: