Bug 2043707

Summary: Satellite upgrade to 6.10.1 fails with multiple rubygem-sinatra package dependency errors
Product: Red Hat Satellite Reporter: Brad Buckingham <bbuckingham>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: high Docs Contact:
Priority: high    
Version: 6.10.0CC: ahumbe, ajambhul, ehelms, jsenkyri, kkinge, ktordeur, ldelouw, osousa, peter.vreman, pmendezh, rkarimpa, saydas, vijsingh
Target Milestone: 6.10.3Keywords: PrioBumpGSS, Triaged, Upgrades
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satellite-6.10.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2024978 Environment:
Last Closed: 2022-03-08 21:26:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Lukas Pramuk 2022-02-16 11:09:43 UTC
VERIFIED.

@Satellite 6.10.3 Snap1
satellite-common-6.10.3-1.el7sat.noarch

by the following manual reproducer:

1) On fresh Satellite 6.9 install rubygem-sinatra with dependecies (old rpms are in brew)

# yum install rubygem-sinatra-1.4.7-3.el7sat.noarch.rpm rubygem-rack-protection-1.5.3-4.el7sat.noarch.rpm rubygem-rack-1.6.4-3.el7sat.noarch.rpm rubygem-tilt-1.3.7-2.git.0.3b416c9.el7sat.noarch.rpm

2) Setup 6.10.3 compose repo and upgrade Satellite to 6.10.3

# satellite-maintain prep-6.10-upgrade

# satellite-maintain content prepare

# satellite-maintain upgrade run --target-version 6.10 -w repositories-validate,repositories-setup -y    <-whitelisted as upgrade is from non-CDN repo
...

Update package(s) :                                                   [OK]
--------------------------------------------------------------------------------
Procedures::Installer::Upgrade:                                       [OK]
--------------------------------------------------------------------------------
Execute upgrade:run rake task:                                        [OK]
...

Upgrade finished.

>>> upgrades finish successfully

3) Check rubygem-sinatra presence

# rpm -q rubygem-sinatra
package rubygem-sinatra is not installed

>>> rubygem-sinatra obsoleted successfully (incomplete set of obsoletes is now fixed)

Comment 6 errata-xmlrpc 2022-03-08 21:26:09 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 (Low: Satellite 6.10.3 Async Bug Fix Update), 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-2022:0790