Project

General

Custom queries

Profile

Actions

Bug #12443

closed

Updating the mac address not supported on physical interfaces

Added by Brandon Weeks over 9 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When the mac address of a physical interface changes the parser doesn't support updating the existing interface object. Often times the "physical" interface will actually be virtual and the mac address may unexpectedly change (notable in OpenStack environments). In combination with #12441 this results in duplicate entires in the `nics` table with the same identifier, which breaks editing the host on the web interface and clutters the database. With #12441 resolved Host::Base.import.facts skips creating or updating existing nics with changed mac addresses. If it is possible without disturbing existing functionality, it would be ideal to update the Host::Base.get_interface_scope logic to update the existing nic object instead of attempting to create a new one.

#1

Updated by Marek Hulán about 9 years ago

  • Status changed from New to Need more information
#2

Updated by Brandon Weeks about 9 years ago

  • Status changed from Need more information to Rejected
Actions

Also available in: Atom PDF