Project

General

Profile

Actions

Bug #4754

closed

No way to register without an activation key

Added by Mike McCune about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

If you register with subscription-manager without an activation key you will get a failure:

  1. subscription-manager register --username=admin --password=chageme --org=ACME_Corporation --force
    Remote server error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.

From the log:

2014-03-20 13:09:20,529 [ERROR] @connection.py:414 - remote server status code: 404
2014-03-20 13:09:20,531 [ERROR] @managercli.py:115 - Error during registration: Server returned 404
2014-03-20 13:09:20,532 [ERROR] @managercli.py:116 - Server returned 404
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/managercli.py", line 965, in _do_command
installed_products=self.installed_mgr.format_for_server())
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 611, in registerConsumer
return self.conn.request_post(url, params)
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 440, in request_post
return self._request("POST", method, params)
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 399, in _request
self.validateResponse(result)
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 415, in validateResponse
raise RemoteServerException(response['status'])
RemoteServerException: Server returned 404

IRC discussion of the issue:

<walden> thomasmckay: looks like there is no route without an AK - https://github.com/Katello/katello/blob/master/config/routes/api/v1.rb#L223

Actions #1

Updated by Thomas McKay about 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:1d05fa61439c792d058b97ddda05b4741a39d19c.

Actions #2

Updated by Eric Helms almost 10 years ago

  • Triaged set to Yes
Actions #3

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF