Actions
Bug #27580
closedKatello fails to register hosts that were "pre-registered" via the API
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Recent changes to the registration process have broken bootstrap.py:
- curl -o /root/bootstrap.py http://katello.example.com/pub/bootstrap.py; chmod +x bootstrap.py
[root@client.example.com ~]# python3 /root/bootstrap.py --login=admin --password=changeme --server=katello.example.com --location='Default Location' --organization='Default Organization' --hostgroup=hg --activationkey=mykey --add-domain --force
HTTP error (422 - Unprocessable Entity): Please unregister or remove hosts which match this host before registering: client.example.com
Actions