Project

General

Profile

Actions

Bug #10566

closed

Unique interface identifier requirement prevents host from being edited if duplicate identifier exists

Added by Patrick Mulrooney over 9 years ago. Updated over 6 years ago.

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

Description

Related to #9618.

Before the unique interface identifier validation was introduced we managed to get several hosts with multiple interfaces with the same identifier. Now that we have upgrade to 1.8+ when we attempt to resolve this situation by deleting the duplicate identifiers we are unable to due to the new validation.

This seems like something the validator should check for as it creates a loop. You are unable to resolve the uniqueness requirement, because your interfaces are not unique.


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #9618: User shouldn't be allowed to create an interface with same identifier of any existing oneClosedMarek Hulán03/03/2015Actions
Related to Foreman - Bug #11247: IP address is invalid, can't add or remove `.` from identifierResolved07/29/2015Actions
Related to Foreman - Bug #16935: updating a NIC's "Device identifier" if it doesn't already have one fails if the "Device identifier" includes a . or :ClosedSean O'Keeffe10/14/2016Actions
Actions #1

Updated by Patrick Mulrooney over 9 years ago

To reproduce...

1. Setup foreman such that a host has multiple interfaces with same identifier
1.5. I believe this can be done in versions prior to 1.8+
2. Upgrade to 1.8+
3. Attempt to remove one of the inter faces from the host.

Actions #2

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #9618: User shouldn't be allowed to create an interface with same identifier of any existing one added
Actions #3

Updated by Dominic Cleal over 9 years ago

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

Updated by Rubén Fernández over 9 years ago

I'm fancing the same issue from fresh installation v1.8.1
I can't modify anything from that host because one interface is duplicated, but it not possible delete any of the duplicate entry.

Actions #5

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2427 added
  • Pull request deleted ()
Actions #6

Updated by Marek Hulán over 9 years ago

  • Assignee set to Marek Hulán
Actions #7

Updated by Marek Hulán over 9 years ago

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

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #11247: IP address is invalid, can't add or remove `.` from identifier added
Actions #9

Updated by Dominic Cleal about 8 years ago

  • Related to Bug #16935: updating a NIC's "Device identifier" if it doesn't already have one fails if the "Device identifier" includes a . or : added
Actions

Also available in: Atom PDF