Subscription register fails with "TypeError: 'NoneType' object has no attribute '__getitem__'" message

Solution Verified - Updated -

Issue

Registering systems through subscription-manager is failed with the following error.

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 1353, in _do_command
    owner_key = self._determine_owner_key(admin_cp)
  File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 1506, in _determine_owner_key
    return owners[0]['key']
TypeError: 'NoneType' object has no attribute '__getitem__'

Environment

  • Red Hat Enterprise Linux 7

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