Remove host from hosted engine configuration

stopped &nbs=
--Apple-Mail-0EAE97BF-235C-4B5F-A7EF-F4D18A898C29 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I had 3 hosts running in a hosted engine setup, oVirt Engine Version: 4.1.2= .2-1.el7.centos, using FC storage. One of my hosts went unresponsive in the= GUI, and attempts to bring it back were fruitless. I eventually decided to= just remove it and have gotten it removed from the GUI, but it still shows i= n =E2=80=9Chosted-engine =E2=80=94vm-status=E2=80=9D command on the other 2 h= osts. The 2 good nodes show it as the following: --=3D=3D Host 3 status =3D=3D-- conf_on_shared_storage : True Status up-to-date : False Hostname : host3.my.lab Host ID : 3 Engine status : unknown stale-data Score : 0 stopped : False Local maintenance : True crc32 : bce9a8c5 local_conf_timestamp : 2605898 Host timestamp : 2605882 Extra metadata (valid at timestamp): metadata_parse_version=3D1 metadata_feature_version=3D1 timestamp=3D2605882 (Thu Jun 15 15:18:13 2017) host-id=3D3 score=3D0 vm_conf_refresh_time=3D2605898 (Thu Jun 15 15:18:29 2017) conf_on_shared_storage=3DTrue maintenance=3DTrue state=3DLocalMaintenance stopped=3DFalse How can I either remove this host altogether from the configuration, or repa= ir it so that it is back in a good state? The host is up, but due to my rem= oval attempts earlier, reports =E2=80=9Cunknown stale data=E2=80=9D for all 3= hosts in the config. Thanks --Apple-Mail-0EAE97BF-235C-4B5F-A7EF-F4D18A898C29 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto"><span style=3D"background-color: rgba(255, 2= 55, 255, 0);">I had 3 hosts running in a hosted engine setup, oVirt En= gine Version: 4.1.2.2-1.el7.centos, using FC storage. One of my hosts w= ent unresponsive in the GUI, and attempts to bring it back were fruitless.&n= bsp; I eventually decided to just remove it and have gotten it removed f= rom the GUI, but it still shows in =E2=80=9Chosted-engine =E2=80=94vm-status= =E2=80=9D command on the other 2 hosts. The 2 good nodes show it as th= e following:<br><br>--=3D=3D Host 3 status =3D=3D--<br><br>conf_on_shared_st= orage : True<br>Status up-to-date &= nbsp; : False<br>Host= name &= nbsp; : host3.my.lab<br>Host ID &n= bsp; : 3<br>En= gine status &= nbsp; : unknown stale-data<br>Score = : 0<br= p; : False<br>Local maintenance &nb= sp; : True<br>crc32 &= nbsp; &= nbsp; : bce9a8c5<br>local_conf_timestamp &= nbsp; : <a href=3D"tel:2605898" dir=3D"ltr" x-apple-data-= detectors=3D"true" x-apple-data-detectors-type=3D"telephone" x-apple-data-de= tectors-result=3D"1">2605898</a><br>Host timestamp &nbs= p; : <a href=3D"tel:2605882" d= ir=3D"ltr" x-apple-data-detectors=3D"true" x-apple-data-detectors-type=3D"te= lephone" x-apple-data-detectors-result=3D"2">2605882</a><br>Extra metadata (= valid at timestamp):<br><span class=3D"gmail-Apple-tab-span"> </span>meta= data_parse_version=3D1<br><span class=3D"gmail-Apple-tab-span"> </span>meta= data_feature_version=3D1<br><span class=3D"gmail-Apple-tab-span"> </s= pan>timestamp=3D<a href=3D"tel:2605882" dir=3D"ltr" x-apple-data-detectors=3D= "true" x-apple-data-detectors-type=3D"telephone" x-apple-data-detectors-resu= lt=3D"3">2605882</a> (Thu Jun 15 15:18:13 2017)<br><span class=3D"gmail= -Apple-tab-span"> </span>host-id=3D3<br><span class=3D"gmail-Apple-ta= b-span"> </span>score=3D0<br><span class=3D"gmail-Apple-tab-span">= </span>vm_conf_refresh_time=3D<a href=3D"tel:2605898" dir=3D"ltr" x-apple-d= ata-detectors=3D"true" x-apple-data-detectors-type=3D"telephone" x-apple-dat= a-detectors-result=3D"5">2605898</a> (Thu Jun 15 15:18:29 2017)<br><spa= n class=3D"gmail-Apple-tab-span"> </span>conf_on_shared_storage=3DTru= e<br><span class=3D"gmail-Apple-tab-span"> </span>maintenance=3DTrue<b= r><span class=3D"gmail-Apple-tab-span"> </span>state=3DLocalMaintenance<br>= <span class=3D"gmail-Apple-tab-span"> </span>stopped=3DFalse<br><br></spa= n><div><span style=3D"background-color: rgba(255, 255, 255, 0);"><br></span>= </div><div><span style=3D"background-color: rgba(255, 255, 255, 0);">How can= I either remove this host altogether from the configuration, or repair it s= o that it is back in a good state? The host is up, but due to my remov= al attempts earlier, reports =E2=80=9Cunknown stale data=E2=80=9D for all 3 h= osts in the config.</span></div><div><span style=3D"background-color: rgba(2= 55, 255, 255, 0);"><br></span></div><div><span style=3D"background-color: rg= ba(255, 255, 255, 0);">Thanks</span></div><div><br></div><div></div></body><= /html>= --Apple-Mail-0EAE97BF-235C-4B5F-A7EF-F4D18A898C29--

