subscription-manager register command fails with HTTP error (400 - Bad Request): Problem creating unit ConsumerDTO [uuid: null, name: hostname, owner id: null]

Solution Verified - Updated -

Issue

  • While registering system to Customer Portal it fails with the following error:
# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: 
Password:
HTTP error (400 - Bad Request): Problem creating unit ConsumerDTO [uuid: null, name: hostname, owner id: null]

Environment

  • Red Hat Enterprise Linux 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