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:
Unsubscribe broken in Subscription manager.
Version-Release number of selected component (if applicable):
subscription-manager-0.96.7-1
How reproducible:
always
Steps to Reproduce:
1.Register as any user in GUI
2.Unregister that user.
Actual results:
Unsubscribe button remains visible, however subscriptions are removed.
An exception is thrown, due to the entitlements directory not being found:
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 247, in on_identity_change
self.refresh()
File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 270, in refresh
self._set_validity_status()
File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 384, in _set_validity_status
sorter = CertSorter(self.product_dir, self.entitlement_dir, facts_dict=self.facts.get_facts())
File "/usr/share/rhsm/subscription_manager/cert_sorter.py", line 77, in __init__
self._scan_entitlement_certs()
File "/usr/share/rhsm/subscription_manager/cert_sorter.py", line 100, in _scan_entitlement_certs
ent_certs = self.entitlement_dir.list()
File "/usr/share/rhsm/subscription_manager/certdirectory.py", line 105, in list
for p, fn in Directory.list(self):
File "/usr/share/rhsm/subscription_manager/certdirectory.py", line 49, in list
for p, fn in self.listAll():
File "/usr/share/rhsm/subscription_manager/certdirectory.py", line 42, in listAll
for fn in os.listdir(self.path):
OSError: [Errno 2] No such file or directory: '/etc/pki/entitlement'
Expected results:
Unregister should succeed without issue.
Additional info:
Description of problem: Unsubscribe broken in Subscription manager. Version-Release number of selected component (if applicable): subscription-manager-0.96.7-1 How reproducible: always Steps to Reproduce: 1.Register as any user in GUI 2.Unregister that user. Actual results: Unsubscribe button remains visible, however subscriptions are removed. An exception is thrown, due to the entitlements directory not being found: Traceback (most recent call last): File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 247, in on_identity_change self.refresh() File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 270, in refresh self._set_validity_status() File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 384, in _set_validity_status sorter = CertSorter(self.product_dir, self.entitlement_dir, facts_dict=self.facts.get_facts()) File "/usr/share/rhsm/subscription_manager/cert_sorter.py", line 77, in __init__ self._scan_entitlement_certs() File "/usr/share/rhsm/subscription_manager/cert_sorter.py", line 100, in _scan_entitlement_certs ent_certs = self.entitlement_dir.list() File "/usr/share/rhsm/subscription_manager/certdirectory.py", line 105, in list for p, fn in Directory.list(self): File "/usr/share/rhsm/subscription_manager/certdirectory.py", line 49, in list for p, fn in self.listAll(): File "/usr/share/rhsm/subscription_manager/certdirectory.py", line 42, in listAll for fn in os.listdir(self.path): OSError: [Errno 2] No such file or directory: '/etc/pki/entitlement' Expected results: Unregister should succeed without issue. Additional info: