Project

General

Profile

Actions

Bug #27580

closed

Katello fails to register hosts that were "pre-registered" via the API

Added by Jonathon Turel over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Category:
Hosts
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Recent changes to the registration process have broken bootstrap.py:

  1. curl -o /root/bootstrap.py http://katello.example.com/pub/bootstrap.py; chmod +x bootstrap.py

[ ~]# 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

Also available in: Atom PDF