Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2117522

Summary: satellite-upgrade to 6.12 fails in packages-update step to resolve python dependencies
Product: Red Hat Satellite Reporter: Gaurav Talreja <gtalreja>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Gaurav Talreja <gtalreja>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: osousa
Target Milestone: 6.12.0Keywords: Regression, Triaged, UpgradeBlocker
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: python-pulp-rpm-3.17.7-3,python-django-readonly-field-1.1.1-3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:35:16 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 Gaurav Talreja 2022-08-11 08:46:45 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.12 Snap 6.0

How reproducible:
Always

Steps to Reproduce:
1. Prepare Satellite 6.11.2, enable required repositories and update the f-m package from 6.12
1. # foreman-maintain upgrade run --target-version 6.12  --whitelist="repositories-validate,repositories-setup"
...
--------------------------------------------------------------------------------
Unlock packages:                                                      [OK]
--------------------------------------------------------------------------------
Update package(s) :                                                   [FAIL]
Failed executing yum -y --disableplugin=foreman-protector update, exit status 1:
 Updating Subscription Management repositories.
Red Hat Ansible Engine 2.9 for RHEL 8 x86_64 (R 5.0 MB/s | 2.0 MB     00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS   58 MB/s |  51 MB     00:00
Red Hat Enterprise Linux 8 for x86_64 - AppStre  53 MB/s |  45 MB     00:00
Satellite 6.12 RHEL8                            8.1 MB/s | 901 kB     00:00
Satellite Maintenance 6.12 RHEL8                 89 kB/s | 7.5 kB     00:00
Satellite Client RHEL8                          2.8 MB/s | 110 kB     00:00
Error:
 Problem 1: package python39-createrepo_c-0.20.0-2.el8pc.x86_64 obsoletes python38-createrepo_c < 0.20.0-2.el8pc provided by python38-createrepo_c-0.20.0-1.el8pc.x86_64
  - package python38-pulp-rpm-3.17.7-2.el8pc.noarch requires python38-createrepo_c >= 0.20, but none of the providers can be installed
  - cannot install the best update candidate for package python38-createrepo_c-0.20.0-1.el8pc.x86_64
  - problem with installed package python38-pulp-rpm-3.17.7-2.el8pc.noarch
 Problem 2: package python39-django-3.2.13-4.el8pc.noarch obsoletes python38-django < 3.2.13-4.el8pc provided by python38-django-3.2.13-1.el8pc.noarch
  - package python38-django-readonly-field-1.1.1-2.el8pc.noarch requires python38-django >= 1.11, but none of the providers can be installed
  - cannot install the best update candidate for package python38-django-3.2.13-1.el8pc.noarch
  - problem with installed package python38-django-readonly-field-1.1.1-2.el8pc.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
--------------------------------------------------------------------------------
...

Actual results:
packages-update step fails to resolve dependencies

Expected results:
The upgrade should be successful.

Additional info:

Comment 2 Gaurav Talreja 2022-08-16 18:00:40 UTC
Verified

Tested upgrade from 6.11.2 to 6.12.0 Snap 6.1

Steps:
1. foreman-maintain upgrade run --target-version 6.12  --whitelist="repositories-validate,repositories-setup"

Observation:
During satellite-upgrade, the packages-update step pass but the installer step fails for which raised a separate BZ 2118772 to track.

Comment 6 errata-xmlrpc 2022-11-16 13:35:16 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.12 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-2022:8506