Bug 2228074

Summary: Satellite can not be installed on RHEL 8.9
Product: Red Hat Satellite Reporter: Ondrej Gajdusek <ogajduse>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: POST --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.12.4CC: ahumbe, ehelms, rlavi
Target Milestone: UnspecifiedKeywords: TestBlockerForLayeredProduct, 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: 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 Ondrej Gajdusek 2023-08-01 10:17:23 UTC
Description of problem:
Unmet dependency for smart_proxy_openscap in RHEL 8.9.

Version-Release number of selected component (if applicable):
Satellite 6.12 and onwards

How reproducible:
always

Steps to Reproduce:
1. spin up RHEL 8.9, configure RHEL 8.9 baseos and appstream repositories
2. follow Satellite documentation to set up Satellite repos from Red Hat CDN
3. dnf install satellite
4. satellite-installer --scenario satellite

Actual results:
Installer (dnf) fails to install rubygem-smart_proxy_openscap due to a fixed requirement to openscap < 1.3.8.

nothing provides openscap < 1.3.8 needed by rubygem-openscap-0.4.9-8.el8sat.noarch from satellite-6.12-for-rhel-8-x86_64-rpms

Expected results:
Requirements of smart_proxy_openscap should allow installing a newer version of the openscap package -> dev should rely on QE to test Satellite on RHEL composes to verify that newer openscap package from RHEL version did not break Satellite. 

Additional info:
* This BZ is identical to BZ2190196.
* RHEL 8.9 ships openscap-1.3.8-1.el8.x86_64
* Identical BZ to this one will pop up if openscap package version gets updated in RHEL 8.10 in case the fix for this BZ will be the same as in BZ2190196.


# dnf --disableplugin=foreman-protector install rubygem-smart_proxy_openscap
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:10 ago on Tue 01 Aug 2023 05:58:20 AM EDT.
Error: 
 Problem: package rubygem-smart_proxy_openscap-0.9.2-1.el8sat.noarch from satellite-6.12-for-rhel-8-x86_64-rpms requires rubygem(openscap) >= 0.4.7, but none of the providers can be installed
  - package rubygem-smart_proxy_openscap-0.9.2-1.el8sat.noarch from satellite-6.12-for-rhel-8-x86_64-rpms requires rubygem(openscap) < 0.5, but none of the providers can be installed
  - package rubygem-smart_proxy_openscap-0.9.2-1.el8sat.noarch from satellite-6.12-for-rhel-8-x86_64-rpms requires (rubygem(openscap) >= 0.4.7 with rubygem(openscap) < 0.5), but none of the providers can be installed
  - conflicting requests
  - nothing provides openscap < 1.3.7 needed by rubygem-openscap-0.4.9-7.el8sat.noarch from satellite-6.12-for-rhel-8-x86_64-rpms
  - nothing provides openscap < 1.3.8 needed by rubygem-openscap-0.4.9-8.el8sat.noarch from satellite-6.12-for-rhel-8-x86_64-rpms
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

# rpm -qpR rubygem-openscap-0.4.9-8.el8sat.noarch.rpm | grep openscap
openscap >= 1.2.9
openscap < 1.3.8