Project

General

Profile

Bug #27935

Ability to delete existing managed hosts prior discovery

Added by Lukas Zapletal 9 months ago. Updated 9 months ago.

Status:
Ready For Testing
Priority:
Normal
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

When there is an existing managed host, discovery process either fail or pass depending on if the existing host has the same MAC provisioning address or just hostname. Hostnames must be unique (due to DNS) however MAC addresses do not. There was a setting to change the behavior to error out explicitly or just ignore and allow discovery of hosts with different hostname but conflicting MAC address.

There is a third solution and that is often asked "delete existing managed host when it exists". This is dangerous because it allows to delete hosts via discovery API, so this feature comes only with explicit setting.

History

#1 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/490 added

Also available in: Atom PDF