Subscription-manager registration fails after upgrading system from RHEL 7 to RHEL 8.

Solution Verified - Updated -


  • Registering system using subscription-manager after upgrade from RHEL 7 to RHEL 8 fails with following error:-
# subscription-manager register --auto-attach
Registering to:
Username: xxxxx
Password: xxxxx
'dict' object has no attribute 'has_key'


  • Red Hat Enterprise Linux Server 8
  • Red Hat Subscription Management (RHSM)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In