Project

General

Profile

Actions

Bug #20646

closed

Cloning Host: Device Identifier has already been taken

Added by Timo Goebel about 7 years ago. Updated over 6 years ago.

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

Description

When cloning a host with a nic with a interface identifier set, the interface identifier is correctly copied from the original host. Even if the original and cloned hosts just have a single interface each, the cloned host's device identifier field is marked as invalid because the value "has already been taken".

When the interface is cloned, the host_id is copied from the original host. The uniqueness validation is scoped to host_id.

Actions #1

Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4754 added
Actions #2

Updated by Marek Hulán about 7 years ago

What a bug :-) I saw the PR, from quick look I think it's ready to merge. I'll try to test it next week, if someone won't get to it earlier.

Actions #3

Updated by Ohad Levy about 7 years ago

  • Translation missing: en.field_release set to 287

I'm proposing this to 15.4, feel free to ack/nack as needed.

Actions #4

Updated by Timo Goebel about 7 years ago

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

Also available in: Atom PDF