Content Host registration to Red Hat Satellite using script fails

Solution Verified - Updated -


  • Client registration to Satellite Server using the script fails with the following error:

    [RUNNING], [2022-09-15 10:07:19], [Calling Foreman API to create a host entry associated with the group & org]
    An error occurred: HTTP Error 422: Unprocessable Entity
    code: 422
    data: {
     "host": {
       "name": "hostname",
       "hostgroup_id": 9,
       "organization_id": 1,
       "mac": "00:50:52:8F:F6:60",
       "architecture_id": 1,
       "build": false,
       "compute_resource_id": null,
       "managed": "true",
       "location_id": 2,
       "domain_id": 1,
       "ip": ""
    error: {
     "errors": {
       "base": [
         "Cleanup PuppetCA certificates for task failed with the following error: ERF12-7740 
    [ProxyAPI::ProxyException]: Unable to delete PuppetCA certificate for 
    ([RestClient::NotAcceptable]: 406 Not Acceptable) for Capsule"


  • Red Hat Satellite 6.9

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