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 2222952

Summary: satellite-maintain self-upgrade looking for Satellite 6.14 repositories
Product: Red Hat Satellite Reporter: mithun kalyat <mkalyat>
Component: Satellite MaintainAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.13.2CC: ahumbe, ehelms
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-28 13:56:49 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 mithun kalyat 2023-07-14 15:13:02 UTC
Description of problem:

On Satellite 6.13:

[root@rhsat613 ~]# yum repolist
Updating Subscription Management repositories.
repo id                                                                repo name
rhel-8-for-x86_64-appstream-rpms                                       Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms                                          Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
satellite-6.13-for-rhel-8-x86_64-rpms                                  Red Hat Satellite 6.13 for RHEL 8 x86_64 (RPMs)
satellite-maintenance-6.13-for-rhel-8-x86_64-rpms                      Red Hat Satellite Maintenance 6.13 for RHEL 8 x86_64 (RPMs)


[root@rhsat613 ~]#  satellite-maintain self-upgrade
Running Enables the specified version's maintenance repository and,
updates the satellite-maintain packages
================================================================================
Update package(s) rubygem-foreman_maintain, satellite-maintain:       [FAIL]
Failed executing yum --enablerepo=rhel-8-for-x86_64-baseos-rpms --enablerepo=rhel-8-for-x86_64-appstream-rpms --enablerepo=satellite-maintenance-6.14-for-rhel-8-x86_64-rpms -y --disableplugin=foreman-protector update rubygem-foreman_maintain satellite-maintain, exit status 1:
 Updating Subscription Management repositories.
Error: Unknown repo: 'satellite-maintenance-6.14-for-rhel-8-x86_64-rpms'
--------------------------------------------------------------------------------
Scenario [Enables the specified version's maintenance repository and,
updates the satellite-maintain packages] failed.

The following steps ended up in failing state:

  [packages-update]

Resolve the failed steps and rerun the command.

If the situation persists and, you are unclear what to do next,
contact Red Hat Technical Support.

In case the failures are false positives, use
--whitelist="packages-update"

[root@rhsat613 ~]#



On Satellite 6.12:

[root@rhsat612 ~]# yum repolist
Updating Subscription Management repositories.
repo id                                                                repo name
rhel-8-for-x86_64-appstream-rpms                                       Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms                                          Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
satellite-6.12-for-rhel-8-x86_64-rpms                                  Red Hat Satellite 6.12 for RHEL 8 x86_64 (RPMs)
satellite-maintenance-6.12-for-rhel-8-x86_64-rpms                      Red Hat Satellite Maintenance 6.12 for RHEL 8 x86_64 (RPMs)

[root@rhsat612 ~]# satellite-maintain self-upgrade
Running Enables the specified version's maintenance repository and,
updates the satellite-maintain packages
================================================================================
Update package(s) satellite-maintain, rubygem-foreman_maintain:       [OK]
--------------------------------------------------------------------------------

[root@rhsat612 ~]#

Comment 2 Eric Helms 2023-07-28 13:56:49 UTC

*** This bug has been marked as a duplicate of bug 2047281 ***