This is a multi-part message in MIME format. --------------3B7545EC8D90DD0EEF07FA47 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 06/16/2017 08:17 AM, Mike Farnam wrote:
I had 3 hosts running in a hosted engine setup, oVirt Engine Version: 4.1.2.2-1.el7.centos, using FC storage. One of my hosts went unresponsive in the GUI, and attempts to bring it back were fruitless. I eventually decided to just remove it and have gotten it removed from the GUI, but it still shows in hosted-engine vm-status command on the other 2 hosts. The 2 good nodes show it as the following:
--== Host 3 status ==--
conf_on_shared_storage : True Status up-to-date : False Hostname : host3.my.lab Host ID : 3 Engine status : unknown stale-data Score : 0 stopped : False Local maintenance : True crc32 : bce9a8c5 local_conf_timestamp : 2605898 <tel:2605898> Host timestamp : 2605882 <tel:2605882> Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=2605882 <tel:2605882> (Thu Jun 15 15:18:13 2017) host-id=3 score=0 vm_conf_refresh_time=2605898 <tel:2605898> (Thu Jun 15 15:18:29 2017) conf_on_shared_storage=True maintenance=True state=LocalMaintenance stopped=False
you can use the command 'hosted-engine --clean-metadata --host-id=<host_id> --force-clean' so that this node does not show up in hosted-engine --vm-status.
How can I either remove this host altogether from the configuration, or repair it so that it is back in a good state? The host is up, but due to my removal attempts earlier, reports unknown stale data for all 3 hosts in the config.
Thanks
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------3B7545EC8D90DD0EEF07FA47 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 06/16/2017 08:17 AM, Mike Farnam wrote:<br> </div> <blockquote cite="mid:3F478669-7A42-4846-B66F-487E1F05FC76@gmail.com" type="cite"> <meta http-equiv="content-type" content="text/html; charset=windows-1252"> <span style="background-color: rgba(255, 255, 255, 0);">I had 3 hosts running in a hosted engine setup, oVirt Engine Version: 4.1.2.2-1.el7.centos, using FC storage. One of my hosts went unresponsive in the GUI, and attempts to bring it back were fruitless. I eventually decided to just remove it and have gotten it removed from the GUI, but it still shows in hosted-engine vm-status command on the other 2 hosts. The 2 good nodes show it as the following:<br> <br> --== Host 3 status ==--<br> <br> conf_on_shared_storage : True<br> Status up-to-date : False<br> Hostname : host3.my.lab<br> Host ID : 3<br> Engine status : unknown stale-data<br> Score : 0<br> stopped : False<br> Local maintenance : True<br> crc32 : bce9a8c5<br> local_conf_timestamp : <a moz-do-not-send="true" href="tel:2605898" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1">2605898</a><br> Host timestamp : <a moz-do-not-send="true" href="tel:2605882" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="2">2605882</a><br> Extra metadata (valid at timestamp):<br> <span class="gmail-Apple-tab-span"> </span>metadata_parse_version=1<br> <span class="gmail-Apple-tab-span"> </span>metadata_feature_version=1<br> <span class="gmail-Apple-tab-span"> </span>timestamp=<a moz-do-not-send="true" href="tel:2605882" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="3">2605882</a> (Thu Jun 15 15:18:13 2017)<br> <span class="gmail-Apple-tab-span"> </span>host-id=3<br> <span class="gmail-Apple-tab-span"> </span>score=0<br> <span class="gmail-Apple-tab-span"> </span>vm_conf_refresh_time=<a moz-do-not-send="true" href="tel:2605898" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="5">2605898</a> (Thu Jun 15 15:18:29 2017)<br> <span class="gmail-Apple-tab-span"> </span>conf_on_shared_storage=True<br> <span class="gmail-Apple-tab-span"> </span>maintenance=True<br> <span class="gmail-Apple-tab-span"> </span>state=LocalMaintenance<br> <span class="gmail-Apple-tab-span"> </span>stopped=False<br> <br> </span></blockquote> you can use the command 'hosted-engine --clean-metadata --host-id=<host_id> --force-clean' so that this node does not show up in hosted-engine --vm-status. <meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta charset="utf-8"> <blockquote cite="mid:3F478669-7A42-4846-B66F-487E1F05FC76@gmail.com" type="cite"> <div><span style="background-color: rgba(255, 255, 255, 0);"><br> </span></div> <div><span style="background-color: rgba(255, 255, 255, 0);">How can I either remove this host altogether from the configuration, or repair it so that it is back in a good state? The host is up, but due to my removal attempts earlier, reports unknown stale data for all 3 hosts in the config.</span></div> <div><span style="background-color: rgba(255, 255, 255, 0);"><br> </span></div> <div><span style="background-color: rgba(255, 255, 255, 0);">Thanks</span></div> <div><br> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <p><br> </p> </body> </html> --------------3B7545EC8D90DD0EEF07FA47--

