RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 2086704 - Loosen the version of the subscription-manager-rhsm-certificate Requires
Summary: Loosen the version of the subscription-manager-rhsm-certificate Requires
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: subscription-manager
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.1
Assignee: mhorky
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-16 13:39 UTC by Pino Toscano
Modified: 2022-11-15 13:13 UTC (History)
2 users (show)

Fixed In Version: subscription-manager-1.29.26-4.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 11:19:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/rpms subscription-manager merge_requests 26 0 None merged spec: relax subscription-manager-rhsm-certificates requires 2022-06-06 09:49:04 UTC
Red Hat Issue Tracker ENT-4997 0 None None None 2022-05-16 13:53:18 UTC
Red Hat Issue Tracker RHELPLAN-122181 0 None None None 2022-05-16 14:03:52 UTC
Red Hat Product Errata RHBA-2022:8341 0 None None None 2022-11-15 11:19:55 UTC

Description Pino Toscano 2022-05-16 13:39:14 UTC
Description of problem:
The subscription-manager source currently builds the subscription-manager-rhsm-certificates package, and because of that the subscription-manager packages can require a strict version of subscription-manager-rhsm-certificates.

Due to the upcoming split of subscription-manager-rhsm-certificates in its own source, the subscription-manager-rhsm-certificates will have its own version system different than subscription-manager itself, and thus this will break the current versioned Require.

The solution for this is to do a simple build of the current version in RHEL 9 with the only change of dropping the version in the subscription-manager-rhsm-certificates Requires. This will make sure that builds of the upcoming subscription-manager-rhsm-certificates source will be able to satisfy the subscription-manager requirements.

Comment 2 Pino Toscano 2022-05-16 13:54:24 UTC
This was fixed upstream with commit:
https://github.com/candlepin/subscription-manager/commit/4ca19853199f60c59e6a6f9fdadfa684a96335b5

Comment 4 John Sefler 2022-06-06 12:26:25 UTC
Before the fix was applied....

[root@kvm-03-guest04 ~]# rpm -qa | grep subscription-manager
subscription-manager-rhsm-certificates-1.29.26-3.el9_0.x86_64
python3-subscription-manager-rhsm-1.29.26-3.el9_0.x86_64
libdnf-plugin-subscription-manager-1.29.26-3.el9_0.x86_64
subscription-manager-1.29.26-3.el9_0.x86_64
[root@kvm-03-guest04 ~]# 
[root@kvm-03-guest04 ~]# rpm -q --whatrequires subscription-manager-rhsm-certificates
python3-subscription-manager-rhsm-1.29.26-3.el9_0.x86_64
[root@kvm-03-guest04 ~]# 
[root@kvm-03-guest04 ~]# rpm -q python3-subscription-manager-rhsm --requires | grep subscription-manager-rhsm-certificates
subscription-manager-rhsm-certificates = 1.29.26-3.el9_0
[root@kvm-03-guest04 ~]# 
                                         ^^^^^^^^^^^^^^^
                                         ^^^^^^^^^^^^^^^
THIS IS THE VERSION DEPENDENCY THAT WE WANT TO LOOSEN WHICH IS CURRENTLY RELEASED ON RHEL-9.0


After the fix was applied (Fixed in version subscription-manager-1.29.26-4.el9)...

[root@kvm-03-guest04 ~]# rpm -qa | grep subscription-manager
subscription-manager-rhsm-certificates-1.29.26-4.el9.x86_64
python3-subscription-manager-rhsm-1.29.26-4.el9.x86_64
libdnf-plugin-subscription-manager-1.29.26-4.el9.x86_64
subscription-manager-1.29.26-4.el9.x86_64
[root@kvm-03-guest04 ~]# 
[root@kvm-03-guest04 ~]# rpm -q --whatrequires subscription-manager-rhsm-certificates
python3-subscription-manager-rhsm-1.29.26-4.el9.x86_64
[root@kvm-03-guest04 ~]# 
[root@kvm-03-guest04 ~]# rpm -q python3-subscription-manager-rhsm --requires | grep subscription-manager-rhsm-certificates
subscription-manager-rhsm-certificates
[root@kvm-03-guest04 ~]# 
                                         ^^^^^^^^^^^^^^^
                                         ^^^^^^^^^^^^^^^
