------=_Part_269393_882485354.1394961279967
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
From: "Giuseppe Ragusa"
<giuseppe.ragusa(a)hotmail.com>
To: "Yedidyah Bar David" <didi(a)redhat.com>
Cc: users(a)ovirt.org
Sent: Saturday, March 15, 2014 2:15:18 AM
Subject: RE: [Users] Self-hosted-engine setup error
Hi Didi,
Date: Thu, 13 Mar 2014 02:46:50 -0400
From: didi(a)redhat.com
To: giuseppe.ragusa(a)hotmail.com
CC: users(a)ovirt.org
Subject: Re: [Users] Self-hosted-engine setup error
> From: "Giuseppe Ragusa"
<giuseppe.ragusa(a)hotmail.com>
> To: users(a)ovirt.org
> Sent: Thursday, March 13, 2014 2:38:42 AM
> Subject: [Users] Self-hosted-engine setup error
> Hi all,
> while attempting a from-scratch self-hosted-engine installation on CentOS
> 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:
> [root@cluster1 ~]# ovirt-hosted-engine-setup
> --config-append=/root/ovhe-setup-answers.conf
> [ INFO ] Stage: Initializing
> Continuing will configure this host for serving as hypervisor and create a
> VM
> where you have to install oVirt Engine afterwards.
> Are you sure you want to continue? (Yes, No)[Yes]:
> [ INFO ] Generating a temporary VNC password.
> [ INFO ] Stage: Environment setup
> Configuration files: ['/root/ovhe-setup-answers.conf']
> Log file:
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140313010526.log
> Version: otopi-1.2.0_rc3 (otopi-1.2.0-0.9.rc3.el6)
> [ INFO ] Hardware supports virtualization
> [ INFO ] Bridge ovirtmgmt already created
> [ INFO ] Stage: Environment packages setup
> [ INFO ] Stage: Programs detection
> [ INFO ] Stage: Environment setup
> [ INFO ] Generating VDSM certificates
> [ ERROR ] Failed to execute stage 'Environment setup': [Errno 2] No such
> file
> or directory: '/etc/pki/libvirt/clientcert.pem'
I already got another such report yesterday - seems like a bug in the
fix for
https://bugzilla.redhat.com/show_bug.cgi?id=1034634 .
I hope to push a fix later today.
I look forward to have the fix pushed/merged in actual packages.
> [ INFO ] Stage: Clean up
> [ INFO ] Stage: Pre-termination
> [ INFO ] Stage: Termination
> The /root/ovhe-setup-answers.conf has been saved from a
previous
> installation
> (before reinstalling) and only minimally edited (removed some lines with
> UUIDs etc.).
> The /etc/pki/libvirt dir is completely missing on both nodes;
last time I
> tried the whole setup I do not recall of having such problems, but maybe
> something was different then.
> The generated
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140313010526.log
> has been saved as:
> 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 waiting to
> be
> added to oVirt cluster) and datacenter configuration.
> Many thanks in advance for any suggestions/help,
For now, you can simply:
mkdir /etc/pki/libvirt
This should be enough.
The workaround works: the self-hosted-engine installation proceeds
now.
Thanks for the report!
--
Didi
Many thanks for your kind and prompt assistance,
Giuseppe
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 into a
directory 'private'.
Fix [1] was merged to all branches.
[1]
http://gerrit.ovirt.org/25747
Best regards,
--
Didi
------=_Part_269393_882485354.1394961279967
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></div><blockquote
style=3D"borde=
r-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-w=
eight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,A=
rial,sans-serif;font-size:12pt;"><b>From: </b>"Giuseppe
Ragusa" <giusepp=
e.ragusa(a)hotmail.com&gt;<br><b>To: </b>"Yedidyah Bar
David" <didi@redhat=
.com><br><b>Cc: </b>users(a)ovirt.org<br><b>Sent:
</b>Saturday, March 15, =
2014 2:15:18 AM<br><b>Subject: </b>RE: [Users] Self-hosted-engine setup
err=
or<br><div><br></div>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir=3D"ltr">Hi
Didi,<br><div><br></div><div><hr
id=3D"stopSpelling">Da=
te: Thu, 13 Mar 2014 02:46:50 -0400<br>From: didi(a)redhat.com<br>To: giusepp=
e.ragusa(a)hotmail.com<br>CC: users(a)ovirt.org<br>Subject: Re: [Users] Self-ho=
sted-engine setup error<br><div><br></div><div
style=3D"font-family:times n=
ew roman, new york, times,
serif;font-size:12pt;color:#000000;"><div></div>=
<blockquote style=3D"border-left:2px solid #1010FF;padding-left:5px;color:#=
000;font-weight:normal;font-style:normal;text-decoration:none;font-family:H=
elvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Giuseppe
Ragusa" &=
lt;giuseppe.ragusa(a)hotmail.com&gt;<br><b>To:
</b>users(a)ovirt.org<br><b>Sent=
: </b>Thursday, March 13, 2014 2:38:42 AM<br><b>Subject:
</b>[Users] Self-h=
osted-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>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?i...
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><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/ezAJETB...
<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><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><=
div><br></div><div>Thanks for the report!</div><div>--
<br></div><div><span=
</span>Didi<br><span></span><br>Many
thanks for your kind and prompt assis=
tance,<br>Giuseppe<br><div><br></div></div></div></div>
=09=09 =09 =09=09=
</div>
</blockquote><div><br>Thanks for the report. The workaround is probably
not=
enough, depends on what you</div><div>are trying to do. 'mkdir
/etc/pki/li=
bvirt/private' is needed too. Without it, the code that</div><div>copies
th=
ere a key will create a file 'private' instead of copying it into a directo=
ry 'private'.</div><div><br></div><div>Fix [1] was
merged to all branches.<=
/div><div><br></div><div>[1] <a
href=3D"http://gerrit.ovirt.org/25747"=
div><div><span style=3D"font-size:
12pt;">-- </span></div><div><span n=
ame=3D"x"></span>Didi<br><span
name=3D"x"></span><br></div></div></body></h=
tml>
------=_Part_269393_882485354.1394961279967--