Bug 1965570

Summary: In satellite upgrade, Package update failed to resolve the dependencies.
Product: Red Hat Satellite Reporter: Devendra Singh <desingh>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: high Docs Contact:
Priority: high    
Version: 6.10.0CC: egolov
Target Milestone: 6.10.0Keywords: Triaged, UpgradeBlocker, Upgrades
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: 2021-11-16 14:11:19 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 2021-05-28 06:37:54 UTC
Description of problem: satellite upgrade failed with package dependency issue.


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

How reproducible:
always

Steps to Reproduce:
1. Prepare the 6.9.z base version setup for the 6.10 upgrade.
2. Run the Upgrade from 6.9.z to 6.10.0 Snap2
3. Package update failed to resolve the dependencies. 

Error: Package: pulp-rpm-plugins-2.21.5-2.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
           Requires: python-pulp-rpm-common = 2.21.5
           Removing: python-pulp-rpm-common-2.21.5-2.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
               python-pulp-rpm-common = 2.21.5-2.el7sat
           Updated By: python-pulp-rpm-common-2.21.5.1-1.el7sat.noarch (sat6)
               python-pulp-rpm-common = 2.21.5.1-1.el7sat
Error: Package: qpid-cpp-client-devel-1.36.0-28.el7amq.x86_64 (@rhel-7-server-satellite-6.8-rpms)
           Requires: qpid-cpp-client = 1.36.0-28.el7amq
           Removing: qpid-cpp-client-1.36.0-28.el7amq.x86_64 (@rhel-7-server-satellite-6.8-rpms)
               qpid-cpp-client = 1.36.0-28.el7amq
           Updated By: qpid-cpp-client-1.36.0-31.el7amq.x86_64 (sat6)
               qpid-cpp-client = 1.36.0-31.el7amq
Error: Package: python-pulp-oid_validation-2.21.5-2.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
           Requires: python-pulp-repoauth = 2.21.5
           Removing: python-pulp-repoauth-2.21.5-2.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
               python-pulp-repoauth = 2.21.5-2.el7sat
           Updated By: python-pulp-repoauth-2.21.5.1-1.el7sat.noarch (sat6)
               python-pulp-repoauth = 2.21.5.1-1.el7sat
**********************************************************************
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
**********************************************************************

Error: Package: pulp-rpm-plugins-2.21.5-2.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
           Requires: python-pulp-rpm-common = 2.21.5
           Removing: python-pulp-rpm-common-2.21.5-2.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
               python-pulp-rpm-common = 2.21.5-2.el7sat
           Updated By: python-pulp-rpm-common-2.21.5.1-1.el7sat.noarch (sat6)
               python-pulp-rpm-common = 2.21.5.1-1.el7sat
Error: Package: qpid-cpp-client-devel-1.36.0-28.el7amq.x86_64 (@rhel-7-server-satellite-6.8-rpms)
           Requires: qpid-cpp-client = 1.36.0-28.el7amq
           Removing: qpid-cpp-client-1.36.0-28.el7amq.x86_64 (@rhel-7-server-satellite-6.8-rpms)
               qpid-cpp-client = 1.36.0-28.el7amq
           Updated By: qpid-cpp-client-1.36.0-31.el7amq.x86_64 (sat6)
               qpid-cpp-client = 1.36.0-31.el7amq
Error: Package: python-pulp-oid_validation-2.21.5-2.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
           Requires: python-pulp-repoauth = 2.21.5
           Removing: python-pulp-repoauth-2.21.5-2.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
               python-pulp-repoauth = 2.21.5-2.el7sat
           Updated By: python-pulp-repoauth-2.21.5.1-1.el7sat.noarch (sat6)
               python-pulp-repoauth = 2.21.5.1-1.el7sat
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
--------------------------------------------------------------------------------
Scenario [Migration scripts to Satellite 6.10] failed.


Actual results:
Package update failed to resolve the dependencies

Expected results:
Package update should be updated successfully.

Additional info:

Comment 4 Evgeni Golov 2021-06-01 15:02:51 UTC
@desingh so 6.10 is not supposed to have any Pulp2, and you need to first migrate your 6.9 to a pulp3 install before you can upgrade to 6.10.

I am fixing the QPID part of this BZ, as that is valid, but the pulp dependencies should not be a problem when you follow the 6.9 to 6.10 upgrade procedure.

Comment 5 Evgeni Golov 2021-06-01 15:03:49 UTC
if you need to try yourself, take this qpid rpm: http://download.eng.bos.redhat.com/brewroot/vol/rhel-7/packages/qpid-cpp/1.36.0/31.el7amq/x86_64/qpid-cpp-client-devel-1.36.0-31.el7amq.x86_64.rpm -- it should allow clean upgrade of the qpid packages to the version in 6.10

Comment 7 Devendra Singh 2021-06-03 15:12:25 UTC
Verified on 6.10 Snap3.

Comment 10 errata-xmlrpc 2021-11-16 14:11:19 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 (Moderate: Satellite 6.10 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-2021:4702