[Users] Unable to Adding Local host issue

Hi, All I have been experienced an issue on my oVirt installation which failed on this step, Installing: AIO: Validating CPU Compatibility... [ DONE ] Configuring oVirt-engine... [ DONE ] Creating CA... [ DONE ] Editing JBoss Configuration... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Creating Database... [ DONE ] Updating the Default Data Center Storage Type... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall (iptables)... [ DONE ] Starting JBoss Service... [ DONE ] Handling HTTPD... [ DONE ] AIO: Creating storage directory... [ DONE ] AIO: Adding Local Datacenter and cluster... [ DONE ] AIO: Adding Local host (This may take several minutes)... [ ERROR ] Error: Timed out while waiting for host to start whatever I still couldnot get it fix. Could you please give any help? list my enviroment below and see log enclosed for details OS:CentOS 6 x86-64 Repo: http://www.dreyou.org/ovirt/ovirt-dre.repo PKG: ovirt-engine-setup-plugin-allinone.noarch With many thanks -Johnny Tao

------=_Part_168_28065321.1355396066474 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This is what works for me:=20 Edit:=20 /usr/share/ovirt-engine/scripts/plugins/ all_in_one_100.py=20 file and edit the waitForHostUp function so that the timeout is bigger. Lik= e this:=20 def waitForHostUp():=20 utils.retry(isHostUp, tries=3D40, timeout=3D300, sleep=3D5)=20 In the all-in-one howto jbrooks says that step is not fatal but it was for = me, the trick above did work for me.=20 Take into account that you probably have to run:=20 engine-cleanup=20 before running engine-setup and that the commands might delete previous cus= tomisations if you have ever done anyone.=20 ----- Mensaje original -----
De: "Johnny Tao" <johnnybeijing@gmail.com> Para: users@ovirt.org Enviados: Jueves, 13 de Diciembre 2012 10:52:11 Asunto: [Users] Unable to Adding Local host issue
Hi, All
I have been experienced an issue on my oVirt installation which failed on this step,
Installing: AIO: Validating CPU Compatibility... [ DONE ] Configuring oVirt-engine... [ DONE ] Creating CA... [ DONE ] Editing JBoss Configuration... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Creating Database... [ DONE ] Updating the Default Data Center Storage Type... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall (iptables)... [ DONE ] Starting JBoss Service... [ DONE ] Handling HTTPD... [ DONE ] AIO: Creating storage directory... [ DONE ] AIO: Adding Local Datacenter and cluster... [ DONE ] AIO: Adding Local host (This may take several minutes)... [ ERROR ] Error: Timed out while waiting for host to start
whatever I still couldnot get it fix. Could you please give any help?
list my enviroment below and see log enclosed for details
OS:CentOS 6 x86-64 Repo: http://www.dreyou.org/ovirt/ovirt-dre.repo
PKG: ovirt-engine-setup-plugin-allinone.noarch
With many thanks
-Johnny Tao --=20
AIO: Validating CPU Compatibility... &n= bsp; [ DONE = ]</div> <div>Configuring oVirt-engine... =  = ; [ DONE ]</div><div>Creating CA...  = ; &nb= sp; &= nbsp; [ DONE ]</div><div>Editing JBoss Configuration...  = ; &nb= sp; [ DONE ]</div> <div>Setting Database Configuration... &= nbsp; = [ DONE ]</div><div>Setting Database Security... = &nbs=
<div><br></div> <div><br></div><div>whatever I still couldnot get it fix.</div><div>Could y= ou please give any help?</div><div><br></div><div>list my enviroment below = and see log enclosed for details <br></div><div><br></div><div>OS:Cent= OS 6 x86-64</div> <div>Repo: <a href=3D"http://www.dreyou.org/ovirt/ovirt-dre.repo" targ= et=3D"_blank">http://www.dreyou.org/ovirt/ovirt-dre.repo</a> </div><di= v><div>PKG: ovirt-engine-setup-plugin-allinone.noarch</div></div><div><br><= /div><div>With many thanks </div> <div><br></div><div>-Johnny Tao</div></blockquote>-- <br><div><span name=3D= "x"></span><font style=3D"font-weight: bold;" size=3D"3"><a style=3D"color:= rgb(0, 0, 0);" href=3D"http://www.btactic.com/"><span id=3D"DWT100"><font = class=3D"Apple-style-span" face=3D"verdana, helvetica, sans-serif"><span cl= ass=3D"Apple-style-span" style=3D"background-color: rgb(255, 255, 255);"></= span></font></span></a></font><font style=3D"font-family: 'Times New Roman'= ;" color=3D"#5f5f5f" face=3D"Arial" size=3D"1"><font size=3D"3"><span style= =3D"font-family: verdana,helvetica,sans-serif; color: rgb(0, 0, 0);"><font =
Adri=C3=A1n Gibanel=20 I.T. Manager=20 +34 675 683 301=20 www.btactic.com=20 Ens podeu seguir a/Nos podeis seguir en:=20 i=20 Abans d=C2=B4imprimir aquest missatge, pensa en el medi ambient. El medi am= bient =C3=A9s cosa de tothom. / Antes de imprimir el mensaje piensa en el m= edio ambiente. El medio ambiente es cosa de todos.=20 AVIS:=20 El contingut d'aquest missatge i els seus annexos =C3=A9s confidencial. Si = no en sou el destinatari, us fem saber que est=C3=A0 prohibit utilitzar-lo,= divulgar-lo i/o copiar-lo sense tenir l'autoritzaci=C3=B3 corresponent. Si= heu rebut aquest missatge per error, us agrairem que ho feu saber immediat= ament al remitent i que procediu a destruir el missatge .=20 AVISO:=20 El contenido de este mensaje y de sus anexos es confidencial. Si no es el d= estinatario, les hacemos saber que est=C3=A1 prohibido utilizarlo, divulgar= lo y/o copiarlo sin tener la autorizaci=C3=B3n correspondiente. Si han reci= bido este mensaje por error, les agradecer=C3=ADamos que lo hagan saber inm= ediatamente al remitente y que procedan a destruir el mensaje .=20 ------=_Part_168_28065321.1355396066474 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: arial,helvetica,sans-serif; font-size: 10pt; colo= r: #000000'>This is what works for me:<br><br>Edit:<br><br> <p>/usr/share/ovirt-engine/scripts/plugins/<a href=3D"http://all_in_one_100= .py/" rel=3D"nofollow">all_in_one_100.py</a></p><p><a href=3D"http://all_in= _one_100.py/" rel=3D"nofollow"><br></a></p> <p>file and edit the waitForHostUp function so that the timeout is bigger. = Like this:</p> <p>def waitForHostUp():<br> utils.retry(isHostUp, tries=3D40, timeout=3D= 300, sleep=3D5)</p><br>In the all-in-one howto jbrooks says that step is no= t fatal but it was for me, the trick above did work for me.<br><br>Take int= o account that you probably have to run:<br>engine-cleanup<br>before runnin= g engine-setup and that the commands might delete previous customisations i= f you have ever done anyone.<br><br><hr id=3D"zwchr"><blockquote style=3D"b= order-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;colo= r:#000;font-weight:normal;font-style:normal;text-decoration:none;font-famil= y:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Johnny Tao" <j= ohnnybeijing@gmail.com><br><b>Para: </b>users@ovirt.org<br><b>Enviados: = </b>Jueves, 13 de Diciembre 2012 10:52:11<br><b>Asunto: </b>[Users] Unable = to Adding Local host issue<br><br>Hi, All <div><br></div><div>I have b= een experienced an issue on my oVirt installation </div><div>which fai= led on this step, </div><div><br></div><div><div>Installing:</div><div= p; [ DONE ]</div><div>Creating Database.= .. &n= bsp; = [ DONE ]</div> <div>Updating the Default Data Center Storage Type... = [ DONE ]</div><div>Editing oVirt = Engine Configuration... &n= bsp; [ DONE ]</div><div>Edi= ting Postgresql Configuration... = [ DONE= ]</div> <div>Configuring the Default ISO Domain... &nbs= p; [ D= ONE ]</div><div>Configuring Firewall (iptables)... &nb= sp; &= nbsp; [ DONE ]</div><div>Starting JBoss Service... &nb= sp; &= nbsp; [ DONE ]</div> <div>Handling HTTPD... &nb= sp; &= nbsp; [ DONE ]</div><div>AIO: Crea= ting storage directory... = [ DONE ]</di= v><div>AIO: Adding Local Datacenter and cluster... &nb= sp; [ DONE ]</div> <div><font color=3D"#ff0000">AIO: Adding Local host (This may take several = minutes)... [ ERROR ]</font></div><div><font color=3D"= #ff0000">Error: Timed out while waiting for host to start</font></div></div= style=3D"font-family: helvetica;" size=3D"2"><strong>Adri=C3=A1n Gibanel</s= trong><br>I.T. Manager<br><br>+34 675 683 301<br><a href=3D"http://btactic.= com/">www.btactic.com</a></font><br><br></span></font></font><font color=3D= "#008000" face=3D"Arial" size=3D"1"><img src=3D"http://www.btactic.com/sign= aturabtacticmail/btacticsignature.png" style=3D"border-width: 0px;"><br></f= ont><font class=3D"Apple-style-span" face=3D"Arial"><b><span class=3D"Apple= -style-span" style=3D"font-family: Verdana; font-weight: normal;"><span id= =3D"bc4bed34-88ab-466b-a731-c40f5c09ab6c"><font color=3D"#5f5f5f" face=3D"A= rial" size=3D"1"><br>Ens podeu seguir a/Nos podeis seguir en:<br> <br> </font></span><a href=3D"http://www.facebook.com/pages/btactic/118651634826= 400?v=3Dapp_9953271133"><img style=3D"border: 0pt none;" src=3D"http://www.= btactic.com/wp-content/themes/btactic/img/facebookfoot.jpg"></a> i <a href= =3D"http://twitter.com/btactic"><img style=3D"border: 0pt none;" src=3D"htt= p://www.btactic.com/wp-content/themes/btactic/img/twitterfoot.jpg"></a></sp= an></b></font><br><font color=3D"#008000" face=3D"Arial" size=3D"1"><br></f= ont><div><font color=3D"#008000" face=3D"Arial" size=3D"1">Abans d=C2=B4imp= rimir aquest missatge, pensa en el medi ambient. El medi ambient =C3=A9s cosa de= =20 tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El medio=20 ambiente es cosa de todos. </font><font color=3D"#5f5f5f" face=3D"Arial" size=3D"1">= <br> <br> AVIS: <br> El contingut d'aquest missatge i els seus annexos =C3=A9s confidencial. Si = no en sou el destinatari, us fem saber que est=C3=A0 prohibit utilitzar-lo,=20 divulgar-lo i/o copiar-lo sense tenir l'autoritzaci=C3=B3 corresponent. Si heu rebut=20 aquest missatge per error, us agrairem que ho feu saber immediatament <span class= =3D"Object" id=3D"OBJ_PREFIX_DWT103">al remitent i que procediu a destruir el missatge</span>.<br> <br> AVISO:<br> El contenido de este mensaje y de sus anexos es confidencial. Si no es el destinatario, les hacemos saber que est=C3=A1 prohibido utilizarlo,=20 divulgarlo y/o copiarlo sin tener la autorizaci=C3=B3n correspondiente. Si han recibid= o este mensaje por error, les agradecer=C3=ADamos que lo hagan saber=20 inmediatamente <span class=3D"Object" id=3D"OBJ_PREFIX_DWT104">al remitente y que procedan= a destruir el mensaje</span>.</font> </div><span name=3D"x"></span><br></div></div></body></html> ------=_Part_168_28065321.1355396066474--

