hosted engine status=WaitForLaunch

------=_Part_4159027_1345309167.1420347816269 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, I'm pretty new to the hosted engine.=C2=A0 1. Is there a way to re-run the deploy from scratch?2. if not, how can I re= start a bad setup giving me status=3DWaitForLaunch? a. I'm sure I gave bad option to run the VM installationb. I'm sure I picke= d a wrong parameter for the hosted-engine command Now when I run=C2=A0# hosted-engine --vm-startVM exists and is down, destro= ying itMachine destroyed bc13d2d0-f2b5-4ac2-bc5a-ef98e046e2a9=C2=A0 =C2=A0 =C2=A0 =C2=A0 Status =3D = WaitForLaunch=C2=A0 =C2=A0 =C2=A0 =C2=A0 nicModel =3D rtl8139,pv=C2=A0 =C2= =A0 =C2=A0 =C2=A0 emulatedMachine =3D pc Thanks in Advance and Happy New Year. Will ------=_Part_4159027_1345309167.1420347816269 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:He= lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo= nt-size:16px"><div dir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8025">Hi al= l,</div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8026"><br></div><= div dir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8027">I'm pretty new to th= e hosted engine. </div><div dir=3D"ltr" id=3D"yui_3_16_0_1_14203475896= 04_8027"><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8027">= 1. Is there a way to re-run the deploy from scratch?</div><div dir=3D"ltr" = id=3D"yui_3_16_0_1_1420347589604_8027">2. if not, how can I restart a bad s= etup giving me status=3DWaitForLaunch?</div><div dir=3D"ltr" id=3D"yui_3_16= _0_1_1420347589604_8027"><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1420= 347589604_8027"><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604= _8027">a. I'm sure I gave bad option to run the VM installation</div><div d= ir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8027">b. I'm sure I picked a wr= ong parameter for the hosted-engine command</div><div dir=3D"ltr" id=3D"yui= _3_16_0_1_1420347589604_8027"><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_1= _1420347589604_8027">Now when I run </div><div dir=3D"ltr" id=3D"yui_3= _16_0_1_1420347589604_8027" class=3D"" style=3D""># hosted-engine --vm-star= t</div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8027" class=3D"" s= tyle=3D"">VM exists and is down, destroying it</div><div dir=3D"ltr" id=3D"= yui_3_16_0_1_1420347589604_8027" class=3D"" style=3D"">Machine destroyed</d= iv><div dir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8027" class=3D"" style= =3D""><br class=3D"" style=3D""></div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1= 420347589604_8027" class=3D"" style=3D"">bc13d2d0-f2b5-4ac2-bc5a-ef98e046e2= a9</div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8027" class=3D"" = style=3D""> Status =3D WaitForLaunch</div><div d= ir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8027" class=3D"" style=3D"">&nb= sp; nicModel =3D rtl8139,pv</div><div dir=3D"ltr" id= =3D"yui_3_16_0_1_1420347589604_8027" class=3D"" style=3D""> &n= bsp; emulatedMachine =3D pc</div><div dir=3D"ltr" id=3D"yui_3_16_0_1= _1420347589604_8027" class=3D"" style=3D""><br></div><div dir=3D"ltr" id=3D= "yui_3_16_0_1_1420347589604_8027" class=3D"" style=3D"">Thanks in Advance a= nd Happy New Year.</div><div dir=3D"ltr" id=3D"yui_3_16_0_1_1420347589604_8= 027" class=3D"" style=3D""><br></div><div dir=3D"ltr" id=3D"yui_3_16_0_1_14= 20347589604_8027" class=3D"" style=3D"">Will</div><div dir=3D"ltr" id=3D"yu= i_3_16_0_1_1420347589604_8027" class=3D"" style=3D""><br class=3D"" style= =3D""></div></div></body></html> ------=_Part_4159027_1345309167.1420347816269--

