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

Solution Verified - Updated -

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.

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