Project

General

Profile

Actions

Bug #27580

closed

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

Added by Jonathon Turel about 5 years ago. Updated about 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 #1

Updated by Jonathon Turel about 5 years ago

  • Subject changed from Katello fails to register hosts that were "pre-registered" via the API to Katello fails to register hosts that were "pre-registered" via the API
  • Category set to Hosts
  • Status changed from New to Assigned
  • Assignee set to Jonathon Turel
  • Priority changed from Normal to High
  • Target version set to Katello 3.13.0
  • Difficulty set to easy
Actions #2

Updated by The Foreman Bot about 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8263 added
Actions #3

Updated by The Foreman Bot about 5 years ago

  • Fixed in Releases Katello 3.14.0 added
Actions #4

Updated by Jonathon Turel about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Jonathon Turel about 5 years ago

  • Target version changed from Katello 3.13.0 to Katello 3.12.3
Actions #6

Updated by Chris Roberts about 5 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF