<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi.<div class=""><br class=""></div><div class="">I deleted /etc/vdsm/vdsm.id, rebooted the box but still could not re-add the host.&nbsp;<br class=""><div class=""><span style="font-family: 'Arial Unicode MS', Arial, sans-serif; font-size: small; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">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.”</span></div><div class=""><div style="orphans: 2; widows: 2;" class=""><font face="Arial Unicode MS, Arial, sans-serif" size="2" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div style="orphans: 2; widows: 2;" class=""><font face="Arial Unicode MS, Arial, sans-serif" size="2" class=""><span style="background-color: rgb(255, 255, 255);" class="">What I did to fix it:</span></font></div><div style="orphans: 2; widows: 2;" class=""><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #5230e1" class="">#</span><span style="font-variant-ligatures: no-common-ligatures" class=""> su postgres</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">bash-4.2$ psql -s engine</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">psql (9.2.18)</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">engine=# select vds_id from vds_static where host_name = ‘my.ip.add.ress’;</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; line-height: normal; min-height: 15px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vds_id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--------------------------------------</span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp;acadd185-5673-4eb9-8ad3-b5c0390caeb0</span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">(1 row)</span></div></span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">engine=# delete from vds_statistics where vds_id = 'acadd185-5673-4eb9-8ad3-b5c0390caeb0’;</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">engine=# delete from vds_dynamic where vds_id = 'acadd185-5673-4eb9-8ad3-b5c0390caeb0’;</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">engine=# delete from vds_static where vds_id = 'acadd185-5673-4eb9-8ad3-b5c0390caeb0';</span></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'Courier New'; color: rgb(255, 212, 121); background-color: rgba(0, 0, 0, 0.85098);" class=""><br class=""></div></div><div style="orphans: 2; widows: 2;" class=""><font face="Arial Unicode MS, Arial, sans-serif" size="2" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div style="orphans: 2; widows: 2;" class=""><font face="Arial Unicode MS, Arial, sans-serif" size="2" class=""><span style="background-color: rgb(255, 255, 255);" class="">Finally I ran:</span></font></div><div style="orphans: 2; widows: 2;" class=""><pre style="font-family: courier, 'courier new', monospace; font-size: 14px; white-space: pre-wrap; word-wrap: break-word; margin: 0em; color: rgb(160, 30, 30); font-variant-ligatures: normal; background-color: rgb(255, 255, 255);" class=""># uuidgen &gt; /etc/vdsm/vdsm.id</pre><div class=""><br class=""></div><div class="">Thanks for pointing me to the right direction Arman.</div><div class=""><br class=""></div></div><div style="orphans: 2; widows: 2;" class=""><font face="Arial Unicode MS, Arial, sans-serif" size="2" class=""><span style="background-color: rgb(255, 255, 255);" class="">Marcin.</span></font></div><div><br class=""><blockquote type="cite" class=""><div class="">On 11 Jun 2017, at 16:15, Arman Khalatyan &lt;<a href="mailto:arm2arm@gmail.com" class="">arm2arm@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">you should delete vdsmid from /etc/vdsmd or so... checkout the forum somewhere I mentioned it.</div><div class="gmail_extra"><br class=""><div class="gmail_quote">Am 11.06.2017 2:52 nachm. schrieb "Marcin M. Jessa" &lt;<a href="mailto:lists@yazzy.org" class="">lists@yazzy.org</a>&gt;:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys.<br class="">
<br class="">
I have a two node setup. One server running on CentOS [1] and one server with oVirt node [2].<br class="">
I added local storage to my oVirt host but I forgot the storage I chose was already in use so it failed.<br class="">
I then got a host entry with local storage which was shown as not configured.<br class="">
I then removed that local storage host but then it completely disappeared from my setup.<br class="">
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?<br class="">
How can I bring it back?<br class="">
<br class="">
[1]: oVirt Engine Version: 4.1.2.2-1.el7.centos<br class="">
[2]: oVirt Node 4.1.2<br class="">
<br class="">
<br class="">
Marcin Jessa.<br class="">
______________________________<wbr class="">_________________<br class="">
Users mailing list<br class="">
<a href="mailto:Users@ovirt.org" target="_blank" class="">Users@ovirt.org</a><br class="">
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.ovirt.org/mailman<wbr class="">/listinfo/users</a><br class="">
</blockquote></div></div>
</div></blockquote></div><br class=""></div></div></body></html>