Content Host registration to Red Hat Satellite using bootstrap.py script fails

Solution Verified - Updated -

Issue

  • Client registration to Satellite Server using the bootstrap.py 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
    url: https://satellite.fqdn.com:443/api/v2/hosts/
    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": "10.1.2.30"
     }
    }
    error: {
     "errors": {
       "base": [
         "Cleanup PuppetCA certificates for hostname.fqdn.com task failed with the following error: ERF12-7740 
    [ProxyAPI::ProxyException]: Unable to delete PuppetCA certificate for hostname.fqdn.com 
    ([RestClient::NotAcceptable]: 406 Not Acceptable) for Capsule https://satellite.fqdn.com:9090/puppet/ca"
       ]
     }
    }
    

Environment

  • 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