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 1841098

Summary: Failed to resolve package dependency while doing satellite upgrade.
Product: Red Hat Satellite Reporter: Devendra Singh <desingh>
Component: PackagingAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: egolov, ehelms, smallamp
Target Milestone: 6.8.0Keywords: Triaged, UpgradeBlocker, Upgrades
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tfm-rubygem-coffee-rails-5.0.0,tfm-rubygem-passenger-4.0.18-26,satellite-6.8.0-0.4.beta Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:02:46 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 Devendra Singh 2020-05-28 11:12:18 UTC
Description of problem: Failed to resolve package dependency while doing satellite upgrade.

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

How reproducible:
always

Steps to Reproduce:
1. Configure all required 6.8 upstream repository
2. Set FOREMAN_MAINTAIN_USE_BETA=1 
3. Run foreman-maintain upgrade check --target-version 6.8 -y
/ Some repositories missing, calling `subscription-manager refresh`   [FAIL]    
Following repositories are not available on your system: rhel-7-server-satellite-tools-6.8-beta-rpms
--------------------------------------------------------------------------------
Scenario [Checks before upgrading to Satellite 6.8] failed.

4. Run foreman-maintain upgrade run --whitelist 'disk-performance, repository-setup' --target-version 6.8 -y

--> Finished Dependency Resolution
Error: Package: tfm-rubygem-passenger-4.0.18-25.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
           Requires: tfm-ror52-rubygem(rack)
           Removing: tfm-ror52-rubygem-rack-2.0.6-1.el7sat.noarch (@rhel-7-server-satellite-6.6-rpms)
               tfm-ror52-rubygem(rack) = 2.0.6
           Obsoleted By: tfm-rubygem-rack-2.2.2-1.el7sat.noarch (sat6)
               Not found
Error: Package: tfm-ror52-rubygem-coffee-rails-4.2.2-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
           Requires: tfm-ror52-rubygem(railties)
           Removing: tfm-ror52-rubygem-railties-5.2.1-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
               tfm-ror52-rubygem(railties) = 5.2.1
           Obsoleted By: tfm-rubygem-railties-6.0.2.2-1.el7sat.noarch (sat6)
               Not found
Error: Package: tfm-rubygem-wicked-1.3.3-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
           Requires: tfm-ror52-rubygem(railties) >= 3.0.7
           Removing: tfm-ror52-rubygem-railties-5.2.1-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
               tfm-ror52-rubygem(railties) = 5.2.1
           Obsoleted By: tfm-rubygem-railties-6.0.2.2-1.el7sat.noarch (sat6)
               Not found
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-1062.9.1.el7 will be erased
---> Package tfm-ror52-rubygem-rack.noarch 0:2.0.6-1.el7sat will be obsoleted
--> Processing Dependency: tfm-ror52-rubygem(rack) for package: tfm-rubygem-passenger-4.0.18-25.el7sat.x86_64
---> Package tfm-ror52-rubygem-railties.noarch 0:5.2.1-1.el7sat will be obsoleted
--> Processing Dependency: tfm-ror52-rubygem(railties) for package: tfm-ror52-rubygem-coffee-rails-4.2.2-1.el7sat.noarch
--> Processing Dependency: tfm-ror52-rubygem(railties) >= 3.0.7 for package: tfm-rubygem-wicked-1.3.3-1.el7sat.noarch
--> Finished Dependency Resolution
Error: Package: tfm-rubygem-passenger-4.0.18-25.el7sat.x86_64 (@rhel-7-server-satellite-6.5-rpms)
           Requires: tfm-ror52-rubygem(rack)
           Removing: tfm-ror52-rubygem-rack-2.0.6-1.el7sat.noarch (@rhel-7-server-satellite-6.6-rpms)
               tfm-ror52-rubygem(rack) = 2.0.6
           Obsoleted By: tfm-rubygem-rack-2.2.2-1.el7sat.noarch (sat6)
               Not found
Error: Package: tfm-ror52-rubygem-coffee-rails-4.2.2-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
           Requires: tfm-ror52-rubygem(railties)
           Removing: tfm-ror52-rubygem-railties-5.2.1-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
               tfm-ror52-rubygem(railties) = 5.2.1
           Obsoleted By: tfm-rubygem-railties-6.0.2.2-1.el7sat.noarch (sat6)
               Not found
Error: Package: tfm-rubygem-wicked-1.3.3-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
           Requires: tfm-ror52-rubygem(railties) >= 3.0.7
           Removing: tfm-ror52-rubygem-railties-5.2.1-1.el7sat.noarch (@rhel-7-server-satellite-6.5-rpms)
               tfm-ror52-rubygem(railties) = 5.2.1
           Obsoleted By: tfm-rubygem-railties-6.0.2.2-1.el7sat.noarch (sat6)
               Not found

Actual results:
Failed to resolve package dependencies.

Expected results:
package dependencies should be resolved.

Additional info:

Comment 8 Sudhir Mallamprabhakara 2020-06-23 03:32:56 UTC
Can you verify against snap 5 and update the BZ.

Comment 9 Devendra Singh 2020-06-23 04:58:59 UTC
Verified it on 6.8 Snap4.

Comment 12 errata-xmlrpc 2020-10-27 13:02:46 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