Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2180417

Summary: foreman-maintain upgrade list-versions lists 6.14 along with 6.13.z
Product: Red Hat Satellite Reporter: Gaurav Talreja <gtalreja>
Component: Satellite MaintainAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Radek Mynar <rmynar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: ehelms, jpathan, pcreech
Target Milestone: 6.13.0Keywords: Regression, Triaged, Upgrades
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-foreman_maintain-1.2.8-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 13:25:20 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 Gaurav Talreja 2023-03-21 12:34:15 UTC
Description of problem:
foreman-maintain upgrade list-versions lists 6.14 along with 6.13.z, which doesn't exist with the current release, and 6.14 should be included by the 6.14 maintenance repo 

Version-Release number of selected component (if applicable):
Satellite 6.13.0 Snap 15.0
rubygem-foreman_maintain-1.2.7-1.el8sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. # foreman-maintain upgrade list-versions
Checking for new version of satellite-maintain...
Nothing to update, can't find new version of satellite-maintain.
6.13.z
6.14

Actual results:
6.14 is also listed with 6.13.z 

Expected results:
Only 6.13.z is listed, and 6.14 should be listed when 6.14 maintenance repos are available and enabled

Additional info:

Comment 1 Radek Mynar 2023-03-23 14:33:18 UTC
I checked output of 'oreman-maintain upgrade list-versions' on Satellite 6.13 and also 6.12 with enabled 6.13 maintenance repo.

Sat 6.13: 6.13.z
Sat 6.12: 6.12.z 6.13

VERIFIED with Satellite 6.13 SNAP16.0 & Satellite 6.12.3 @RHEL8.7 (rubygem-foreman_maintain-1.2.8-1.el8sat.noarch)

Comment 4 errata-xmlrpc 2023-05-03 13:25:20 UTC
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 (Important: Satellite 6.13 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-2023:2097