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.
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:
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.
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