Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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:
Tried to subscribe a RHEL 6.2 system using an activation key and the process failed with a "Invalid credentials" error showing up in rhsm.log
Version-Release number of selected component (if applicable):
* candlepin-0.5.18-1.el6.noarch
* candlepin-tomcat6-0.5.18-1.el6.noarch
* katello-0.1.229-2.el6.noarch
* katello-all-0.1.229-2.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-cli-0.1.44-2.el6.noarch
* katello-cli-common-0.1.44-2.el6.noarch
* katello-common-0.1.229-2.el6.noarch
* katello-configure-0.1.61-2.el6.noarch
* katello-glue-candlepin-0.1.229-2.el6.noarch
* katello-glue-foreman-0.1.229-2.el6.noarch
* katello-glue-pulp-0.1.229-2.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-selinux-0.1.3-1.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* pulp-0.0.265-1.el6.noarch
* pulp-common-0.0.265-1.el6.noarch
* pulp-selinux-server-0.0.265-1.el6.noarch
How reproducible:
Steps to Reproduce:
1. Create an activation key with a valid subscription
2. Subscribe a RHEL 6.2 system with it (i.e. subscription-manager register --org ACME_Corporation --activationkey ak01)
3. The system does show up in the web ui under Systems, but there was an error message displayed at the end of the command above.
Actual results:
The system has been registered with id: dc1c1936-5713-4ec3-8cd2-a721cabcc025
Error updating system data, see /var/log/rhsm/rhsm.log for more details.
Expected results:
Additional info:
Tried to subscribe again, this time using a valid username and password, and got no errors reported back. Here's what rhsm.log showed:
2012-02-10 13:47:32,604 [DEBUG] @connection.py:209 - Making request: PUT /katello/api//consumers/dc1c1936-5713-4ec3-8cd2-a721cabcc025/packages
2012-02-10 13:47:33,002 [DEBUG] @connection.py:218 - Response status: 401
2012-02-10 13:47:33,002 [ERROR] @cache.py:164 - Error updating system data
2012-02-10 13:47:33,003 [ERROR] @cache.py:165 - Invalid credentials
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/cache.py", line 158, in update_check
self._update_server(uep, consumer_uuid)
File "/usr/share/rhsm/subscription_manager/cache.py", line 224, in _update_server
self.current_profile.collect())
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 465, in updatePackageProfile
ret = self.conn.request_put(method, pkg_dicts)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 261, in request_put
return self._request("PUT", method, params)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 219, in _request
self.validateResponse(result)
File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 239, in validateResponse
raise RestlibException(response['status'], error_msg)
RestlibException: Invalid credentials
Description of problem: Tried to subscribe a RHEL 6.2 system using an activation key and the process failed with a "Invalid credentials" error showing up in rhsm.log Version-Release number of selected component (if applicable): * candlepin-0.5.18-1.el6.noarch * candlepin-tomcat6-0.5.18-1.el6.noarch * katello-0.1.229-2.el6.noarch * katello-all-0.1.229-2.el6.noarch * katello-certs-tools-1.0.2-2.el6.noarch * katello-cli-0.1.44-2.el6.noarch * katello-cli-common-0.1.44-2.el6.noarch * katello-common-0.1.229-2.el6.noarch * katello-configure-0.1.61-2.el6.noarch * katello-glue-candlepin-0.1.229-2.el6.noarch * katello-glue-foreman-0.1.229-2.el6.noarch * katello-glue-pulp-0.1.229-2.el6.noarch * katello-httpd-ssl-key-pair-1.0-1.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-repos-0.1.5-1.el6.noarch * katello-selinux-0.1.3-1.el6.noarch * katello-trusted-ssl-cert-1.0-1.noarch * pulp-0.0.265-1.el6.noarch * pulp-common-0.0.265-1.el6.noarch * pulp-selinux-server-0.0.265-1.el6.noarch How reproducible: Steps to Reproduce: 1. Create an activation key with a valid subscription 2. Subscribe a RHEL 6.2 system with it (i.e. subscription-manager register --org ACME_Corporation --activationkey ak01) 3. The system does show up in the web ui under Systems, but there was an error message displayed at the end of the command above. Actual results: The system has been registered with id: dc1c1936-5713-4ec3-8cd2-a721cabcc025 Error updating system data, see /var/log/rhsm/rhsm.log for more details. Expected results: Additional info: Tried to subscribe again, this time using a valid username and password, and got no errors reported back. Here's what rhsm.log showed: 2012-02-10 13:47:32,604 [DEBUG] @connection.py:209 - Making request: PUT /katello/api//consumers/dc1c1936-5713-4ec3-8cd2-a721cabcc025/packages 2012-02-10 13:47:33,002 [DEBUG] @connection.py:218 - Response status: 401 2012-02-10 13:47:33,002 [ERROR] @cache.py:164 - Error updating system data 2012-02-10 13:47:33,003 [ERROR] @cache.py:165 - Invalid credentials Traceback (most recent call last): File "/usr/share/rhsm/subscription_manager/cache.py", line 158, in update_check self._update_server(uep, consumer_uuid) File "/usr/share/rhsm/subscription_manager/cache.py", line 224, in _update_server self.current_profile.collect()) File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 465, in updatePackageProfile ret = self.conn.request_put(method, pkg_dicts) File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 261, in request_put return self._request("PUT", method, params) File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 219, in _request self.validateResponse(result) File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 239, in validateResponse raise RestlibException(response['status'], error_msg) RestlibException: Invalid credentials