Neeloj
May 23, 2023, 12:15pm
#1
hi all,
when I want to edit Host I get message: already been taken like below:
I see now beside Name: This value is used also as the host’s primary interface name.
How can I solve this?
Does anyone know why?
Foreman and Proxy versions: foreman 3.6.1 , foreman-proxy 3.6.1
Distribution and version: Ubuntu 20.04.4 LTS
thanks in advance
Neeloj
May 23, 2023, 12:22pm
#2
solved:
I change the DNS Name in Interface tab and it works! I dont know why its like that for this host!
I think this is not the correct why to do that right?
Neeloj
May 24, 2023, 8:28am
#3
I have now the problem on other systems too! can anyone help me or why I get the error?
lfu
May 24, 2023, 2:37pm
#4
Could you run this command with your new hostname in rails console:
Host.find_by(name: "your_new_hostname")
1 Like
Dirk
May 25, 2023, 7:09am
#5
I had the same problem yesterday, found the content host still existing and after deletion of it everything worked fine again.
1 Like
Neeloj
May 25, 2023, 7:36am
#6
Thats good to know, how can I open a rails console? @lfu
@Dirk which content to you mean ?
It may be a host in a different org, having this name already.
Neeloj
May 25, 2023, 9:23am
#8
I set to Default Organization and Default Location.
Dirk
May 25, 2023, 9:27am
#9
Content host is the object type you have in addition when using Katello with the managed host being provisioning and configuration management and the content host being subscription and content managed part of the host.
Neeloj
May 25, 2023, 9:32am
#10
I dont use Katello maybe thats why I dont see the field.