Bug #23856
closedforeman-maintain does not consider the installed puppet version for z-stream update
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1588161
Description of problem:
When using foreman-maintain to proceed for a minor (z-stream) update of Satellite, it does not evaluate the current version of puppet been installed and will disable the repository "rhel-7-server-satellite-6.3-puppet4-rpms"
Version-Release number of selected component (if applicable):
6.3
How reproducible:
100%
Steps to Reproduce:
1. Have a Satellite 6.3 running puppet 4
2. Have the the following repository enabled:
rhel-7-server-satellite-6.3-puppet4-rpms
3. Run the foreman-maintain upgrade command # foreman-maintain upgrade run --target-version 6.3.z
4. List the enabled repositories
The rhel-7-server-satellite-6.3-puppet4-rpms would have been disabled, thus no updated packages could be fetch from it.
Actual results:
The puppet repository rhel-7-server-satellite-6.3-puppet4-rpms will be disabled, thus no updated packages could be fetch from it.
Expected results:
Have foreman-maintain to enable the proper repositories so we reduce human error and manual interaction to a minimum. So it should check for the actual installed puppet version and enabled the corresponding repository if required.
Additional info:
The capsule-maintain should have the same behavior.
Updated by The Foreman Bot over 6 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/186 added
Updated by Kavita Gaikwad over 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_maintain|1ce820360124ac8db5e62700946b6b615c739d59.
Updated by Ivan Necas over 6 years ago
- Triaged set to No
- Fixed in Releases foreman-maintain-0.2.4 added