Description of problem: Version-Release number of selected component (if applicable): How reproducible: always prerequisites : rhel6.4 with following subscription-manager rpm subscription-manager-migration-data-1.12.2.6-1.git.0.171d4c3.el6.noarch subscription-manager-firstboot-1.8.3-1.git.233.1eec8ec.el6.x86_64 subscription-manager-gui-1.8.3-1.git.233.1eec8ec.el6.x86_64 subscription-manager-1.8.3-1.git.233.1eec8ec.el6.x86_64 subscription-manager-migration-1.8.3-1.git.233.1eec8ec.el6.x86_64 steps to repro : Register client to candlepin. Unregister client . [root@dhcp201-164 product]# subscription-manager register --u testuser1 --password password --org admin --autosubscribe The system has been registered with id: f919de60-e5b4-48f7-9a22-39b447e31ec4 Installed Product Current Status: Product Name: RAM Limiting Product Status: Unknown [root@dhcp201-164 product]# subscription-manager unregister System has been unregistered. [root@dhcp201-164 product]# Traceback (most recent call last): File "/usr/share/rhsm/subscription_manager/gui/installedtab.py", line 112, in on_cert_change self.update_products() File "/usr/share/rhsm/subscription_manager/gui/installedtab.py", line 153, in update_products self.backend.uep) File "/usr/share/rhsm/subscription_manager/injection.py", line 62, in require return provider(*args, **kwargs) File "/usr/share/rhsm/subscription_manager/validity.py", line 30, in __init__ self.consumer_data = self.uep.getConsumer(self.identity.uuid) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 731, in getConsumer return self.conn.request_get(method) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 481, in request_get return self._request("GET", method) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 443, in _request self.validateResponse(result) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 468, in validateResponse raise RestlibException(response['status'], error_msg) rhsm.connection.RestlibException: Invalid credentials.
Additional Info: [root@rhsm-compat-rhel64 ~]# tail -f /var/log/rhsm/rhsm.log 2013-03-11 08:28:39,610 [ERROR] @rhsmcertd-worker:41 - Either the consumer is not registered or the certificates are corrupted. Certificate update using daemon failed. Just want to clarify that the re-create scenario is to be registered with the subscription-manager-gui open and then use the terminal to call subscription-manager unregister.
Fixed in subscription-manager.git master: 5dcbbc7c683cbf9f7aa81b485706961a352624d1 Will appear in 1.8.5.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
Verifying Version.... [root@jsefler-5 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.8.2-1 subscription-manager: 1.8.5-1.el5 python-rhsm: 1.8.8-1.el5 [root@jsefler-5 ~]# subscription-manager register --u testuser1 --password password --org admin --autosubscribe The system has been registered with id: c839a07a-242a-4a75-992c-2c524b863ffc Installed Product Current Status: Product Name: RAM Limiting Product Status: Subscribed [root@jsefler-5 ~]# subscription-manager-gui& [1] 17250 [root@jsefler-5 ~]# No handlers could be found for logger "rhsm-app.subscription_manager.isodate" (subscription-manager-gui:17250): libglade-WARNING **: unknown property `has_tooltip' for class `GtkButton' (subscription-manager-gui:17250): libglade-WARNING **: unknown property `has_tooltip' for class `GtkEventBox' [root@jsefler-5 ~]# subscription-manager unregister System has been unregistered. [root@jsefler-5 ~]# subscription-manager register --u testuser1 --password password --org admin --autosubscribe The system has been registered with id: 2f87a56c-7c6d-4bcd-8835-e5f4b2410a23 Installed Product Current Status: Product Name: RAM Limiting Product Status: Subscribed [root@jsefler-5 ~]# subscription-manager unregister System has been unregistered. [root@jsefler-5 ~]# Moving to VERIFIED: with subscription-manager-gui open, the system can be unregistered from the command line Additional Info: the "rhsm-app.subscription_manager.isodate" issue should be addressed in bug 924919
Also Verifying on RHEL6.4... [root@rhsm-compat-rhel64 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.4 (Santiago) [root@rhsm-compat-rhel64 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.8.2-1 subscription-manager: 1.8.5-1.git.28.e3065a4.el6 python-rhsm: 1.8.8-1.git.4.1c896e2.el6 [root@rhsm-compat-rhel64 ~]# subscription-manager register --u testuser1 --password password --org admin --autosubscribe The system has been registered with id: 488b3b71-a241-4503-b346-1434000a5b6b Installed Product Current Status: Product Name: RAM Limiting Product Status: Subscribed [root@rhsm-compat-rhel64 ~]# subscription-manager-gui & [1] 4210 [root@rhsm-compat-rhel64 ~]# subscription-manager unregister System has been unregistered. [root@rhsm-compat-rhel64 ~]# VERIFIED: with subscription-manager-gui open, the system can be unregistered from the command line without traceback
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. http://rhn.redhat.com/errata/RHBA-2013-1332.html