PRE-VERIFIED: THE STRICT VERSION DEPENDENCY ON subscription-manager-rhsm-certificates HAS BEEN REMOVED ALLOWING subscription-manager-rhsm-certificates TO BE UPGRADED OR DOWNGRADED WITHOUT CONFLICT TO THE INSTALLED VERSION OF python3-subscription-manager-rhsm.

Comment 7 John Sefler 2022-07-19 18:40:20 UTC
Final Verification in compose RHEL-9.1.0-20220718.0...


**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
...snip...

      Beaker Test information:
                         HOSTNAME=kvm-04-guest05.lab.eng.rdu2.redhat.com
                            JOBID=6825356
                         RECIPEID=12300306
                    RESULT_SERVER=
                           DISTRO=RHEL-9.1.0-20220718.0
                     ARCHITECTURE=x86_64

...snip...
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
Web console: https://kvm-04-guest05.lab.eng.rdu2.redhat.com:9090/ or https://10.8.1.107:9090/

Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Tue Jul 19 13:59:00 2022 from 10.22.32.11
[root@kvm-04-guest05 ~]# 
[root@kvm-04-guest05 ~]# rpm --query --all | grep subscription-manager | sort
libdnf-plugin-subscription-manager-1.29.29-1.el9.x86_64
python3-subscription-manager-rhsm-1.29.29-1.el9.x86_64
subscription-manager-1.29.29-1.el9.x86_64
subscription-manager-rhsm-certificates-20220623-1.el9.noarch
[root@kvm-04-guest05 ~]# 
[root@kvm-04-guest05 ~]# rpm --query --changelog subscription-manager | egrep '^\*|relax' | head
* Wed Jul 13 2022 Pino Toscano <ptoscano> 1.29.29-1
* Thu Jun 02 2022 Christopher Snyder <csnyder> 1.29.28-1
- spec: relax subscription-manager-rhsm-certificates requires        <====== VERIFIED changelog responsible for this bug fix
* Thu Jun 02 2022 Christopher Snyder <csnyder>
- spec: relax subscription-manager-rhsm-certificates requires        <====== VERIFIED changelog responsible for this bug fix
* Tue Feb 15 2022 Christopher Snyder <csnyder> 1.29.26-1
* Fri Feb 11 2022 Christopher Snyder <csnyder> 1.29.25-1
* Thu Feb 10 2022 Christopher Snyder <csnyder> 1.29.24-1
* Mon Jan 17 2022 Christopher Snyder <csnyder> 1.29.23-1
* Mon Jan 17 2022 Christopher Snyder <csnyder>
[root@kvm-04-guest05 ~]# 
[root@kvm-04-guest05 ~]# rpm --query --whatrequires subscription-manager-rhsm-certificates
python3-subscription-manager-rhsm-1.29.29-1.el9.x86_64
subscription-manager-1.29.29-1.el9.x86_64
[root@kvm-04-guest05 ~]# 
[root@kvm-04-guest05 ~]# rpm --query python3-subscription-manager-rhsm-1.29.29-1.el9.x86_64 --requires | grep subscription-manager-rhsm-certificates
subscription-manager-rhsm-certificates
                                         ^^^^^^^^^^^^^^^
VERIFIED: python3-subscription-manager-rhsm has no version specific restriction on required package subscription-manager-rhsm-certificates; any version will do

[root@kvm-04-guest05 ~]# rpm --query subscription-manager-1.29.29-1.el9.x86_64 --requires | grep subscription-manager-rhsm-certificates
subscription-manager-rhsm-certificates
                                         ^^^^^^^^^^^^^^^
VERIFIED: subscription-manager has no version specific restriction on required package subscription-manager-rhsm-certificates; any version will do

Comment 9 errata-xmlrpc 2022-11-15 11:19:33 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 (subscription-manager bug fix and enhancement update), 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/RHBA-2022:8341


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