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 - satellite-upgrade to 6.12 fails in packages-update step to resolve python dependencies
Summary: satellite-upgrade to 6.12 fails in packages-update step to resolve python dep...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.12.0
Hardware: All
OS: All
unspecified
urgent
Target Milestone: 6.12.0
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-11 08:46 UTC by Gaurav Talreja
Modified: 2022-11-16 13:35 UTC (History)
1 user (show)

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:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:35:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-12237 0 None None None 2022-08-16 18:05:47 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:35:25 UTC

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


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