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 2252945 - Upgrade to 6.15 fails due to missing obsoletes for python39 rpms
Summary: Upgrade to 6.15 fails due to missing obsoletes for python39 rpms
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.15.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: 6.15.0
Assignee: Patrick Creech
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-05 11:53 UTC by Lukas Pramuk
Modified: 2024-04-23 17:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-23 17:16:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-21689 0 None None None 2023-12-05 11:56:06 UTC
Red Hat Product Errata RHSA-2024:2010 0 None None None 2024-04-23 17:16:04 UTC

Description Lukas Pramuk 2023-12-05 11:53:20 UTC
Description of problem:
Upgrade to 6.15 fails due to missing obsoletes for python39 rpms

Version-Release number of selected component (if applicable):
6.15.0 Snap 1.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 - AppStre  54 MB/s |  58 MB     00:01    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS   60 MB/s |  64 MB     00:01    
Satellite 6.15 RHEL8                            4.5 MB/s | 875 kB     00:00    
Satellite Maintenance 6.15 RHEL8                121 kB/s | 7.5 kB     00:00    
Error: 
 Problem 1: package python3.11-django-4.2.2-3.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-django < 4.2.2-3.el8pc provided by python39-django-3.2.21-1.el8pc.noarch from @System
  - package python39-django-guardian-2.4.0-5.el8pc.noarch from @System requires python39-django >= 2.2, but none of the providers can be installed
  - cannot install the best update candidate for package python39-django-3.2.21-1.el8pc.noarch
  - problem with installed package python39-django-guardian-2.4.0-5.el8pc.noarch
 Problem 2: package python3.11-docutils-0.20.1-3.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-docutils < 0.20.1-3.el8pc provided by python39-docutils-0.19-1.1.el8sat.noarch from @System
  - package python39-daemon-2.3.1-1.1.el8sat.noarch from @System requires python39-docutils, but none of the providers can be installed
  - cannot install the best update candidate for package python39-docutils-0.19-1.1.el8sat.noarch
  - problem with installed package python39-daemon-2.3.1-1.1.el8sat.noarch
 Problem 3: package python3.11-gitdb-4.0.10-3.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-gitdb < 4.0.10-3.el8pc provided by python39-gitdb-4.0.10-1.el8pc.noarch from @System
  - package python39-gitpython-3.1.40-0.1.el8pc.noarch from @System requires python39-gitdb >= 4.0.1, but none of the providers can be installed
  - package python39-gitpython-3.1.40-0.1.el8pc.noarch from @System requires python39-gitdb < 5, but none of the providers can be installed
  - cannot install the best update candidate for package python39-gitdb-4.0.10-1.el8pc.noarch
  - problem with installed package python39-gitpython-3.1.40-0.1.el8pc.noarch
 Problem 4: package python3.11-pexpect-4.8.0-4.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-pexpect < 4.8.0-4.el8pc provided by python39-pexpect-4.8.0-2.el8sat.noarch from @System
  - package python39-ansible-runner-2.2.1-3.el8sat.noarch from @System requires python3.9dist(pexpect) >= 4.6, but none of the providers can be installed
  - cannot install the best update candidate for package python39-pexpect-4.8.0-2.el8sat.noarch
  - problem with installed package python39-ansible-runner-2.2.1-3.el8sat.noarch
 Problem 5: package python3.11-pyparsing-3.1.1-2.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-pyparsing < 3.1.1-2.el8pc provided by python39-pyparsing-2.4.7-3.el8pc.noarch from @System
  - package python39-packaging-21.3-1.1.el8sat.noarch from @System requires python39-pyparsing >= 2.0.2, but none of the providers can be installed
  - package python39-packaging-21.3-1.1.el8sat.noarch from @System requires python39-pyparsing < 3, but none of the providers can be installed
  - cannot install the best update candidate for package python39-pyparsing-2.4.7-3.el8pc.noarch
  - problem with installed package python39-packaging-21.3-1.1.el8sat.noarch
 Problem 6: package python3.11-zipp-3.4.0-6.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-zipp < 3.4.0-6.el8pc provided by python39-zipp-3.4.0-4.el8pc.noarch from @System
  - package python39-importlib-resources-5.4.0-4.el8pc.noarch from @System requires python39-zipp >= 3.1.0, but none of the providers can be installed
  - cannot install the best update candidate for package python39-zipp-3.4.0-4.el8pc.noarch
  - problem with installed package python39-importlib-resources-5.4.0-4.el8pc.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 1 Patrick Creech 2023-12-07 20:04:10 UTC
There were various issues that were identified, and we have attempted to fix them. Current state of 6.15 repos should allow for a clean upgrade.  feel free to follow up with me if any hiccups arise.

Comment 2 Lukas Pramuk 2023-12-08 11:04:56 UTC
FailedQA.

@Satellite 6.15.0 Snap 2.0

2 problems out of 6 still persists:

Error: 
 Problem 1: package python3.11-django-4.2.2-3.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-django < 4.2.2-3.el8pc provided by python39-django-3.2.21-1.el8pc.noarch from @System
  - package python39-django-guardian-2.4.0-5.el8pc.noarch from @System requires python39-django >= 2.2, but none of the providers can be installed
  - cannot install the best update candidate for package python39-django-3.2.21-1.el8pc.noarch
  - problem with installed package python39-django-guardian-2.4.0-5.el8pc.noarch
 Problem 2: package python3.11-zipp-3.4.0-6.el8pc.noarch from Satellite_Engineering_Satellite_6_15_Composes_Satellite_6_15_RHEL8 obsoletes python39-zipp < 3.4.0-6.el8pc provided by python39-zipp-3.4.0-4.el8pc.noarch from @System
  - package python39-importlib-resources-5.4.0-4.el8pc.noarch from @System requires python39-zipp >= 3.1.0, but none of the providers can be installed
  - cannot install the best update candidate for package python39-zipp-3.4.0-4.el8pc.noarch
  - problem with installed package python39-importlib-resources-5.4.0-4.el8pc.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

>>> missing obsolete for python39-django-guardian and python39-importlib-resources

Comment 3 Patrick Creech 2023-12-08 19:49:19 UTC
There were environmental differences between the machines that test the upgrades and the machine I used to fix them.  THis should now be fixed as of snap 2.1

Comment 4 Lukas Pramuk 2023-12-12 13:45:10 UTC
@pcreech

FYI This issue is reproduced only by those who upgraded from 6.12 upto 6.15

Comment 5 Lukas Pramuk 2023-12-12 14:42:17 UTC
VERIFIED.

@Satelite 6.15.0 Snap 2.1
satellite-common-6.15.0-2.el8sat.noarch

using Upgrades Automation:

TASK [Upgrade Satellite] *******************************************************
Friday 08 December 2023  18:43:54 +0000 (0:03:02.691)       0:05:35.525 ******* 
changed: [satqe_upgrades-satellite-upgrade-source-6.15.0-2.1-rhel8.9-83c943d3]



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

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

Comment 8 errata-xmlrpc 2024-04-23 17:16:02 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


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