Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
subscription-manager import --cert importable_cert.pem
start 'subscription-manager-gui', go to 'my subs', select
the subscription, and click the 'remove' button, then yes to confirm dialog,
then:
[subscription-manager (master u=)]$ sudo PYTHONPATH=src/ bin/subscription-manager-gui
Traceback (most recent call last):
File "/home/adrian/src/subscription-manager/src/subscription_manager/gui/mysubstab.py", line 153, in _on_unsubscribe_prompt_response
self.backend.entcertlib.delete([serial])
AttributeError: 'Backend' object has no attribute 'entcertlib'
Version-Release number of selected component (if applicable):
upstream github master a7a6165b57da7c6014e7c8b22dd363a6ffdda3c4
Do not see any trace back backend while removing a imported cert
[root@dhcp35-77 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.17.10-1.el7
python-rhsm: 1.17.6-1.el7
[root@dhcp35-77 ~]# subscription-manager register --auto-attach
Registering to: subscription.rhn.stage.redhat.com:443/subscription
Username: qa
Password:
The system has been registered with ID: da53273e-a0f9-468a-a032-28940197bb6e
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Subscribed
Product Name: Red Hat Enterprise Linux Server - Extended Update Support
Status: Subscribed
[root@dhcp35-77 ~]# cat /etc/pki/entitlement/1734063576043498531.pem >> cert.pem
[root@dhcp35-77 ~]# cat /etc/pki/entitlement/1734063576043498531-key.pem >> cert.pem
[root@dhcp35-77 ~]# subscription-manager import --cert /root/cert.pem
Error: You may not import certificates into a system that is registered to a subscription management service.
[root@dhcp35-77 ~]# subscription-manager clean
All local data removed
[root@dhcp35-77 ~]# subscription-manager import --cert /root/cert.pem
Successfully imported certificate cert.pem
[root@dhcp35-77 ~]#
[root@dhcp35-77 ~]# subscription-manager-gui
[root@dhcp35-77 ~]#
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, 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://rhn.redhat.com/errata/RHSA-2016-2592.html
Description of problem: subscription-manager import --cert importable_cert.pem start 'subscription-manager-gui', go to 'my subs', select the subscription, and click the 'remove' button, then yes to confirm dialog, then: [subscription-manager (master u=)]$ sudo PYTHONPATH=src/ bin/subscription-manager-gui Traceback (most recent call last): File "/home/adrian/src/subscription-manager/src/subscription_manager/gui/mysubstab.py", line 153, in _on_unsubscribe_prompt_response self.backend.entcertlib.delete([serial]) AttributeError: 'Backend' object has no attribute 'entcertlib' Version-Release number of selected component (if applicable): upstream github master a7a6165b57da7c6014e7c8b22dd363a6ffdda3c4