Project

General

Profile

Actions

Feature #3136

closed

host cloning should auto-suggest a new IP address

Added by Martin Matuška over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
VM management
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If cloning a new host, the IP address should be auto-suggested and the hostname field should be blanked out.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #7620: When cloning host, old hostname is no longer shownClosedOri Rabin09/24/2014Actions
Actions #1

Updated by Martin Matuška over 10 years ago

https://github.com/theforeman/foreman/pull/902
This one is bite-size and might be considered for 1.3

Actions #2

Updated by Ewoud Kohl van Wijngaarden over 10 years ago

I like blanking the IP, but the name may be undesirable. Suppose you clone web1 to web2, then it's helpful to already have the name there. It would be nice to have auto increment the numbers if detected and checked for duplicates (if web2 is already taken, it tries web3). Maybe this could make a cool plugin. It could also suggest the name for new VMs based on the host group name.

Actions #3

Updated by Martin Matuška over 10 years ago

I understand your point of view. But I disagree with using the source host name as a name for the cloned host, as it is predestined to fail. The name is e.g. checked against DNS. You see the old name in the URL of the cloning page anyway.

I would rather suggest adding an informative field to the form that shows you what host you are cloning from. What I do agree with, that in the future there should be a new option for hostgroups to auto-suggest new host names based on some regexp rules.

Actions #4

Updated by Ewoud Kohl van Wijngaarden over 10 years ago

I must admit I haven't cloned a host recently. If the old hostname is still visible, but not filled in would be sufficient.

Actions #5

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Martin Matuška
Actions #6

Updated by Anonymous over 10 years ago

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

Updated by Greg Sutcliffe over 10 years ago

  • translation missing: en.field_release set to 2
Actions #8

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #7620: When cloning host, old hostname is no longer shown added
Actions

Also available in: Atom PDF