Project

General

Profile

Actions

Bug #16073

closed

Changing interfaces on unmanaged hosts leads to an invalid host

Added by Justin Sherrill over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Facts
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

If an unmanaged host has any interface mac address changed, either because it was re-provisioned externally, or some other external condition occurred, facts being uploaded with the new mac address in will result in a duplicate interface being created.

For example if a host has an interface 'eth0' with mac address 'foo' and is currently uploading facts to foreman but its 'eth0' network device changes mac address to 'bar', a second 'eth0' interface will be created.

If this occurs the host is left in an invalid state and requires the old network interface to be removed (in fact even trying to correct the situation via the UI leads to issues as it doesn't seem to be possible to delete the old primary interface in this case. At least not very easily).


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #16547: Fact importing fails with NoMethodError: undefined method `first' for nil:NilClassClosedDominic Cleal09/14/2016Actions
Actions

Also available in: Atom PDF