Project

General

Profile

Actions

Bug #15238

closed

Multiple interfaces with empty identifier are marked as invalid

Added by Marek Hulán almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Network
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The NIC validation is not treating empty identifier correctly. While the validation method on host skips such interfaces, validation on NIC side tries to enforce uniqueness even of empty identifiers. This causes problems during provisioning of host with multiple interfaces, preventing the TFTP change because of interface being invalid. To reproduce, create a host with two interfaces with empty identifier. Then try editing the host, e.g. changing the comment attribute. It fails on interface identifier being already taken.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #12441: Duplicate entries in `nics` tableClosedBrandon Weeks11/10/2015Actions
Actions

Also available in: Atom PDF