Bug 1980798 - In satellite upgrade, yum update failed to resolve pulp-server dependency
Summary: In satellite upgrade, yum update failed to resolve pulp-server dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.10.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: 6.10.0
Assignee: Odilon Sousa
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-09 14:46 UTC by Devendra Singh
Modified: 2021-11-16 14:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:12:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:12:42 UTC

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


Note You need to log in before you can comment on or make changes to this bug.