Subscription-manager registration fails after upgrading system from RHEL 7 to RHEL 8.
Issue
- Registering system using subscription-manager after upgrade from RHEL 7 to RHEL 8 fails with following error:-
# subscription-manager register --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: xxxxx
Password: xxxxx
'dict' object has no attribute 'has_key'
Environment
- Red Hat Enterprise Linux Server 8
- Red Hat Subscription Management (RHSM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.