capsule-installer to test if katello is of the same version than capsule
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1341660
Description of problem:
Please add a test to the start of capsule-installer that will verify if Satellite version matches to-be-installed Capsule version.
- have a Satellite on some version for a long time
- have a sync plan updating capsules repos
- after few months, install a new capsule
The installation can fail due to so many various reasons. A check if Satellite and Capsule versions match will prevent debugging of really unexpected problem.
Version-Release number of selected component (if applicable):
Any Sat/Caps version (incl. 6.2 beta)
Steps to Reproduce:
- See user story above
- alternativelly, upgrade Sat but dont update Capsule repos such that you try to install old Capsule version under new version of Satellite
capsule-installer attempts to install Capsule (and optionally fails on hard-to-debug/understand issues)
capsule-installer to stop with warning Satellite/Capsule versions mismatch