<div dir="ltr"><div style>Thank you very much for your prompt response. However, according to "git rebase" (after "git fetch") there is no new change</div><div><br></div><div>[wil@bufferoverflow repository]$ git fetch <a href="https://github.com/alonbl/ovirt-engine.git">https://github.com/alonbl/ovirt-engine.git</a> otopi</div>
<div>From <a href="https://github.com/alonbl/ovirt-engine">https://github.com/alonbl/ovirt-engine</a></div><div> * branch otopi -> FETCH_HEAD</div><div>[wil@bufferoverflow repository]$ git rebase --merge FETCH_HEAD</div>
<div><b>Current branch otopi is up to date.</b></div><div><b><br></b></div><div style>The latest change I see in "git log" is</div><div style><div><br></div><div>[wil@bufferoverflow repository]$ git show HEAD<br>
</div><div>commit 99d95891ab0e814159a463d246543b08e41c746d</div><div>Author: Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>></div><div>Date: Thu Apr 25 12:39:50 2013 +0300</div><div><br></div>
<div> packaging: engine-setup re-write using otopi</div><div><br></div><div> Change-Id: I4d5e3ac7927802326e324c9b98ada75b421638aa</div><div> Signed-off-by: Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>></div>
<div> Signed-off-by: Sandro Bonazzola <<a href="mailto:sbonazzo@redhat.com">sbonazzo@redhat.com</a>></div><div> Signed-off-by: Alex Lourie <<a href="mailto:alourie@redhat.com">alourie@redhat.com</a>></div>
<div><br></div><div style>If you don't wish to push the change yet, you can send a patch and I will apply it.</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 1:04 AM, Alon Bar-Lev <span dir="ltr"><<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
----- Original Message -----<br>
> From: "Limor Gavish" <<a href="mailto:lgavish@gmail.com">lgavish@gmail.com</a>><br>
> To: "Alon Bar-Lev" <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
</div><div class="im">> Cc: "Yuval M" <<a href="mailto:yuvalme@gmail.com">yuvalme@gmail.com</a>>, <a href="mailto:users@ovirt.org">users@ovirt.org</a>, "Nezer Zaidenberg" <<a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a>>, "Vered Volansky"<br>
> <<a href="mailto:vered@redhat.com">vered@redhat.com</a>><br>
</div><div class="im">> Sent: Sunday, April 28, <a href="tel:2013" value="+9722013">2013</a> 10:56:45 PM<br>
> Subject: Re: [Users] Unable to add host in a development setup - "Host kernelpanic.home installation failed. Failed<br>
> to decode own public key from store 'keys/engine.p12' using alias '1'."<br>
><br>
</div><div class="im">> Hi,<br>
><br>
> Thank you very much for your help but I do not succeed to start the engine<br>
> after compiling your version.<br>
><br>
> I switched to the otopi branch like you said.<br>
> git fetch <a href="https://github.com/alonbl/ovirt-engine.git" target="_blank">https://github.com/alonbl/ovirt-engine.git</a> otopi<br>
> git checkout -b otopi FETCH_HEAD<br>
><br>
> I followed the instructions in<br>
> <a href="https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer" target="_blank">https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer</a><br>
</div>> *So here are the last 3 commands I used:*<br>
<div class="im">> make clean install-dev PREFIX=$HOME/ovirt-engine<br>
> $HOME/ovirt-engine/bin/engine-setup-2<br>
> --jboss-home=$HOME/ovirt-engine/jboss-as-7.1.1.Final<br>
> $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py start<br>
><br>
> However, the last command<br>
> ($HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py start)<br>
> hangs.<br>
<br>
</div>This is expected... it is the service running, Ctrl-C to terminate.<br>
<br>
> *In server.log I see the following error:*<br>
<div class="im">> 2013-04-28 22:13:40,203 ERROR [<a href="http://org.jboss.as" target="_blank">org.jboss.as</a>] (MSC service thread 1-3)<br>
> JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 2788ms<br>
> - Started 504 of 5 40 services (1 services failed or missing<br>
> dependencies, 34 services are passive or on-demand)<br>
</div>> *In engine.log I see the following error:*<br>
<div class="im">> 2013-04-28 22:13:40,082 ERROR<br>
> [org.ovirt.engine.core.utils.ErrorTranslatorImpl] (MSC service thread 1-4)<br>
> File: bundles/VdsmErrors could not be loaded: java.util.Mis<br>
> singResourceException: Can't find bundle for base name bundles/VdsmErrors,<br>
> locale en_US<br>
><br>
> Full logs are attached.<br>
<br>
</div>The problem is that for some reason the PREFIX is not taken into account.<br>
<br>
Related errors:<br>
2013-04-28 19:57:46,468 WARN [org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-3) The file "/usr/share/ovirt-engine/conf/engine.conf.defaults" doesn't exist or isn't readable. Will return an empty set of properties.<br>
2013-04-28 19:57:46,468 WARN [org.ovirt.engine.core.utils.LocalConfig] (MSC service thread 1-3) The file "/etc/ovirt-engine/engine.conf" doesn't exist or isn't readable. Will return an empty set of properties.<br>
<br>
It can be due to previous make execution without PREFIX.<br>
I've committed a change to Makefile to force regenerate the file locations when using install-dev.<br>
Can you please give it a try?<br>
<br>
Thanks!<br>
<div class="HOEnZb"><div class="h5"><br>
> Thanks,<br>
> Limor on behalf of Yuval<br>
><br>
><br>
> On Sun, Apr 28, <a href="tel:2013" value="+9722013">2013</a> at 2:51 PM, Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>> wrote:<br>
><br>
> ><br>
> > Maybe someone can help you in this.<br>
> ><br>
> > I prefer people install development mode and use fully functional product<br>
> > within their development environment.<br>
> ><br>
> > Alon<br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Yuval M" <<a href="mailto:yuvalme@gmail.com">yuvalme@gmail.com</a>><br>
> > > To: "Alon Bar-Lev" <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> > > Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a>, "Nezer Zaidenberg" <<a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a>>, "Limor<br>
> > Gavish" <<a href="mailto:lgavish@gmail.com">lgavish@gmail.com</a>>, "Vered Volansky"<br>
> > > <<a href="mailto:vered@redhat.com">vered@redhat.com</a>><br>
> > > Sent: Sunday, April 28, <a href="tel:2013" value="+9722013">2013</a> 12:45:33 PM<br>
> > > Subject: Re: [Users] Unable to add host in a development setup - "Host<br>
> > kernelpanic.home installation failed. Failed<br>
> > > to decode own public key from store 'keys/engine.p12' using alias '1'."<br>
> > ><br>
> > > But is there an option to just manually install the new host?<br>
> > ><br>
> > > Yuval<br>
> > ><br>
> > ><br>
> > > On Sun, Apr 28, <a href="tel:2013" value="+9722013">2013</a> at 11:46 AM, Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> > wrote:<br>
> > ><br>
> > > ><br>
> > > > Development mode installation is not yet supported to perform<br>
> > host-deploy.<br>
> > > > There is ongoing work for fully functional development environment.<br>
> > > > You can test this if you like before it is merged upstream.<br>
> > > > Sources available here[1], documentation is here[2].<br>
> > > ><br>
> > > > [1] <a href="https://github.com/alonbl/ovirt-engine/tree/otopi" target="_blank">https://github.com/alonbl/ovirt-engine/tree/otopi</a><br>
> > > > [2] <a href="https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer" target="_blank">https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer</a><br>
> > > ><br>
> > > > ----- Original Message -----<br>
> > > > > From: "Yuval M" <<a href="mailto:yuvalme@gmail.com">yuvalme@gmail.com</a>><br>
> > > > > To: <a href="mailto:users@ovirt.org">users@ovirt.org</a>, "Nezer Zaidenberg" <<a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a>>,<br>
> > "Limor<br>
> > > > Gavish" <<a href="mailto:lgavish@gmail.com">lgavish@gmail.com</a>><br>
> > > > > Sent: Saturday, April 27, <a href="tel:2013" value="+9722013">2013</a> 5:22:59 PM<br>
> > > > > Subject: [Users] Unable to add host in a development setup - "Host<br>
> > > > kernelpanic.home installation failed. Failed to<br>
> > > > > decode own public key from store 'keys/engine.p12' using alias '1'."<br>
> > > > ><br>
> > > > > I'm getting the aforementioned error message when trying to<br>
> > reinstall a<br>
> > > > host<br>
> > > > > that failed to be added to the cluster.<br>
> > > > ><br>
> > > > > in the engine log I have:<br>
> > > > ><br>
> > > > > 2013-04-27 16:29:58,249 ERROR<br>
> > > > [org.ovirt.engine.core.bll.InstallVdsCommand]<br>
> > > > > (pool-3-thread-49) [3070670b] Host installation failed for host<br>
> > > > > cf09fb25-b8a4-4068-a<br>
> > > > > 3c8-9869d0ba4ff9, kernelpanic.home.: java.lang.RuntimeException:<br>
> > Failed<br>
> > > > to<br>
> > > > > decode own public key from store 'keys/engine.p12' using alias '1'<br>
> > > > > at<br>
> > > > ><br>
> > > ><br>
> > org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:227)<br>
> > > > > [bll.jar:]<br>
> > > > > at org.ovirt.engine.core.bll.VdsDeploy.access$400(VdsDeploy.java:71)<br>
> > > > > [bll.jar:]<br>
> > > > > at org.ovirt.engine.core.bll.VdsDeploy$9.call(VdsDeploy.java:334)<br>
> > > > [bll.jar:]<br>
> > > > > at<br>
> > > > ><br>
> > > ><br>
> > org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:476)<br>
> > > > > [bll.jar:]<br>
> > > > > at<br>
> > org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:687)<br>
> > > > > [bll.jar:]<br>
> > > > > at org.ovirt.engine.core.bll.VdsDeploy.access$1400(VdsDeploy.java:71)<br>
> > > > > [bll.jar:]<br>
> > > > > at org.ovirt.engine.core.bll.VdsDeploy$32.run(VdsDeploy.java:779)<br>
> > > > [bll.jar:]<br>
> > > > > at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]<br>
> > > > > Caused by: java.io.FileNotFoundException: keys/engine.p12 (No such<br>
> > file<br>
> > > > or<br>
> > > > > directory)<br>
> > > > > at java.io.FileInputStream.open(Native Method)<br>
> > [rt.jar:1.7.0_09-icedtea]<br>
> > > > > at java.io.FileInputStream.<init>(FileInputStream.java:138)<br>
> > > > > [rt.jar:1.7.0_09-icedtea]<br>
> > > > > at java.io.FileInputStream.<init>(FileInputStream.java:97)<br>
> > > > > [rt.jar:1.7.0_09-icedtea]<br>
> > > > > at<br>
> > > > ><br>
> > > ><br>
> > org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:206)<br>
> > > > > [bll.jar:]<br>
> > > > > ... 7 more<br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > My setup has an all-in-one node with the engine installed from<br>
> > sources,<br>
> > > > ><br>
> > > > > and I'm attempting to add a seconds host (Fedora 18, vdsm from yum,<br>
> > > > nothing<br>
> > > > > fancy).<br>
> > > > ><br>
> > > > > I installed vdsm (yum install vdsm), and disabled SSL as instructed<br>
> > in:<br>
> > > > > <a href="http://www.ovirt.org/OVirt_-_disable_SSL_in_VDSM" target="_blank">http://www.ovirt.org/OVirt_-_disable_SSL_in_VDSM</a><br>
> > > > ><br>
> > > > > I read here that the development setup (i.e engine installed from<br>
> > > > sources)<br>
> > > > > does not support automatic deployment:<br>
> > > > > <a href="http://www.mail-archive.com/users@ovirt.org/msg07608.html" target="_blank">http://www.mail-archive.com/users@ovirt.org/msg07608.html</a><br>
> > > > ><br>
> > > > > Is this still the case?<br>
> > > > > If so, how do I deploy an additional host in such a setup?<br>
> > > > ><br>
> > > > > Thanks,<br>
> > > > ><br>
> > > > > Yuval Meir<br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > _______________________________________________<br>
> > > > > Users mailing list<br>
> > > > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> > > > ><br>
> > > ><br>
> > ><br>
> ><br>
><br>
</div></div></blockquote></div><br></div>