Replying on my own email.

I managed to add the host again but had to do some very manual steps:

- Removed /etc/vdsm/vdsm.id from the Host
- engine=# select vds_id from vds_static where host_name = 'host.name';
- engine=# delete from vds_statistics where vds_id = 'host.name.uuid';
- engine=# delete from vds_dynamic where vds_id = 'host.name.uuid';
- engine=# delete from vds_static where vds_id = 'host.name.uuid';
- uuidgen > /etc/vdsm/vdsm.id on the Host

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 ?

Fernando

On 13/06/2017 10:04, FERNANDO FREDIANI wrote:
Hello.

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:

- Removed all Virtual Machines on the top of the Host
- 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) - As the Datastore couldn't be remove so the Host. I then removed the Datacenter and it removed everything.

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: "Cannot add Host. The Host name is already in use, please choose a unique name and try again."

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.

Thanks
Fernand

_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to