----- Original Message -----
From: "Will K" <yetanotherwill@yahoo.com> To: users@ovirt.org Sent: Sunday, January 4, 2015 7:03:36 AM Subject: [ovirt-users] hosted engine status=WaitForLaunch
Hi all,
I'm pretty new to the hosted engine.
1. Is there a way to re-run the deploy from scratch?
If in 'from scratch' you mean something like the engine's 'engine-cleanup' utility, then no, we do not have such a tool for hosted-engine.
2. if not, how can I restart a bad setup giving me status=WaitForLaunch?
I. Usually, it's enough to: 1. Stop the engine VM if it's up, by 'hosted-engine --vm-poweroff' 2. rm -rf /path/to/hosted-engine-storage/* (with the correct path) 3. hosted-engine --deploy again II. If that's not enough, and for some reason you prefer to clean up manually instead of reinstalling the OS, you can try: 1. yum remove ovirt\* libvirt\* vdsm\* sanlock\* 2. rm -rf /etc/ovirt* /etc/vdsm* /etc/libvirt* /etc/pki/vdsm* /etc/pki/libvirt* 3. rm -rf /path/to/hosted-engine-storage/* (with the correct path) This will not revert the changes done to your network configuration. If you want to revert that, which is usually not needed, you can try manually copying back parts of /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt to the ifcfg file of the interface used for the bridge, and remove ifcfg-ovirtmgmt (after, of course, backing up, stopping the interface, etc). Then yum install and deploy again.
a. I'm sure I gave bad option to run the VM installation b. I'm sure I picked a wrong parameter for the hosted-engine command
Then try (some of) the options above. If (I.) is not enough, please post deploy logs. Thanks! Best, -- Didi

Connect to answer from didi@redhat.com, just put you environment to global maintenance mode before you destroy HE vm(hosted-engine --set-maintenance --mode=global), because agent will restart HE vm. ----- Original Message ----- From: "Will K" <yetanotherwill@yahoo.com> To: users@ovirt.org Sent: Sunday, January 4, 2015 7:03:36 AM Subject: [ovirt-users] hosted engine status=WaitForLaunch Hi all, I'm pretty new to the hosted engine. 1. Is there a way to re-run the deploy from scratch? 2. if not, how can I restart a bad setup giving me status=WaitForLaunch? a. I'm sure I gave bad option to run the VM installation b. I'm sure I picked a wrong parameter for the hosted-engine command Now when I run # hosted-engine --vm-start VM exists and is down, destroying it Machine destroyed bc13d2d0-f2b5-4ac2-bc5a-ef98e046e2a9 Status = WaitForLaunch nicModel = rtl8139,pv emulatedMachine = pc Thanks in Advance and Happy New Year. Will _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----<br clear=3D"none">From: "Will K" <<a shape= =3D"rect" ymailto=3D"mailto:yetanotherwill@yahoo.com" href=3D"mailto:yetano=
------=_Part_4516577_1643412388.1420439247428 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Thank you Artyom and Yedidyah.That works out fine. W On Sunday, January 4, 2015 6:16 AM, Artyom Lukianov <alukiano@redhat.com> wrote: Connect to answer from didi@redhat.com, just put you environment to global maintenance mode before you destroy HE vm(hosted-engine --set-maintenance --mode=global), because agent will restart HE vm. ----- Original Message ----- From: "Will K" <yetanotherwill@yahoo.com> To: users@ovirt.org Sent: Sunday, January 4, 2015 7:03:36 AM Subject: [ovirt-users] hosted engine status=WaitForLaunch Hi all, I'm pretty new to the hosted engine. 1. Is there a way to re-run the deploy from scratch? 2. if not, how can I restart a bad setup giving me status=WaitForLaunch? a. I'm sure I gave bad option to run the VM installation b. I'm sure I picked a wrong parameter for the hosted-engine command Now when I run # hosted-engine --vm-start VM exists and is down, destroying it Machine destroyed bc13d2d0-f2b5-4ac2-bc5a-ef98e046e2a9 Status = WaitForLaunch nicModel = rtl8139,pv emulatedMachine = pc Thanks in Advance and Happy New Year. Will _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ------=_Part_4516577_1643412388.1420439247428 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:He= lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo= nt-size:16px"><div id=3D"yui_3_16_0_1_1420431343688_32055" dir=3D"ltr">Than= k you Artyom and Yedidyah.That works out fine.</div><div dir=3D"ltr"><br></= div><div id=3D"yui_3_16_0_1_1420431343688_32054" dir=3D"ltr">W<br></div><di= v id=3D"yui_3_16_0_1_1420431343688_31985"><span></span></div> <div class=3D= "qtdSeparateBR"><br><br></div><div style=3D"display: block;" class=3D"yahoo= _quoted"> <div style=3D"font-family: HelveticaNeue, Helvetica Neue, Helveti= ca, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style=3D"font= -family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sa= ns-serif; font-size: 16px;"> <div dir=3D"ltr"> <font face=3D"Arial" size=3D= "2"> On Sunday, January 4, 2015 6:16 AM, Artyom Lukianov <alukiano@redha= t.com> wrote:<br> </font> </div> <br><br> <div class=3D"y_msg_container= ">Connect to answer from <a shape=3D"rect" ymailto=3D"mailto:didi@redhat.co= m" href=3D"mailto:didi@redhat.com">didi@redhat.com</a>, just put you enviro= nment to global maintenance mode before you destroy HE vm(hosted-engine --s= et-maintenance --mode=3Dglobal), because agent will restart HE vm.<br clear= =3D"none"><div class=3D"yqt1739934271" id=3D"yqtfd51748"><br clear=3D"none"= therwill@yahoo.com">yetanotherwill@yahoo.com</a>><br clear=3D"none">To: = <a shape=3D"rect" ymailto=3D"mailto:users@ovirt.org" href=3D"mailto:users@o= virt.org">users@ovirt.org</a><br clear=3D"none">Sent: Sunday, January 4, 20= 15 7:03:36 AM<br clear=3D"none">Subject: [ovirt-users] hosted engine status= =3DWaitForLaunch<br clear=3D"none"><br clear=3D"none">Hi all, <br clear=3D"= none"><br clear=3D"none">I'm pretty new to the hosted engine. <br clear=3D"= none"><br clear=3D"none">1. Is there a way to re-run the deploy from scratc= h? <br clear=3D"none">2. if not, how can I restart a bad setup giving me st= atus=3DWaitForLaunch? <br clear=3D"none"><br clear=3D"none"><br clear=3D"no= ne">a. I'm sure I gave bad option to run the VM installation <br clear=3D"n= one">b. I'm sure I picked a wrong parameter for the hosted-engine command <= br clear=3D"none"><br clear=3D"none">Now when I run <br clear=3D"none"># ho= sted-engine --vm-start <br clear=3D"none">VM exists and is down, destroying= it <br clear=3D"none">Machine destroyed <br clear=3D"none"><br clear=3D"no= ne">bc13d2d0-f2b5-4ac2-bc5a-ef98e046e2a9 <br clear=3D"none">Status =3D Wait= ForLaunch <br clear=3D"none">nicModel =3D rtl8139,pv <br clear=3D"none">emu= latedMachine =3D pc <br clear=3D"none"><br clear=3D"none">Thanks in Advance= and Happy New Year. <br clear=3D"none"><br clear=3D"none">Will </div><br c= lear=3D"none"><br clear=3D"none"><br clear=3D"none">_______________________= ________________________<br clear=3D"none">Users mailing list<br clear=3D"n= one"><a shape=3D"rect" ymailto=3D"mailto:Users@ovirt.org" href=3D"mailto:Us= ers@ovirt.org">Users@ovirt.org</a><br clear=3D"none"><a shape=3D"rect" href= =3D"http://lists.ovirt.org/mailman/listinfo/users" target=3D"_blank">http:/= /lists.ovirt.org/mailman/listinfo/users</a><div class=3D"yqt1739934271" id= =3D"yqtfd04118"><br clear=3D"none"></div><br><br></div> </div> </div> </d= iv> </div></body></html> ------=_Part_4516577_1643412388.1420439247428--
participants (3)
-
Artyom Lukianov
-
Will K
-
Yedidyah Bar David