| Summary: | Unsubscribe from rhsm should throw a warning message | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Bryan Kearney <bkearney> |
| Component: | subscription-manager | Assignee: | Justin Harris <jharris> |
| Status: | CLOSED WORKSFORME | QA Contact: | John Sefler <jsefler> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1 | CC: | jharris, jkeck, jmolet |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-24 16:18:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 639436 | ||
|
Description
Bryan Kearney
2011-01-19 15:39:40 UTC
For the sake of parity, does this apply to the cli too? I hope not. no.. i would vote just ui. User is asked "are you sure", when unregistering, but not when unsubscribing to a subscription with installed products as indicated in the description. python-rhsm-0.94.15-1.git.0.b738ea1.el6.noarch subscription-manager-0.93.13-1.git.4.769efa1.el6.x86_64 subscription-manager-firstboot-0.93.13-1.git.4.769efa1.el6.x86_64 subscription-manager-gnome-0.93.13-1.git.4.769efa1.el6.x86_64 new build:
subscription-manager-0.93.13-1.git.6.1cac2dd.el6.x86_64
subscription-manager-firstboot-0.93.13-1.git.6.1cac2dd.el6.x86_64
subscription-manager-gnome-0.93.13-1.git.6.1cac2dd.el6.x86_64
includes the pop up window. The pop up window happens if there are installed products or not.
In both cases, clicking yes on the pop up causes this to happen:
2011-01-20 12:47:18,672 [INFO] _request() @connection.py:146 - loading ca pem certificates from: /etc/rhsm/ca/
2011-01-20 12:47:18,677 [INFO] _load_ca_certificates() @connection.py:133 - loading ca certificate '/etc/rhsm/ca/redhat-uep.pem'
2011-01-20 12:47:18,679 [INFO] _load_ca_certificates() @connection.py:133 - loading ca certificate '/etc/rhsm/ca/candlepin-stage.pem'
2011-01-20 12:47:18,677 [INFO] _load_ca_certificates() @connection.py:133 - loading ca certificate '/etc/rhsm/ca/redhat-uep.pem'
2011-01-20 12:47:18,679 [INFO] _load_ca_certificates() @connection.py:133 - loading ca certificate '/etc/rhsm/ca/candlepin-stage.pem'
2011-01-20 12:47:18,680 [INFO] _load_ca_certificates() @connection.py:133 - loading ca certificate '/etc/rhsm/ca/fakamai-cp1.pem'
2011-01-20 12:47:18,681 [INFO] _request() @connection.py:148 - work in insecure mode ?:True
2011-01-20 12:47:20,145 [INFO] _request() @connection.py:176 - status code: 404
2011-01-20 12:47:20,149 [ERROR] handle_gui_exception() @utils.py:40 - No such consumer: None
Traceback (most recent call last):
File "/usr/share/rhsm/gui/mysubstab.py", line 81, in _on_unsubscribe_prompt_response
self.backend.uep.unbindBySerial(self.consumer.uuid, serial)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 400, in unbindBySerial
return self.conn.request_delete(method)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 211, in request_delete
return self._request("DELETE", method)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 177, in _request
self.validateResponse(result)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 196, in validateResponse
parsed['displayMessage'])
RestlibException: No such consumer: None
I cannot reproduce this error on my setup. Can you either try again or give some more detail on how to reproduce? I cannot reproduce this anymore either. I guess I'll chalk this one up to the server errors we were having that day. |