Project

General

Profile

Actions

Bug #2849

open

Changing a host name, causes errors when a user wishes to rebuild the host.

Added by Nir Magnezi almost 11 years ago. Updated almost 11 years ago.

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

Description

Description of problem:
I tried to change an existing host name and in some of the times theforeman did not allow it (complained about duplicate IP / MAC addresses).
In other cases theforeman allowed me to change the host name but complained about the same error when I tried to rebuild the host.

Version-Release: 1.2.0

How reproducible: 3/3

Steps to Reproduce:
1. Add a Host to theforeman.
2. Change The host name
3. Go to the host page: https://&lt;theforeman fqdn>/hosts/<host fqdn>
4. Click Build

Actual results:
Fails with the following error:
Failed to enable <host fqdn> for installation: ["Ip has already been taken", "Mac has already been taken"]

Expected results:
No Error should be expected here.

Additional Information:
I tried to delete my Host and re-add it to theforeman (as a workaround), but theforman did not allow me to add the host with duplicate IP / MAC error.


Files

rename_machine.log rename_machine.log 34.9 KB Nir Magnezi, 08/04/2013 05:30 AM
setting_build_stat.log setting_build_stat.log 59.1 KB Nir Magnezi, 08/04/2013 05:30 AM
Actions #1

Updated by Dominic Cleal almost 11 years ago

  • Priority changed from Urgent to Normal

Updated by Nir Magnezi almost 11 years ago

Find attached foreman logs (debug mode enabled):
1. rename_machine.log is when I just tried to rename an existing machine.
2. setting_build_stat.log when I tried to set a machine which was renamed to build state.

Actions

Also available in: Atom PDF