Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2104531

Summary: 6.10 to 6.11 upgrade failure
Product: Red Hat Satellite Reporter: Brant Evans <brant.evans>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Lukas Pramuk <lpramuk>
Severity: high Docs Contact:
Priority: high    
Version: 6.11.0CC: ahumbe, ajambhul, casl, egolov, jbhatia, ldelouw, msunil, osousa, pdudley, pdwyer, rcavalca, saydas, zhunting
Target Milestone: 6.12.0Keywords: Triaged, Upgrades, WorkAround
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satellite-6.12.0-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2107699 (view as bug list) Environment:
Last Closed: 2022-10-04 16:23:38 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 Brant Evans 2022-07-06 14:32:39 UTC
Description of problem:
When upgrading Satellite server from 6.10 to 6.11 the following error is returned during the update packages phase.

---> Package rubygem-ffi.x86_64 0:1.4.0-3.el7sat will be obsoleted
--> Processing Dependency: rubygem(ffi) >= 1.0.9 for package: rubygem-openscap-0.4.7-4.el7sat.noarch
--> Processing Dependency: rubygem(ffi) >= 0.5.0 for package: rubygem-rb-inotify-0.9.7-5.el7sat.noarch
--> Finished Dependency Resolution
Error: Package: rubygem-openscap-0.4.7-4.el7sat.noarch (@rhel-7-server-satellite-6.6-rpms)
           Requires: rubygem(ffi) >= 1.0.9
           Removing: rubygem-ffi-1.4.0-3.el7sat.x86_64 (@rhel-7-server-satellite-6.4-rpms)
               rubygem(ffi) = 1.4.0
           Obsoleted By: satellite-common-6.11.0-2.el7sat.noarch (rhel-7-server-satellite-6.11-rpms)
               Not found
Error: Package: rubygem-rb-inotify-0.9.7-5.el7sat.noarch (@rhel-7-server-satellite-6.6-rpms)
           Requires: rubygem(ffi) >= 0.5.0
           Removing: rubygem-ffi-1.4.0-3.el7sat.x86_64 (@rhel-7-server-satellite-6.4-rpms)
               rubygem(ffi) = 1.4.0
           Obsoleted By: satellite-common-6.11.0-2.el7sat.noarch (rhel-7-server-satellite-6.11-rpms)
               Not found



Version-Release number of selected component (if applicable):
6.10

How reproducible:


Steps to Reproduce:
1. Install Satellite 6.4
2. Upgrade 6.4 -> 6.5 -> 6.6 -> 6.7 -> 6.8 -> 6.9 -> 6.10
3. Upgrade to 6.11

Actual results:
Upgrade failed

Expected results:
Upgrade succeeds

Additional info:
The upgrade was successful after the rubygem-openscap-0.4.7-4.el7sat.noarch and rubygem-rb-inotify-0.9.7-5.el7sat.noarch packages were removed and the upgrade restarted.

Comment 5 Lukas Pramuk 2022-10-04 16:23:38 UTC
This BZ is about fixing el7 obsoletes (for 6.11 el7)
There is nothing to verify on 6.12 el8 - no such obsoletes.

The fix is only in source - spec file changes are surrounded by %if 0%{?rhel} == 7, no fix present on el8

# rpm -q --obsoletes -p satellite-common-6.12.0-3.el8sat.noarch
<empty>