subscription-manager register command fails with HTTP error (400 - Bad Request): Problem creating unit ConsumerDTO [uuid: null, name: hostname, owner id: null]
Issue
- While registering system to Customer Portal or Red Hat Satellite 6 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 7,8
- Red Hat Subscription Management (RHSM)
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.