Bug 2036187
Summary: | self-upgrade fails with x.y should be greater than existing version x.y.z! | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Gaurav Talreja <gtalreja> |
Component: | Satellite Maintain | Assignee: | Amit Upadhye <aupadhye> |
Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.11.0 | CC: | apatel, aupadhye, egolov, kgaikwad |
Target Milestone: | 6.11.0 | Keywords: | Triaged, Upgrades |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | rubygem-foreman_maintain-1.0.4 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-05 14:31:28 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: | |||
Bug Depends On: | |||
Bug Blocks: | 2026415 |
Description
Gaurav Talreja
2021-12-30 10:25:34 UTC
Hello Gaurav, The self-upgrade command is meant for major version upgrades only and for .z stream upgrades users should go by the existing workflow where self upgrade of foreman-maintain package happens automatically from .z stream repo. The command help text mentions this as well, subcommand 'self-upgrade', 'Perform major version self upgrade', https://github.com/theforeman/foreman_maintain/blob/894e362be977ef6db5bcb9db76198a864b759206/lib/foreman_maintain/cli.rb#L31 As per this should I close this bugzilla? Regards, Amit Upadhye. Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33620 has been resolved. Verified. Tested on Satellite 6.11.0 Snap 15.0 Version: rubygem-foreman_maintain-1.0.6-1.el7sat.noarch Steps: 1. # foreman-maintain self-upgrade --target-version 6.11/6.10 Observation: Updated failure message will be displayed if the same or a previous Sat version passed as target-version, such as "The target-version 6.11 should be greater than existing version 6.11.0, and self-upgrade should be used for major version upgrades only!" 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 (Moderate: Satellite 6.11 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/RHSA-2022:5498 |