<div dir="ltr"><div style>Thank you very much for your prompt response. However, according to &quot;git rebase&quot; (after &quot;git fetch&quot;) 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      -&gt; 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 &quot;git log&quot; 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 &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;</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 &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;</div>

<div>    Signed-off-by: Sandro Bonazzola &lt;<a href="mailto:sbonazzo@redhat.com">sbonazzo@redhat.com</a>&gt;</div><div>    Signed-off-by: Alex Lourie &lt;<a href="mailto:alourie@redhat.com">alourie@redhat.com</a>&gt;</div>

<div><br></div><div style>If you don&#39;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">&lt;<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@redhat.com</a>&gt;</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>
&gt; From: &quot;Limor Gavish&quot; &lt;<a href="mailto:lgavish@gmail.com">lgavish@gmail.com</a>&gt;<br>
&gt; To: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
</div><div class="im">&gt; Cc: &quot;Yuval M&quot; &lt;<a href="mailto:yuvalme@gmail.com">yuvalme@gmail.com</a>&gt;, <a href="mailto:users@ovirt.org">users@ovirt.org</a>, &quot;Nezer Zaidenberg&quot; &lt;<a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a>&gt;, &quot;Vered Volansky&quot;<br>


&gt; &lt;<a href="mailto:vered@redhat.com">vered@redhat.com</a>&gt;<br>
</div><div class="im">&gt; Sent: Sunday, April 28, <a href="tel:2013" value="+9722013">2013</a> 10:56:45 PM<br>
&gt; Subject: Re: [Users] Unable to add host in a development setup - &quot;Host kernelpanic.home installation failed. Failed<br>
&gt; to decode own public key from store &#39;keys/engine.p12&#39; using alias &#39;1&#39;.&quot;<br>
&gt;<br>
</div><div class="im">&gt; Hi,<br>
&gt;<br>
&gt; Thank you very much for your help but I do not succeed to start the engine<br>
&gt; after compiling your version.<br>
&gt;<br>
&gt; I switched to the otopi branch like you said.<br>
&gt; git fetch <a href="https://github.com/alonbl/ovirt-engine.git" target="_blank">https://github.com/alonbl/ovirt-engine.git</a> otopi<br>
&gt; git checkout -b otopi FETCH_HEAD<br>
&gt;<br>
&gt; I followed the instructions in<br>
&gt; <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>&gt; *So here are the last 3 commands I used:*<br>
<div class="im">&gt; make clean install-dev PREFIX=$HOME/ovirt-engine<br>
&gt; $HOME/ovirt-engine/bin/engine-setup-2<br>
&gt; --jboss-home=$HOME/ovirt-engine/jboss-as-7.1.1.Final<br>
&gt; $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py start<br>
&gt;<br>
&gt; However, the last command<br>
&gt; ($HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py start)<br>
&gt; hangs.<br>
<br>
</div>This is expected... it is the service running, Ctrl-C to terminate.<br>
<br>
&gt; *In server.log I see the following error:*<br>
<div class="im">&gt; 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>
&gt; JBAS015875: JBoss AS 7.1.1.Final &quot;Brontes&quot; started (with errors) in 2788ms<br>
&gt; - Started 504 of 5     40 services (1 services failed or missing<br>
&gt; dependencies, 34 services are passive or on-demand)<br>
</div>&gt; *In engine.log I see the following error:*<br>
<div class="im">&gt; 2013-04-28 22:13:40,082 ERROR<br>
&gt; [org.ovirt.engine.core.utils.ErrorTranslatorImpl] (MSC service thread 1-4)<br>
&gt; File: bundles/VdsmErrors could not be loaded: java.util.Mis<br>
&gt;  singResourceException: Can&#39;t find bundle for base name bundles/VdsmErrors,<br>
&gt; locale en_US<br>
&gt;<br>
&gt; 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 &quot;/usr/share/ovirt-engine/conf/engine.conf.defaults&quot; doesn&#39;t exist or isn&#39;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 &quot;/etc/ovirt-engine/engine.conf&quot; doesn&#39;t exist or isn&#39;t readable. Will return an empty set of properties.<br>


