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 #1

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
Actions #2

Updated by Justin Sherrill over 8 years ago

  • Bugzilla link set to 1363749
Actions #3

Updated by Marek Hulán over 8 years ago

  • Translation missing: en.field_release set to 160
Actions #4

Updated by Justin Sherrill over 8 years ago

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

Updated by Dominic Cleal about 8 years ago

  • Related to Bug #16547: Fact importing fails with NoMethodError: undefined method `first' for nil:NilClass added
Actions

Also available in: Atom PDF