Host registration via bootstrap.py script to the Red Hat Satellite Server fails with error: An error occured: HTTP Error 422: Unprocessable Entity
Issue
-
Facing issues while trying to register host to the Satellite Server using bootstrap script:
Error 1:An error occured: HTTP Error 422: Unprocessable Entity url: https://satellite.example.com:443/api/v2/hosts/ "id": null, "full_messages": [ "Ip does not match selected subnet"
Error 2:
[Calling Foreman API to create a host entry associated with the group & org] An error occured: HTTP Error 422: Unprocessable Entity url: https://capsule.example.com:8443/api/v2/hosts/ code: 422 "Content view can't be blank", "Lifecycle environment can't be blank"
Environment
- Red Hat Satellite 6
- Red Hat Capsule 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.