<br>
It can be due to previous make execution without PREFIX.<br>
I&#39;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>
&gt; Thanks,<br>
&gt; Limor on behalf of Yuval<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Apr 28, <a href="tel:2013" value="+9722013">2013</a> at 2:51 PM, Alon Bar-Lev &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Maybe someone can help you in this.<br>
&gt; &gt;<br>
&gt; &gt; I prefer people install development mode and use fully functional product<br>
&gt; &gt; within their development environment.<br>
&gt; &gt;<br>
&gt; &gt; Alon<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; From: &quot;Yuval M&quot; &lt;<a href="mailto:yuvalme@gmail.com">yuvalme@gmail.com</a>&gt;<br>
&gt; &gt; &gt; To: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
&gt; &gt; &gt; Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a>, &quot;Nezer Zaidenberg&quot; &lt;<a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a>&gt;, &quot;Limor<br>
&gt; &gt; Gavish&quot; &lt;<a href="mailto:lgavish@gmail.com">lgavish@gmail.com</a>&gt;, &quot;Vered Volansky&quot;<br>
&gt; &gt; &gt; &lt;<a href="mailto:vered@redhat.com">vered@redhat.com</a>&gt;<br>
&gt; &gt; &gt; Sent: Sunday, April 28, <a href="tel:2013" value="+9722013">2013</a> 12:45:33 PM<br>
&gt; &gt; &gt; Subject: Re: [Users] Unable to add host in a development setup - &quot;Host<br>
&gt; &gt; kernelpanic.home installation failed. Failed<br>
&gt; &gt; &gt; to decode own public key from store &#39;keys/engine.p12&#39; using alias &#39;1&#39;.&quot;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; But is there an option to just manually install the new host?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Yuval<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Sun, Apr 28, <a href="tel:2013" value="+9722013">2013</a> at 11:46 AM, Alon Bar-Lev &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Development mode installation is not yet supported to perform<br>
&gt; &gt; host-deploy.<br>
&gt; &gt; &gt; &gt; There is ongoing work for fully functional development environment.<br>
&gt; &gt; &gt; &gt; You can test this if you like before it is merged upstream.<br>
&gt; &gt; &gt; &gt; Sources available here[1], documentation is here[2].<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; [1] <a href="https://github.com/alonbl/ovirt-engine/tree/otopi" target="_blank">https://github.com/alonbl/ovirt-engine/tree/otopi</a><br>
&gt; &gt; &gt; &gt; [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>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; &gt; &gt; From: &quot;Yuval M&quot; &lt;<a href="mailto:yuvalme@gmail.com">yuvalme@gmail.com</a>&gt;<br>
&gt; &gt; &gt; &gt; &gt; To: <a href="mailto:users@ovirt.org">users@ovirt.org</a>, &quot;Nezer Zaidenberg&quot; &lt;<a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a>&gt;,<br>
&gt; &gt; &quot;Limor<br>
&gt; &gt; &gt; &gt; Gavish&quot; &lt;<a href="mailto:lgavish@gmail.com">lgavish@gmail.com</a>&gt;<br>
&gt; &gt; &gt; &gt; &gt; Sent: Saturday, April 27, <a href="tel:2013" value="+9722013">2013</a> 5:22:59 PM<br>
&gt; &gt; &gt; &gt; &gt; Subject: [Users] Unable to add host in a development setup - &quot;Host<br>
&gt; &gt; &gt; &gt; kernelpanic.home installation failed. Failed to<br>
&gt; &gt; &gt; &gt; &gt; decode own public key from store &#39;keys/engine.p12&#39; using alias &#39;1&#39;.&quot;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I&#39;m getting the aforementioned error message when trying to<br>
&gt; &gt; reinstall a<br>
&gt; &gt; &gt; &gt; host<br>
&gt; &gt; &gt; &gt; &gt; that failed to be added to the cluster.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; in the engine log I have:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; 2013-04-27 16:29:58,249 ERROR<br>
&gt; &gt; &gt; &gt; [org.ovirt.engine.core.bll.InstallVdsCommand]<br>
&gt; &gt; &gt; &gt; &gt; (pool-3-thread-49) [3070670b] Host installation failed for host<br>
&gt; &gt; &gt; &gt; &gt; cf09fb25-b8a4-4068-a<br>
&gt; &gt; &gt; &gt; &gt; 3c8-9869d0ba4ff9, kernelpanic.home.: java.lang.RuntimeException:<br>
&gt; &gt; Failed<br>
&gt; &gt; &gt; &gt; to<br>
&gt; &gt; &gt; &gt; &gt; decode own public key from store &#39;keys/engine.p12&#39; using alias &#39;1&#39;<br>
&gt; &gt; &gt; &gt; &gt; at<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:227)<br>
&gt; &gt; &gt; &gt; &gt; [bll.jar:]<br>
&gt; &gt; &gt; &gt; &gt; at org.ovirt.engine.core.bll.VdsDeploy.access$400(VdsDeploy.java:71)<br>
&gt; &gt; &gt; &gt; &gt; [bll.jar:]<br>
&gt; &gt; &gt; &gt; &gt; at org.ovirt.engine.core.bll.VdsDeploy$9.call(VdsDeploy.java:334)<br>
&gt; &gt; &gt; &gt; [bll.jar:]<br>
&gt; &gt; &gt; &gt; &gt; at<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:476)<br>
&gt; &gt; &gt; &gt; &gt; [bll.jar:]<br>
&gt; &gt; &gt; &gt; &gt; at<br>
&gt; &gt; org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:687)<br>
&gt; &gt; &gt; &gt; &gt; [bll.jar:]<br>
&gt; &gt; &gt; &gt; &gt; at org.ovirt.engine.core.bll.VdsDeploy.access$1400(VdsDeploy.java:71)<br>
&gt; &gt; &gt; &gt; &gt; [bll.jar:]<br>
&gt; &gt; &gt; &gt; &gt; at org.ovirt.engine.core.bll.VdsDeploy$32.run(VdsDeploy.java:779)<br>
&gt; &gt; &gt; &gt; [bll.jar:]<br>
&gt; &gt; &gt; &gt; &gt; at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]<br>
&gt; &gt; &gt; &gt; &gt; Caused by: java.io.FileNotFoundException: keys/engine.p12 (No such<br>
&gt; &gt; file<br>
&gt; &gt; &gt; &gt; or<br>
&gt; &gt; &gt; &gt; &gt; directory)<br>
&gt; &gt; &gt; &gt; &gt; at java.io.FileInputStream.open(Native Method)<br>
&gt; &gt; [rt.jar:1.7.0_09-icedtea]<br>
&gt; &gt; &gt; &gt; &gt; at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:138)<br>
&gt; &gt; &gt; &gt; &gt; [rt.jar:1.7.0_09-icedtea]<br>
&gt; &gt; &gt; &gt; &gt; at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:97)<br>
&gt; &gt; &gt; &gt; &gt; [rt.jar:1.7.0_09-icedtea]<br>
&gt; &gt; &gt; &gt; &gt; at<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:206)<br>
&gt; &gt; &gt; &gt; &gt; [bll.jar:]<br>
&gt; &gt; &gt; &gt; &gt; ... 7 more<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; My setup has an all-in-one node with the engine installed from<br>
&gt; &gt; sources,<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; and I&#39;m attempting to add a seconds host (Fedora 18, vdsm from yum,<br>
&gt; &gt; &gt; &gt; nothing<br>
&gt; &gt; &gt; &gt; &gt; fancy).<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I installed vdsm (yum install vdsm), and disabled SSL as instructed<br>
&gt; &gt; in:<br>
&gt; &gt; &gt; &gt; &gt; <a href="http://www.ovirt.org/OVirt_-_disable_SSL_in_VDSM" target="_blank">http://www.ovirt.org/OVirt_-_disable_SSL_in_VDSM</a><br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I read here that the development setup (i.e engine installed from<br>
&gt; &gt; &gt; &gt; sources)<br>
&gt; &gt; &gt; &gt; &gt; does not support automatic deployment:<br>
&gt; &gt; &gt; &gt; &gt; <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>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Is this still the case?<br>
&gt; &gt; &gt; &gt; &gt; If so, how do I deploy an additional host in such a setup?<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Thanks,<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Yuval Meir<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; &gt; Users mailing list<br>
&gt; &gt; &gt; &gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; &gt; &gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>