Project

General

Profile

Bug #22939

provide option to skip hostname facts lookup for existing host if register_hostname_fact is set

Added by Justin Sherrill over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

Currently when a system registers, it first tries to find an existing host via a variety of methods.

1. It first tries to find a host with the name of the register_hostname_fact
2. It then tries to find a host with the name of the 'network.hostname' fact

If either of those are found, that host is re-used for registration, unregistering the previous consumer. If it is not found the host is created with the name of whatever the register_host_fact is.

In some cases a user may have all their clients have the same hostname (such as an openstack deployment).

Associated revisions

Revision fe903fef (diff)
Added by Justin Sherrill over 3 years ago

Fixes #22939 - add setting for strict host re-register

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7247 added

#2 Updated by Justin Sherrill over 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#3 Updated by Justin Sherrill over 3 years ago

  • Bugzilla link set to 1540516

#4 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) set to 284

#5 Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/Katello/katello/pull/7254 added

Also available in: Atom PDF