Bug 1886031
| Summary: | [RFE] satellite maintain should verify the presence of "satellite" or "satellite-capsule" package installed on the server as a pre-upgrade check | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | anerurka | |
| Component: | Satellite Maintain | Assignee: | Amit Upadhye <aupadhye> | |
| Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 6.8.0 | CC: | ahumbe, apatel, aupadhye, ehelms, gtalreja, kgaikwad, mmccune, pcreech, sokeeffe, thadzhie, zhunting | |
| Target Milestone: | 6.9.0 | Keywords: | FutureFeature, Triaged | |
| Target Release: | Unused | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | rubygem-foreman_maintain-0.7.5-1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1919428 (view as bug list) | Environment: | ||
| Last Closed: | 2021-04-21 14:48:22 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
anerurka
2020-10-07 14:04:32 UTC
Eric, is there a way we could solve this at the packaging level and not have to add additional checks to foreman-maintain? For Satellite 6.9, we are making the change to ensure the satellite RPM is only available in the Satellite repository and the satellite-capsule RPM is only available in the Capsule repository. We will work to add a check to foreman-maintain to verify the satellite or satellite-capsule package is installed and error out with a message telling the user to re-install the missing package. Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31535 has been resolved. Verified. Tested on Satellite 6.9.0 Snap 16.0 Version: rubygem-foreman_maintain-0.7.6-1.el7sat.noarch Steps: 1. foreman-maintain upgrade list-versions 2. foreman-maintain upgrade check --target-version 6.9.z 3. foreman-maintain upgrade run --target-version 6.9.z Observation: satellite-maintain verifies the presence of "satellite" or "satellite-capsule" package installed on the server as a primary check, which runs exactly before the self-upgrade primary check. And if these packages are missing then gives respective messages for upgrade subcommands as per the satellite-installer scenarios of Satellite and Capsule, like, Error: Important rpm package satellite/satellite-capsule is not installed! Install satellite/satellite-capsule rpm to ensure system consistency. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Satellite 6.9 Satellite Maintenance Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1312 |