Bug 1980798

Summary: In satellite upgrade, yum update failed to resolve pulp-server dependency
Product: Red Hat Satellite Reporter: Devendra Singh <desingh>
Component: PackagingAssignee: Odilon Sousa <osousa>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: ehelms
Target Milestone: 6.10.0Keywords: AutomationBlocker, Regression, Triaged, UpgradeBlocker
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: 2021-11-16 14:12:32 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-07-09 14:46:00 UTC
Description of problem: In satellite upgrade, yum update failed to resolve pulp-server dependency


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

How reproducible:
always

Steps to Reproduce:
1. Prepare the 6.9.z satellite using the upgrade template.
2. Configure the 6.10 repository on that.
3. Run the pulp migration and it completes successfully.
4. Run the upgrade from 6.9.z to 6.10 Snap8.
5. yum update failed to resolve the pulp-server dependency.

Error: Package: pulp-server-2.21.5.1-1.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
            Requires: python-pulp-common = 2.21.5.1            
            Removing: python-pulp-common-2.21.5.1-1.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
                python-pulp-common = 2.21.5.1-1.el7sat             
            Updated By: python-pulp-common-2.21.5.2-1.el7sat.noarch (sat6tools7)
                python-pulp-common = 2.21.5.2-1.el7sat             
 Error: Package: python-pulp-repoauth-2.21.5.1-1.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
            Requires: python-pulp-common = 2.21.5.1            
            Removing: python-pulp-common-2.21.5.1-1.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
                python-pulp-common = 2.21.5.1-1.el7sat             
            Updated By: python-pulp-common-2.21.5.2-1.el7sat.noarch (sat6tools7)
                python-pulp-common = 2.21.5.2-1.el7sat             


Actual results:
yum update failed to resolve pulp-server dependency

Expected results:
yum update should complete successfully.

Additional info:

The problem does not come if we use new installed satellite 6.9, it comes with the upgraded setup that we are upgrading since 6.0.

Comment 4 Devendra Singh 2021-08-20 17:23:19 UTC
Verified on 6.10 Snap14

# foreman-maintain upgrade run --whitelist "content-switchover" --target-version 6.10 -y
Checking for new version of satellite-maintain...
Nothing to update, can't find new version of satellite-maintain.
Running Checks before upgrading to Satellite 6.10
================================================================================
Skipping pre_upgrade_checks phase as it was already run before.
...........................
...........................
The step was skipped as it was already run and it is marked as run_once. Use --force to enforce the execution.
--------------------------------------------------------------------------------
Unlock packages:                                                      [OK]
--------------------------------------------------------------------------------
Update package(s) :                                                   [OK]
--------------------------------------------------------------------------------
Procedures::Installer::Upgrade:                                       [OK]
--------------------------------------------------------------------------------
Execute upgrade:run rake task:                                        [OK]
--------------------------------------------------------------------------------
................................................................................
................................................................................
Print pulp 2 removal instructions: 
======================================================
Migration of content from Pulp 2 to Pulp3 is complete
After verifying accessibility of content from clients,
it is strongly recommend to run "foreman-maintain content remove-pulp2"
This will remove Pulp 2, MongoDB, and all pulp2 content in /var/lib/pulp/content/
======================================================                [OK]
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
Upgrade finished.

Comment 7 errata-xmlrpc 2021-11-16 14:12:32 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