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 1703743 - Error when unregister/unsubscribe at the second time on subscription-manager-gui
Summary: Error when unregister/unsubscribe at the second time on subscription-manager-gui
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-28 04:21 UTC by qianzhan
Modified: 2019-08-06 12:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-06 12:57:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error_when_unregistering_at_the_second_try.png (248.75 KB, image/png)
2019-04-28 04:23 UTC, qianzhan
no flags Details
rhsm.log (40.91 KB, text/plain)
2019-04-28 04:23 UTC, qianzhan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2008 0 None None None 2019-08-06 12:57:43 UTC

Description qianzhan 2019-04-28 04:21:54 UTC
Description of problem:
Error when unregister/unsubscribe at the second time on subscription-manager-gui

Version-Release number of selected component (if applicable):
subscription-manager-gui-1.24.4-1.el7.x86_64
tfm-rubygem-katello-3.10.0.46-1.el7sat.noarch
katello-3.10.0-0.6.rc1.el7sat.noarch
candlepin-2.5.15-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Register RHEL-7.7-20190424.0 system against Satelilte6.5-snapshot25.0 in CLI.

2. Open subscription-manager-gui, try to unreigster the system:
1) Click Unregister button, no response on GUI.
2) Click Unregister button again, an Error window prompts. Please refer attachment 'error_when_unregistering_at_the_second_try.png'
3) Check the rhsm.log: the same error also in rhsm.log.

3. Register system and auto-attach in CLI.

4. Open subscription-manager-gui, try to remove the subscription:
1) Click Remove button, no response on GUI.
2) Click Remove button again, the attached subscription disappears on GUI.
3) Check the rhsm.log:

2019-04-28 11:29:57,101 [INFO] subscription-manager-gui:10250:AsyncBindUnbindThread @connection.py:638 - Response: status=404, request="DELETE /rhsm/consumers/11bffbe2-7fd4-4d75-aff3-e336adf29b38/certificates/6927261600243094364"
2019-04-28 11:29:57,102 [ERROR] subscription-manager-gui:10250:AsyncBindUnbindThread @entitlement.py:331 - HTTP error (404 - Not Found): Entitlement Certificate with serial number "6927261600243094364" could not be found.


Actual results:
As step 2 and step 4.

Expected results:
System can be unregistered at the first try, and no error.
System can be unsubscribed at the first try, and no error.

Additional info:
Please refer attachment 'rhsm.log'

Comment 2 qianzhan 2019-04-28 04:23:10 UTC
Created attachment 1559572 [details]
error_when_unregistering_at_the_second_try.png

Comment 3 qianzhan 2019-04-28 04:23:40 UTC
Created attachment 1559574 [details]
rhsm.log

Comment 8 qianzhan 2019-06-10 06:03:53 UTC
This bug does not exist any more on  subscription-manager-1.24.10-1.el7.x86_64 against Satellite6.6-snapshot6.0, so move this bug as VERIFIED.

Comment 10 errata-xmlrpc 2019-08-06 12:57:32 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, 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-2019:2008


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