
------=_Part_5747590_2051761120.1395560787350 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Giuseppe,=20 ----- Original Message -----
From: "Giuseppe Ragusa" <giuseppe.ragusa@hotmail.com> To: "Yedidyah Bar David" <didi@redhat.com> Cc: users@ovirt.org Sent: Sunday, March 23, 2014 1:34:04 AM Subject: RE: [Users] Self-hosted-engine setup error
Hi Didi, sorry for the delay in reporting final results.
I can confirm that simply creating /etc/pki/libvirt suffices: the "privat= e" subdir gets automatically correctly created (along with all certificates etc.) and setup completes fine.
OK, thanks for reporting...=20
It did not start up because of BZ #1075126 (HA agent died) but I noticed = (by chance) that there is an updated (18/03/2014) workaround and after manual= ly applying it (no oVirt new packages have been published yet) the Engine VM started fine.
Now I'm battling with an (apparently) GlusterFS (3.5.0beta4) bug that mak= es the (NFS based, but Gluster-provided) Engine storage domain shutdown by itself after a while (causing Engine VM to die).
Many thanks again for your support, Giuseppe
PS: would you suggest a complete reinstall with GlusterFS 3.4.x stable instead? ;>
No idea, I have zero experience with glusterfs.=20
PS2: sorry for top-posting (but Hotmail keeps failing on proper quoting..= .)
:-(=20 --=20 Didi=20
From: giuseppe.ragusa@hotmail.com To: didi@redhat.com Date: Sun, 16 Mar 2014 15:14:07 +0100 CC: users@ovirt.org Subject: Re: [Users] Self-hosted-engine setup error
Date: Sun, 16 Mar 2014 05:14:39 -0400 From: didi@redhat.com To: giuseppe.ragusa@hotmail.com CC: users@ovirt.org Subject: Re: [Users] Self-hosted-engine setup error
From: "Giuseppe Ragusa" <giuseppe.ragusa@hotmail.com> =20 To: "Yedidyah Bar David" <didi@redhat.com> =20 Cc: users@ovirt.org =20 Sent: Saturday, March 15, 2014 2:15:18 AM =20 Subject: RE: [Users] Self-hosted-engine setup error =20
Hi Didi, =20
Date: Thu, 13 Mar 2014 02:46:50 -0400 =20 From: didi@redhat.com =20 To: giuseppe.ragusa@hotmail.com =20 CC: users@ovirt.org =20 Subject: Re: [Users] Self-hosted-engine setup error =20
From: "Giuseppe Ragusa" <giuseppe.ragusa@hotmail.com> =20 =20 To: users@ovirt.org =20 =20 Sent: Thursday, March 13, 2014 2:38:42 AM =20 =20 Subject: [Users] Self-hosted-engine setup error =20 =20
Hi all, =20 =20 while attempting a from-scratch self-hosted-engine installation on Ce= ntOS 6.5 (also freshly reinstalled from scratch) on a physical node (oVirt 3.4.0_pre + GlusterFS 3.5.0beta4; NFS storage for engine VM), the process fails almost immediately with: =20 =20
[root@cluster1 ~]# ovirt-hosted-engine-setup --config-append=3D/root/ovhe-setup-answers.conf =20 =20 [ INFO ] Stage: Initializing =20 =20 Continuing will configure this host for serving as hypervisor and cre= ate a VM where you have to install oVirt Engine afterwards. =20 =20 Are you sure you want to continue? (Yes, No)[Yes]: =20 =20 [ INFO ] Generating a temporary VNC password. =20 =20 [ INFO ] Stage: Environment setup =20 =20 Configuration files: ['/root/ovhe-setup-answers.conf'] =20 =20 Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140313= 010526.log =20 =20 Version: otopi-1.2.0_rc3 (otopi-1.2.0-0.9.rc3.el6) =20 =20 [ INFO ] Hardware supports virtualization =20 =20 [ INFO ] Bridge ovirtmgmt already created =20 =20 [ INFO ] Stage: Environment packages setup =20 =20 [ INFO ] Stage: Programs detection =20 =20 [ INFO ] Stage: Environment setup =20 =20 [ INFO ] Generating VDSM certificates =20 =20 [ ERROR ] Failed to execute stage 'Environment setup': [Errno 2] No s= uch file or directory: '/etc/pki/libvirt/clientcert.pem' =20 =20
I already got another such report yesterday - seems like a bug in the f= ix for https://bugzilla.redhat.com/show_bug.cgi?id=3D1034634 . =20 I hope to push a fix later today. =20
I look forward to have the fix pushed/merged in actual packages. =20
[ INFO ] Stage: Clean up =20 =20 [ INFO ] Stage: Pre-termination =20 =20 [ INFO ] Stage: Termination =20 =20
The /root/ovhe-setup-answers.conf has been saved from a previous installation (before reinstalling) and only minimally edited (removed some lines w= ith UUIDs etc.). =20 =20
The /etc/pki/libvirt dir is completely missing on both nodes; last ti= me I tried the whole setup I do not recall of having such problems, but ma= ybe something was different then. =20 =20
The generated /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140313= 010526.log has been saved as: =20 =20
http://pastebin.com/ezAJETBN =20 =20
I hope to be able to progress further to test the whole 2-nodes setup (second node freshly reinstalled too and already up with GlusterFS and waitin= g to be added to oVirt cluster) and datacenter configuration. =20 =20
Many thanks in advance for any suggestions/help, =20 =20
For now, you can simply: =20 mkdir /etc/pki/libvirt =20
This should be enough. =20
The workaround works: the self-hosted-engine installation proceeds now. =20
Thanks for the report! =20 -- =20 Didi =20
Many thanks for your kind and prompt assistance, =20 Giuseppe =20
Thanks for the report. The workaround is probably not enough, depends on = what you are trying to do. 'mkdir /etc/pki/libvirt/private' is needed too. Without= it, the code that copies there a key will create a file 'private' instead of copying it int= o a directory 'private'.
Fix [1] was merged to all branches.
Best regards, -- Didi
Hi Didi, the workaround seemed actually to be enough to make the self-hosted-engin= e setup go through up to the end without any user-visible error, but it lef= t me with a non-running Engine VM afterwards (basically it did not restart = up automatically under HA protection).
I collected all logs and reported it in a separate message with subject "Self-hosted engine setup ok but no engine vm running=E2=80=8F " but got = no comments yet.
If I get no suggestions I will try to perform some "corrective actions" b= ased on my understanding of the problems at hand, but I did not want to "corru= pt" the exact state to help in debugging (starting again from scratch with fu= ll first node reinstallation is a somewhat lenghty process since I have no local repo mirrors).
Many thanks again, Giuseppe
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
<blockquote style=3D"border-left:2px solid #1010FF;margin-left:5px;padding= -left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:n= one;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"G= iuseppe Ragusa" <giuseppe.ragusa@hotmail.com><br><b>To: </b>"Yedidyah= Bar David" <didi@redhat.com><br><b>Cc: </b>users@ovirt.org<br><b>Sen= t: </b>Sunday, March 23, 2014 1:34:04 AM<br><b>Subject: </b>RE: [Users] Sel= f-hosted-engine setup error<br><div><br></div><style><!-- .hmmessage P { margin:0px;
<div>-- </div><div>Didi</div><div><br></div><blockquote style=3D"bord= er-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-= weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,= Arial,sans-serif;font-size:12pt;"><div dir=3D"ltr"><br><div><br></div><div>= <hr id=3D"stopSpelling">From: giuseppe.ragusa@hotmail.com<br>To: didi@redha= t.com<br>Date: Sun, 16 Mar 2014 15:14:07 +0100<br>CC: users@ovirt.org<br>Su= bject: Re: [Users] Self-hosted-engine setup error<br><div><br></div><style>= <!-- .ExternalClass .ecxhmmessage P {
<div>I already got another such report yesterday - seems like a bug in the= fix for <a href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1034= 634" target=3D"_blank">https://bugzilla.redhat.com/show_bug.cgi?id=3D103463= 4</a> .</div><div>I hope to push a fix later today.<br><div><br></div>= I look forward to have the fix pushed/merged in actual packages.<br></div><=
</div><div><br></div><div>This should be enough.<br><div><br></div>The wor= karound works: the self-hosted-engine installation proceeds now.<br></div><=
<br></div></div></div></div></div></blockquote><div><br>Thanks for the rep= ort. The workaround is probably not enough, depends on what you</div><div>a= re trying to do. 'mkdir /etc/pki/libvirt/private' is needed too. Without it= , the code that</div><div>copies there a key will create a file 'private' i= nstead of copying it into a directory 'private'.</div><div><br></div><div>F= ix [1] was merged to all branches.</div><div><br></div><div>[1] <a hre= f=3D"http://gerrit.ovirt.org/25747" target=3D"_blank">http://gerrit.ovirt.o= rg/25747</a></div><div><br></div><div>Best regards,</div><div><span style= =3D"font-size:12pt;">-- </span></div><div>Didi<br><br>Hi Didi,<br>the = workaround seemed actually to be enough to make the self-hosted-engine setu=
--=20 Didi=20 ------=_Part_5747590_2051761120.1395560787350 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div>Hi <span style=3D"font-fami= ly: Helvetica, Arial, sans-serif;" data-mce-style=3D"font-family: Helvetica= , Arial, sans-serif;">Giuseppe,</span></div><div><br></div><hr id=3D"zwchr"= padding:0px } body.hmmessage { font-size: 12pt; font-family:Calibri } --></style><div dir=3D"ltr">Hi Didi,<br>sorry for the delay in reporting fi= nal results.<br><div><br></div>I can confirm that simply creating /etc/pki/= libvirt suffices: the "private" subdir gets automatically correctly created= (along with all certificates etc.) and setup completes fine.</div></= blockquote><div><br></div><div>OK, thanks for reporting...</div><div><br></= div><blockquote style=3D"border-left:2px solid #1010FF;margin-left:5px;padd= ing-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoratio= n:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir=3D"= ltr"><br><div><br></div>It did not start up because of BZ #1075126 (HA agen= t died) but I noticed (by chance) that there is an updated (18/03/2014) wor= karound and after manually applying it (no oVirt new packages have been pub= lished yet) the Engine VM started fine.<br><div><br></div>Now I'm battling = with an (apparently) GlusterFS (3.5.0beta4) bug that makes the (NFS based, = but Gluster-provided) Engine storage domain shutdown by itself after a whil= e (causing Engine VM to die).<br><div><br></div>Many thanks again for your = support,<br>Giuseppe<br><div><br></div>PS: would you suggest a complete rei= nstall with GlusterFS 3.4.x stable instead? ;></div></blockquote><div><b= r></div><div>No idea, I have zero experience with glusterfs.</div><div><br>= </div><blockquote style=3D"border-left:2px solid #1010FF;margin-left:5px;pa= dding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decorat= ion:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir= =3D"ltr"><br><div><br></div>PS2: sorry for top-posting (but Hotmail keeps f= ailing on proper quoting...)</div></blockquote><div><br></div><div>:-(</div= padding:0px; } .ExternalClass body.ecxhmmessage { font-size:12pt; font-family:Calibri; } --></style><div dir=3D"ltr"><br><div dir=3D"ltr"><div><hr id=3D"ecxstopSpel= ling">Date: Sun, 16 Mar 2014 05:14:39 -0400<br>From: didi@redhat.com<br>To:= giuseppe.ragusa@hotmail.com<br>CC: users@ovirt.org<br>Subject: Re: [Users]= Self-hosted-engine setup error<br><div><br></div><div style=3D"font-family= :times new roman, new york, times, serif;font-size:12pt;color:#000000;"><bl= ockquote style=3D"border-left:2px solid #1010FF;padding-left:5px;color:#000= ;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helv= etica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Giuseppe Ragusa" <= giuseppe.ragusa@hotmail.com><br><b>To: </b>"Yedidyah Bar David" <didi= @redhat.com><br><b>Cc: </b>users@ovirt.org<br><b>Sent: </b>Saturday, Mar= ch 15, 2014 2:15:18 AM<br><b>Subject: </b>RE: [Users] Self-hosted-engine se= tup error<br><div><br></div><style><!-- .ExternalClass .ecxhmmessage P { padding:0px; } .ExternalClass body.ecxhmmessage { font-size:12pt; font-family:Calibri; } --></style><div dir=3D"ltr">Hi Didi,<br><div><br></div><div><hr id=3D"ecxst= opSpelling">Date: Thu, 13 Mar 2014 02:46:50 -0400<br>From: didi@redhat.com<= br>To: giuseppe.ragusa@hotmail.com<br>CC: users@ovirt.org<br>Subject: Re: [= Users] Self-hosted-engine setup error<br><div><br></div><div style=3D"font-= family:times new roman, new york, times, serif;font-size:12pt;color:#000000= ;"><blockquote style=3D"border-left:2px solid #1010FF;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>From: </b>"Giuseppe Ragusa= " <giuseppe.ragusa@hotmail.com><br><b>To: </b>users@ovirt.org<br><b>S= ent: </b>Thursday, March 13, 2014 2:38:42 AM<br><b>Subject: </b>[Users] Sel= f-hosted-engine setup error<br><div><br></div><style><!-- .ExternalClass .ecxhmmessage P { padding:0px; } .ExternalClass body.ecxhmmessage { font-size:12pt; font-family:Calibri; } --></style><div dir=3D"ltr">Hi all,<br>while attempting a from-scratch self= -hosted-engine installation on CentOS 6.5 (also freshly reinstalled from sc= ratch) on a physical node (oVirt 3.4.0_pre + GlusterFS 3.5.0beta4; NFS stor= age for engine VM), the process fails almost immediately with:<br><div><br>= </div>[root@cluster1 ~]# ovirt-hosted-engine-setup --config-append=3D/root/= ovhe-setup-answers.conf<br>[ INFO ] Stage: Initializing<br> &nbs= p; Continuing will configure this= host for serving as hypervisor and create a VM where you have to install o= Virt Engine afterwards.<br> = Are you sure you want to continue? (Yes, No)[Yes]:<br>[ INFO ]= Generating a temporary VNC password.<br>[ INFO ] Stage: Environment = setup<br> Configurati= on files: ['/root/ovhe-setup-answers.conf']<br> &nbs= p; Log file: /var/log/ovirt-hosted-engine-setup/ovi= rt-hosted-engine-setup-20140313010526.log<br> = Version: otopi-1.2.0_rc3 (otopi-1.2.0-0.9.rc3.el6)= <br>[ INFO ] Hardware supports virtualization<br>[ INFO ] Bridg= e ovirtmgmt already created<br>[ INFO ] Stage: Environment packages s= etup<br>[ INFO ] Stage: Programs detection<br>[ INFO ] Stage: E= nvironment setup<br>[ INFO ] Generating VDSM certificates<br>[ ERROR = ] Failed to execute stage 'Environment setup': [Errno 2] No such file or di= rectory: '/etc/pki/libvirt/clientcert.pem'</div></blockquote><div><br></div= div><br></div><blockquote style=3D"border-left:2px solid #1010FF;padding-le= ft:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none= ;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir=3D"ltr"><= br>[ INFO ] Stage: Clean up<br>[ INFO ] Stage: Pre-termination<= br>[ INFO ] Stage: Termination<br><div><br></div>The /root/ovhe-setup= -answers.conf has been saved from a previous installation (before reinstall= ing) and only minimally edited (removed some lines with UUIDs etc.).<br><di= v><br></div>The /etc/pki/libvirt dir is completely missing on both nodes; l= ast time I tried the whole setup I do not recall of having such problems, b= ut maybe something was different then.<br><div><br></div>The generated /var= /log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140313010526.log= has been saved as:<br><div><br></div>http://pastebin.com/ezAJETBN<br><div>= <br></div>I hope to be able to progress further to test the whole 2-nodes s= etup (second node freshly reinstalled too and already up with GlusterFS and= waiting to be added to oVirt cluster) and datacenter configuration.<br><di= v><br></div>Many thanks in advance for any suggestions/help,</div></blockqu= ote><div><br></div><div>For now, you can simply:</div><div>mkdir <span= style=3D"font-family:Helvetica, Arial, sans-serif;">/etc/pki/libvirt</span= div><br></div><div>Thanks for the report!</div><div>-- <br></div><div>Didi<= br><br>Many thanks for your kind and prompt assistance,<br>Giuseppe<br><div= p go through up to the end without any user-visible error, but it left me w= ith a non-running Engine VM afterwards (basically it did not restart up aut= omatically under HA protection).<br><div><br></div>I collected all logs and= reported it in a separate message with subject "Self-hosted engine setup o= k but no engine vm running=E2=80=8F " but got no comments yet.<br><div><br>= </div>If I get no suggestions I will try to perform some "corrective action= s" based on my understanding of the problems at hand, but I did not want to= "corrupt" the exact state to help in debugging (starting again from scratc= h with full first node reinstallation is a somewhat lenghty process since I= have no local repo mirrors).<br><div><br></div>Many thanks again,<br>Giuse= ppe<br><div><br></div></div></div></div></div></div><br>___________________= ____________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users</div></div></blockquote><div>= <br><br></div><div><br></div><div>-- <br></div><div><span name=3D"x"></span=
Didi<br><span name=3D"x"></span><br></div></div></body></html> ------=_Part_5747590_2051761120.1395560787350--