Bug 2256927

Summary: Upgrade to 6.15 fails again due to another missing obsoletes for python39 rpms
Product: Red Hat Satellite Reporter: Lukas Pramuk <lpramuk>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.15.0CC: ehelms, osousa, rlavi
Target Milestone: 6.15.0Keywords: Triaged, UpgradeBlocker, Upgrades
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulpcore-obsolete-packages-1.0-7.el8pc Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:16:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Pramuk 2024-01-05 10:59:21 UTC
This bug was initially created as a copy of Bug #2252945

I am copying this bug because: 
similar issue


Description of problem:
Upgrade to 6.15 fails again due to another missing obsoletes for python39 rpms

Version-Release number of selected component (if applicable):
6.15.0 Snap 5.0

How reproducible:
deterministic

Steps to Reproduce:
1. Upgrade to 6.15.0


Failed executing dnf --downloadonly -y --disableplugin=foreman-protector update, exit status 1:
 Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS   64 MB/s |  64 MB     00:00    
Red Hat Enterprise Linux 8 for x86_64 - AppStre  36 MB/s |  58 MB     00:01    
Satellite 6.15 RHEL8                             11 MB/s | 877 kB     00:00    
Satellite Maintenance 6.15 RHEL8                 79 kB/s | 7.5 kB     00:00    
Error: 
 Problem 1: package python3.11-bracex-2.2.1-4.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-bracex < 2.2.1-4.el8pc provided by python39-bracex-2.2.1-2.el8pc.noarch from @System
  - package python39-wcmatch-8.3-2.el8pc.noarch from @System requires python39-bracex >= 2.1.1, but none of the providers can be installed
  - cannot install the best update candidate for package python39-bracex-2.2.1-2.el8pc.noarch
  - problem with installed package python39-wcmatch-8.3-2.el8pc.noarch
 Problem 2: package python3.11-brotli-1.0.9-4.el8pc.x86_64 from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-brotli < 1.0.9-4.el8pc provided by python39-brotli-1.0.9-2.el8pc.x86_64 from @System
  - package python39-aiohttp-3.8.3-2.el8pc.x86_64 from @System requires python39-brotli, but none of the providers can be installed
  - cannot install the best update candidate for package python39-brotli-1.0.9-2.el8pc.x86_64
  - problem with installed package python39-aiohttp-3.8.3-2.el8pc.x86_64
 Problem 3: package python3.11-certifi-2022.12.7-3.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-certifi < 2022.12.7-3.el8pc provided by python39-certifi-2022.12.7-1.1.el8pc.noarch from @System
  - package python39-requests-2.31.0-1.el8pc.noarch from @System requires python39-certifi >= 2017.4.17, but none of the providers can be installed
  - cannot install the best update candidate for package python39-certifi-2022.12.7-1.1.el8pc.noarch
  - problem with installed package python39-requests-2.31.0-1.el8pc.noarch
 Problem 4: package python3.11-ptyprocess-0.7.0-3.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-ptyprocess < 0.7.0-3.el8pc provided by python39-ptyprocess-0.7.0-1.el8sat.noarch from @System
  - package python39-pexpect-4.8.0-2.el8sat.noarch from @System requires python39-ptyprocess, but none of the providers can be installed
  - cannot install the best update candidate for package python39-ptyprocess-0.7.0-1.el8sat.noarch
  - problem with installed package python39-pexpect-4.8.0-2.el8sat.noarch
 Problem 5: package python3.11-pycares-4.1.2-4.el8pc.x86_64 from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-pycares < 4.1.2-4.el8pc provided by python39-pycares-4.1.2-2.el8pc.x86_64 from @System
  - package python39-aiodns-3.0.0-3.el8pc.noarch from @System requires python39-pycares >= 4.0.0, but none of the providers can be installed
  - cannot install the best update candidate for package python39-pycares-4.1.2-2.el8pc.x86_64
  - problem with installed package python39-aiodns-3.0.0-3.el8pc.noarch
 Problem 6: package python39-aiohttp-3.8.3-2.el8pc.x86_64 from @System requires python39-idna-ssl >= 1.0, but none of the providers can be installed
  - package python3.11-idna-ssl-1.1.0-7.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-idna-ssl < 1.1.0-7.el8pc provided by python39-idna-ssl-1.1.0-5.el8pc.noarch from @System
  - package python39-aiohttp-xmlrpc-1.5.0-2.el8pc.noarch from @System requires python39-aiohttp, but none of the providers can be installed
  - cannot install the best update candidate for package python39-idna-ssl-1.1.0-5.el8pc.noarch
  - problem with installed package python39-aiohttp-xmlrpc-1.5.0-2.el8pc.noarch
 Problem 7: package python3.11-certifi-2022.12.7-3.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-certifi < 2022.12.7-3.el8pc provided by python39-certifi-2022.12.7-1.1.el8pc.noarch from @System
  - package python39-requests-2.31.0-1.el8pc.noarch from @System requires python39-certifi >= 2017.4.17, but none of the providers can be installed
  - package python3.11-requests-2.31.0-4.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 requires python3.11-certifi >= 2017.4.17, but none of the providers can be installed
  - cannot install the best update candidate for package python39-requests-2.31.0-1.el8pc.noarch
  - cannot install the best update candidate for package python3.11-requests-2.28.1-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Actual results:
upgrade fails 

Expected results:
upgrade succeeds

Comment 3 Lukas Pramuk 2024-01-16 12:25:47 UTC
VERIFIED.

@Satelite 6.15.0 Snap 6
pulpcore-obsolete-packages-1.0-7.el8pc.noarch

using Upgrades Automation:

TASK [Upgrade Satellite] *******************************************************
Wednesday 10 January 2024  22:50:07 +0000 (0:03:29.255)       0:07:32.370 ***** 
changed: [satqe_upgrades-satellite-upgrade-source-6.15.0-6.0-rhel8.9-fff3b67b]



Update package(s) :                                                   [OK]
--------------------------------------------------------------------------------
Procedures::Installer::Upgrade:                                       [OK]
--------------------------------------------------------------------------------
Execute upgrade:run rake task:                                        [OK]
--------------------------------------------------------------------------------
...

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

Comment 7 errata-xmlrpc 2024-04-23 17:16:57 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.15.0 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-2024:2010