--Apple-Mail-8451CADD-6297-4BA5-AB6D-A249B9B42A3C Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks. I did this previously and got many errors and it didn't work. Since t= hen I have tried several thing, one of which was reinitialize lockspace as t= he errors seemed to indicate that might be the problem.=20 Now I was able to run the clean-metadata command successfully.=20 Will that command fail if there are SAN lockspace issues?
On Jun 15, 2017, at 10:56 PM, knarra <knarra@redhat.com> wrote: =20
On 06/16/2017 08:17 AM, Mike Farnam wrote: I had 3 hosts running in a hosted engine setup, oVirt Engine Version: 4.= 1.2.2-1.el7.centos, using FC storage. One of my hosts went unresponsive in t= he GUI, and attempts to bring it back were fruitless. I eventually decided t= o just remove it and have gotten it removed from the GUI, but it still shows= in =E2=80=9Chosted-engine =E2=80=94vm-status=E2=80=9D command on the other 2= hosts. The 2 good nodes show it as the following: =20 --=3D=3D Host 3 status =3D=3D-- =20 conf_on_shared_storage : True Status up-to-date : False Hostname : host3.my.lab Host ID : 3 Engine status : unknown stale-data Score : 0 stopped : False Local maintenance : True crc32 : bce9a8c5 local_conf_timestamp : 2605898 Host timestamp : 2605882 Extra metadata (valid at timestamp): metadata_parse_version=3D1 metadata_feature_version=3D1 timestamp=3D2605882 (Thu Jun 15 15:18:13 2017) host-id=3D3 score=3D0 vm_conf_refresh_time=3D2605898 (Thu Jun 15 15:18:29 2017) conf_on_shared_storage=3DTrue maintenance=3DTrue state=3DLocalMaintenance stopped=3DFalse =20 you can use the command 'hosted-engine --clean-metadata --host-id=3D<host_= id> --force-clean' so that this node does not show up in hosted-engine --vm= -status. =20 =20 How can I either remove this host altogether from the configuration, or r= epair it so that it is back in a good state? The host is up, but due to my r= emoval attempts earlier, reports =E2=80=9Cunknown stale data=E2=80=9D for al= l 3 hosts in the config. =20 Thanks =20 =20 =20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20
--Apple-Mail-8451CADD-6297-4BA5-AB6D-A249B9B42A3C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto"><div></div><div>Thanks. I did this previous= ly and got many errors and it didn't work. Since then I have tried several t= hing, one of which was reinitialize lockspace as the errors seemed to indica= te that might be the problem. </div><div>Now I was able to run the clea= n-metadata command successfully. </div><div>Will that command fail if t= here are SAN lockspace issues?</div><div><br></div><div><br>On Jun 15, 2017,= at 10:56 PM, knarra <<a href=3D"mailto:knarra@redhat.com">knarra@redhat.= com</a>> wrote:<br><br></div><blockquote type=3D"cite"><div> =20 <meta content=3D"text/html; charset=3Dwindows-1252" http-equiv=3D"Conten= t-Type"> =20 =20 <div class=3D"moz-cite-prefix">On 06/16/2017 08:17 AM, Mike Farnam wrote:<br> </div> <blockquote cite=3D"mid:3F478669-7A42-4846-B66F-487E1F05FC76@gmail.com" t= ype=3D"cite"> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dwindows-1252"> <span style=3D"background-color: rgba(255, 255, 255, 0);">I had 3 hosts running in a hosted engine setup, oVirt Engine Version: 4.1.2.2-1.el7.centos, using FC storage. One of my hosts went unresponsive in the GUI, and attempts to bring it back were fruitless. I eventually decided to just remove it and have gotten it removed from the GUI, but it still shows in =E2=80=9Chosted-engine =E2=80=94vm-status=E2=80=9D command on the ot= her 2 hosts. The 2 good nodes show it as the following:<br> <br> --=3D=3D Host 3 status =3D=3D--<br> <br> conf_on_shared_storage : T= rue<br> Status up-to-date &= nbsp; : False<br> Hostname &nb= sp; : host3.my.lab<br> Host ID &nbs= p; : 3<br> Engine status  = ; : unknown stale-data<br> Score = : 0<br> stopped &nbs= p; : False<br> Local maintenance &= nbsp; : True<br> crc32 = : bce9a8c5<br> local_conf_timestamp  = ; : <a moz-do-not-send=3D"true" href=3D"tel:2605898" dir=3D"ltr" x-appl= e-data-detectors=3D"true" x-apple-data-detectors-type=3D"telephone" x-apple-= data-detectors-result=3D"1">2605898</a><br> Host timestamp &nbs= p; : <a moz-do-not-send=3D"true" href=3D"tel:2605882" dir= =3D"ltr" x-apple-data-detectors=3D"true" x-apple-data-detectors-type=3D"tele= phone" x-apple-data-detectors-result=3D"2">2605882</a><br> Extra metadata (valid at timestamp):<br> <span class=3D"gmail-Apple-tab-span"> </span>metadata_parse_version=3D= 1<br> <span class=3D"gmail-Apple-tab-span"> </span>metadata_feature_versio= n=3D1<br> <span class=3D"gmail-Apple-tab-span"> </span>timestamp=3D<a moz-do-n= ot-send=3D"true" href=3D"tel:2605882" dir=3D"ltr" x-apple-data-detectors=3D"= true" x-apple-data-detectors-type=3D"telephone" x-apple-data-detectors-resul= t=3D"3">2605882</a> (Thu Jun 15 15:18:13 2017)<br> <span class=3D"gmail-Apple-tab-span"> </span>host-id=3D3<br> <span class=3D"gmail-Apple-tab-span"> </span>score=3D0<br> <span class=3D"gmail-Apple-tab-span"> </span>vm_conf_refresh_time=3D= <a moz-do-not-send=3D"true" href=3D"tel:2605898" dir=3D"ltr" x-apple-data-de= tectors=3D"true" x-apple-data-detectors-type=3D"telephone" x-apple-data-dete= ctors-result=3D"5">2605898</a> (Thu Jun 15 15:18:29 2017)<br> <span class=3D"gmail-Apple-tab-span"> </span>conf_on_shared_storage=3D= True<br> <span class=3D"gmail-Apple-tab-span"> </span>maintenance=3DTrue<br> <span class=3D"gmail-Apple-tab-span"> </span>state=3DLocalMaintenanc= e<br> <span class=3D"gmail-Apple-tab-span"> </span>stopped=3DFalse<br> <br> </span></blockquote> you can use the command 'hosted-engine --clean-metadata --host-id=3D<host_id> --force-clean' so that this node does not show up in hosted-engine --vm-status. <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dwindows-1252"> <meta charset=3D"utf-8"> <blockquote cite=3D"mid:3F478669-7A42-4846-B66F-487E1F05FC76@gmail.com" t= ype=3D"cite"> <div><span style=3D"background-color: rgba(255, 255, 255, 0);"><br> </span></div> <div><span style=3D"background-color: rgba(255, 255, 255, 0);">How can I either remove this host altogether from the configuration, or repair it so that it is back in a good state? The host is up, but due to my removal attempts earlier, reports =E2=80=9Cunknown stale data=E2=80=9D for all 3 ho= sts in the config.</span></div> <div><span style=3D"background-color: rgba(255, 255, 255, 0);"><br> </span></div> <div><span style=3D"background-color: rgba(255, 255, 255, 0);">Thanks<= /span></div> <div><br> </div> <br> <fieldset class=3D"mimeAttachmentHeader"></fieldset> <br> <pre wrap=3D"">_______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.org">Users@= ovirt.org</a> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org/mailman/li= stinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <p><br> </p> =20 </div></blockquote></body></html>= --Apple-Mail-8451CADD-6297-4BA5-AB6D-A249B9B42A3C--
participants (2)
-
knarra
-
Mike Farnam