Registering Red Hat Capsule to Red Hat Satellite fails with error Validation failed: Environment with id 1 does not exist or is not assigned to proper organization and/or location.
Issue
- Registering the Capsule server to Satellite fails with the below error,
root@capsule:~# subscription-manager register --org Org_Name --activationkey AK_Name
HTTP error (422 - Unknown): Validation failed: Environment with id 1 doesn't exist or is not assigned to proper organization and/or location
- After Satellite upgrade, the same error is noticed on the Satellite Web UI, while changing the Content View of any host.
Environment
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.