Bug #16073
closedChanging interfaces on unmanaged hosts leads to an invalid host
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).
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3723 added
Updated by Marek Hulán over 8 years ago
- Translation missing: en.field_release set to 160
Updated by Justin Sherrill over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 7b75a6a018f560fba44916ded12d9fe8da92e820.
Updated by Dominic Cleal over 8 years ago
- Related to Bug #16547: Fact importing fails with NoMethodError: undefined method `first' for nil:NilClass added