<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Replying on my own email.</p>
<p>I managed to add the host again but had to do some very manual
steps:</p>
<p>- Removed /etc/vdsm/vdsm.id from the Host<br>
- engine=# select vds_id from vds_static where host_name =
'host.name';<br>
- engine=# delete from vds_statistics where vds_id =
'host.name.uuid';<br>
- engine=# delete from vds_dynamic where vds_id =
'host.name.uuid';<br>
- engine=# delete from vds_static where vds_id = 'host.name.uuid';<br>
- uuidgen > /etc/vdsm/vdsm.id on the Host</p>
<p>Should I report it as a bug as when I removed everything from the
Admin Web Interface it should have done all this clean up in the
Database ?</p>
<p>Fernando</p>
<div class="moz-cite-prefix">On 13/06/2017 10:04, FERNANDO FREDIANI
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:3b52d405-eaea-fed3-8408-7813ec5d623b@upx.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<font face="arial, helvetica, sans-serif">Hello.<br>
<br>
I had a previous Datacenter and Cluster with a Host in it which
I have removed completelly from oVirt Engine. In order to remove
I did the following steps:<br>
<br>
- Removed all Virtual Machines on the top of the Host<br>
- Put the only Local Datastore in Maintenence mode (It didn't
allow to remove it for some reason. Said I had to remove the
Datacenter instead)<br>
- As the Datastore couldn't be remove so the Host. I then
removed the Datacenter and it removed everything.<br>
<br>
Then I created a new Cluster and tried to add the same Host with
the same hostname in it and I am getting the message: "</font>Cannot
add Host. The Host name is already in use, please choose a unique
name and try again."<br>
<br>
It seems that something was left lost in the Database which still
beleives that host exists in oVirt Engine. How can I clean that up
and add it again as I am not willing to change its name.<br>
<br>
Thanks<br>
Fernand<br>
</blockquote>
<br>
</body>
</html>