While registering system using subscription-manager-0.95.5.21 with non org admin user, it fails with error "You must specify an organization for new units."

Solution Verified - Updated -

Issue

  • While registering system using subscription-manager-0.95.5.21 with non org admin user, it fails with error "You must specify an organization for new units."
# subscription-manager register 
Username: user-1
Password: 
You must specify an organization for new units.

Error message in rhsm.log

2013-11-17 02:38:55,930 [INFO]  @connection.py:215 - status code: 400
2013-11-17 02:38:55,931 [ERROR]  @managercli.py:433 - You must specify an organization for new units.
Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/managercli.py", line 431, in _do_command
    facts=self.facts.get_facts())
  File "/usr/lib/python2.4/site-packages/rhsm/connection.py", line 360, in registerConsumer
    return self.conn.request_post('/consumers/', params)
  File "/usr/lib/python2.4/site-packages/rhsm/connection.py", line 241, in request_post
    return self._request("POST", method, params)
  File "/usr/lib/python2.4/site-packages/rhsm/connection.py", line 216, in _request
    self.validateResponse(result)
  File "/usr/lib/python2.4/site-packages/rhsm/connection.py", line 235, in validateResponse
    parsed['displayMessage'])
RestlibException: You must specify an organization for new units.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Subscription Manager
  • subscription-manager-0.95.5.21-1.el5 -- problematic package
  • subscription-manager-1.8.22-1.el5 -- non problematic package
  • subscription-manager package earlier than subscription-manager.x86_64 0:0.99.19-1.el6 in RHEL6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content