[ovirt-users] Re-adding oVirt host.
Marcin Jessa
lists at yazzy.org
Sun Jun 11 22:06:34 UTC 2017
Hi.
I deleted /etc/vdsm/vdsm.id, rebooted the box but still could not re-add the host.
Still the same error message: "Error while executing action: Cannot add Host. The Host name is already in use, please choose a unique name and try again.”
What I did to fix it:
# su postgres
bash-4.2$ psql -s engine
psql (9.2.18)
engine=# select vds_id from vds_static where host_name = ‘my.ip.add.ress’;
vds_id
--------------------------------------
acadd185-5673-4eb9-8ad3-b5c0390caeb0
(1 row)
engine=# delete from vds_statistics where vds_id = 'acadd185-5673-4eb9-8ad3-b5c0390caeb0’;
engine=# delete from vds_dynamic where vds_id = 'acadd185-5673-4eb9-8ad3-b5c0390caeb0’;
engine=# delete from vds_static where vds_id = 'acadd185-5673-4eb9-8ad3-b5c0390caeb0';
Finally I ran:
# uuidgen > /etc/vdsm/vdsm.id
Thanks for pointing me to the right direction Arman.
Marcin.
> On 11 Jun 2017, at 16:15, Arman Khalatyan <arm2arm at gmail.com> wrote:
>
> you should delete vdsmid from /etc/vdsmd or so... checkout the forum somewhere I mentioned it.
>
> Am 11.06.2017 2:52 nachm. schrieb "Marcin M. Jessa" <lists at yazzy.org <mailto:lists at yazzy.org>>:
> Hi guys.
>
> I have a two node setup. One server running on CentOS [1] and one server with oVirt node [2].
> I added local storage to my oVirt host but I forgot the storage I chose was already in use so it failed.
> I then got a host entry with local storage which was shown as not configured.
> I then removed that local storage host but then it completely disappeared from my setup.
> Then I tried to add it again but oVirt said that host is already defined. I tried different name with the same IP but it also failed saying that that IP is already defined. Is there a way to re-add that previously defined host?
> How can I bring it back?
>
> [1]: oVirt Engine Version: 4.1.2.2-1.el7.centos
> [2]: oVirt Node 4.1.2
>
>
> Marcin Jessa.
> _______________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170612/6716189a/attachment.html>
More information about the Users
mailing list