Bug 1887808

Summary: Satellite-installer fails because of outdated RHSCL repository on DVD ISO
Product: Red Hat Satellite Reporter: Radek Mynar <rmynar>
Component: relengAssignee: Frank DiPrete <fdiprete>
Status: CLOSED ERRATA QA Contact: Radek Mynar <rmynar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: diprete, fdiprete, lpramuk, pcreech
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:09:31 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 Radek Mynar 2020-10-13 12:19:03 UTC
Description of problem:
satellite-installer fails to install rh-postgresql12-postgresql-server, rh-redis5 and more packages. Most probably it is because of outdated RHSCL repository on the DVD. Latest package in the DVD's RHSCL repository is from 7 Nov 2018.

Version-Release number of selected component (if applicable):
Red Hat Satellite 6.8.0 Beta Binary DVD
Last modified: 2020-08-13
SHA-256 Checksum: 24dae45f4b4adf28724d1ceacc4fd84cc4a43864f9012bb0efe8bfc7e995468a 

How reproducible:
always

Steps to Reproduce:
1. Follow the steps of disconnected network installation (chapter 2.1-2.4) https://access.redhat.com/documentation/en-us/red_hat_satellite/6.8-beta/html/installing_satellite_server_from_a_disconnected_network/installing-satellite-server-disconnected
2. launch satellite installer
# satellite-installer --scenario satellite --foreman-initial-organization "Default Organization" --foreman-initial-location "Default Location" --foreman-initial-admin-username admin --foreman-initial-admin-password changeme

Actual results:
Failed to ensure rh-postgresql12-postgresql-server, rh-redis5-redis, foreman-selinux, katello-selinux, candlepin-selinux, crane-selinux are installed
Error: Execution of '/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-server' returned 1: Error: Nothing to do
Error: /Stage[main]/Main/Package[rh-postgresql12-postgresql-server]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-server' returned 1: Error: Nothing to do
Error: Execution of '/bin/yum -d 0 -e 0 -y install rh-redis5-redis' returned 1: Error: Nothing to do
Error: /Stage[main]/Main/Package[rh-redis5-redis]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install rh-redis5-redis' returned 1: Error: Nothing to do

Expected results:
no errors

Additional info:
-

Comment 5 Frank DiPrete 2020-10-13 16:44:56 UTC
Fixed in the compose for 6.8 GA

Comment 6 Lukas Pramuk 2020-10-13 18:34:50 UTC
When I was helping with investigation of this issue I realized we have another issue with ansible version being only 2.4 in disconnected install 

So filed this BZ #1887988

Comment 13 errata-xmlrpc 2020-10-27 13:09:31 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.8 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-2020:4366