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