Bug 2222952

Summary: satellite-maintain self-upgrade looking for Satellite 6.14 repositories
Product: Red Hat Satellite Reporter: mithun kalyat <mkalyat>
Component: Foreman 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 ***