Adrian Thanks for you reply, Edit that python script and engine-clean all does not work for me according to jbrooks's blog.But it works well for my another Fedora17 x86-64 host. Now this CentOS x86-64 host comes with a engine-sdk 3.1 and not need to do downgrade On Thu, Dec 13, 2012 at 6:54 PM, Adrian Gibanel <adrian.gibanel@btactic.com>wrote:
This is what works for me:
Edit:
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py
file and edit the waitForHostUp function so that the timeout is bigger. Like this:
def waitForHostUp(): utils.retry(isHostUp, tries=40, timeout=300, sleep=5)
In the all-in-one howto jbrooks says that step is not fatal but it was for me, the trick above did work for me.
Take into account that you probably have to run: engine-cleanup before running engine-setup and that the commands might delete previous customisations if you have ever done anyone.
------------------------------
*De: *"Johnny Tao" <johnnybeijing@gmail.com> *Para: *users@ovirt.org *Enviados: *Jueves, 13 de Diciembre 2012 10:52:11 *Asunto: *[Users] Unable to Adding Local host issue
Hi, All
I have been experienced an issue on my oVirt installation which failed on this step,
Installing: AIO: Validating CPU Compatibility... [ DONE ] Configuring oVirt-engine... [ DONE ] Creating CA... [ DONE ] Editing JBoss Configuration... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Creating Database... [ DONE ] Updating the Default Data Center Storage Type... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall (iptables)... [ DONE ] Starting JBoss Service... [ DONE ] Handling HTTPD... [ DONE ] AIO: Creating storage directory... [ DONE ] AIO: Adding Local Datacenter and cluster... [ DONE ] AIO: Adding Local host (This may take several minutes)... [ ERROR ] Error: Timed out while waiting for host to start
whatever I still couldnot get it fix. Could you please give any help?
list my enviroment below and see log enclosed for details
OS:CentOS 6 x86-64 Repo: http://www.dreyou.org/ovirt/ovirt-dre.repo PKG: ovirt-engine-setup-plugin-allinone.noarch
With many thanks
-Johnny Tao
-- <http://www.btactic.com/>*Adrián Gibanel* I.T. Manager
+34 675 683 301 www.btactic.com <http://btactic.com/>
* Ens podeu seguir a/Nos podeis seguir en:
<http://www.facebook.com/pages/btactic/118651634826400?v=app_9953271133>i <http://twitter.com/btactic>*
Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El medio ambiente es cosa de todos.
AVIS: El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge per error, us agrairem que ho feu saber immediatament al remitent i que procediu a destruir el missatge.
AVISO: El contenido de este mensaje y de sus anexos es confidencial. Si no es el destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o copiarlo sin tener la autorización correspondiente. Si han recibido este mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al remitente y que procedan a destruir el mensaje.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Adrian Gibanel
-
Johnny Tao