Registering client host to Red Hat Satellite 6 failed with couldn't find activation key (HTTP error code 404: Not Found)
Environment
- Red Hat Satellite 6
Issue
-
Registering client host to
Red Hat Satellite 6using curl command fails with below error:Couldn't find activation key 'subscription-manager register --org="Organization_Name" --activationkey="Activation_Key"' (HTTP error code 404: Not Found)
Resolution
-
Make sure to provide the valid activation key when associating it with any hostgroup.
Satellite WebUI --> Configure --> Host Groups --> Select Host Group --> Activation Keys
Root Cause
- Associating an invalid activation key with a hostgroup can result in this error.
Diagnostic Steps
-
Check valid activation key present on your Satellite server.
# hammer activation-key list --organization-id XX -
Check if valid activation key added in hostgroups.
Satellite WebUI --> Configure --> Host Groups --> Select Host Group --> Activation KeysOR
# hammer hostgroup list # hammer hostgroup info --id XX
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments