While registering a host to the Red Hat Satellite using bootstrp.py it fails with "[ERROR], [2018-02-07 04:37:19], EXITING: [0 element in array for search key 'name="MY_ORG"' in API '/api/v2/organizations'. Please note that all searches are case-sen
Environment
- Red Hat Satellite 6.x
Issue
- While registering a host using bootstrap.py script it fails with the following error:
# ./bootstrap.py -l admin -s mysatellite.example.com -o 'MY_ORG' -g 'RHEL7' -a 'actvirtual'
[ERROR], [2018-02-07 04:37:19], EXITING: [0 element in array for search key 'name="MY_ORG"' in API '/api/v2/organizations'. Please note that all searches are case-sensitive. Fatal error.] failed to execute properly.
Resolution
- Add "-L Default_Location" in the bootstrap.py script.
- To know more about bootstrap.py script, please refer this KBS Article.
Root Cause
- In bootstrap.py script "-L Default_Location" option was missing.
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
