Bug 2123735

Summary: repositories-validate step on RHEL8 wrongly asks for ansible-2.9-for-rhel-8-x86_64-rpms
Product: Red Hat Satellite Reporter: Lukas Pramuk <lpramuk>
Component: Satellite MaintainAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Gaurav Talreja <gtalreja>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.11.2CC: apatel, kgaikwad
Target Milestone: Unspecified   
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: 2022-09-02 13:10:17 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 Lukas Pramuk 2022-09-02 13:03:16 UTC
Description of problem:
repositories-validate step on RHEL8 wrongly asks for ansible-2.9-for-rhel-8-x86_64-rpms

Version-Release number of selected component (if applicable):
Satellite 6.11.2
rubygem-foreman_maintain-1.0.15-1.el8sat

How reproducible:
deterministic

Steps to Reproduce:
1. Perform upgrade on RHEL8 

# satellite-maintain upgrade run --target-version 6.11.z -y
...

Validating availability of repositories for 6.11
Some repositories missing, calling `subscription-manager refresh`     [FAIL]
Following repositories are not available on your system: ansible-2.9-for-rhel-8-x86_64-rpms
--------------------------------------------------------------------------------
Scenario [Checks before upgrading to Capsule 6.11.z] failed.

The following steps ended up in failing state:

  [repositories-validate]
...


Actual results:
satellite-maintain asks for ansible 2.9 on RHEL8

Expected results:
satellite-maintain upgrades without asking for this repo on RHEL8

Comment 1 Lukas Pramuk 2022-09-02 13:10:17 UTC

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