<div dir="ltr"><div style>Attached the contents of:</div>/home/wil/ovirt-engine/share/ovirt-engine/conf/engine.conf.defaults <br><div>/home/wil/ovirt-engine/share/ovirt-engine/services/config.py <br></div><div>/home/wil/ovirt-engine/share/ovirt-engine/setup/ovirt_engine_setup/config.py<br>
</div><div><br></div><div style>Concerning this file: </div><div><div>[wil@bufferoverflow ~]$ cat /home/wil/ovirt-engine/share/ovirt-engine/setup/config.py</div><div>cat: /home/wil/ovirt-engine/share/ovirt-engine/setup/config.py: No such file or directory</div>
</div><div><br></div><div style>After that I started fresh:</div><div>rm -fr ~/ovirt-engine<br></div><div><div><div>git clone <a href="https://github.com/alonbl/ovirt-engine.git">https://github.com/alonbl/ovirt-engine.git</a> otopi</div>
</div><div>cd otopi/</div></div><div>git fetch <a href="https://github.com/alonbl/ovirt-engine.git">https://github.com/alonbl/ovirt-engine.git</a> otopi<br></div><div>git checkout -b otopi FETCH_HEAD<br></div><div>make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0<br>
</div><div>$HOME/ovirt-engine/bin/engine-setup-2<br></div><div>$HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py start<br></div><div><br></div><div style>However, the output of "engine-setup-2" contains the following error:</div>
<div style><div>[ ERROR ] Failed to execute stage 'Misc configuration': Command '/home/wil/ovirt-engine/share/ovirt-engine/bin/engine-encrypt-passwd.sh' failed to execute</div><div style>(I don't want to work with any encryption)</div>
<div><br></div><div style>and the "ovirt-engine.py start" returns immediately and logs were not created in </div><div style>$HOME/ovirt-engine/var/log/ovirt-engine/<br></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 12:03 PM, 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>
> 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: Monday, April 29, <a href="tel:2013" value="+9722013">2013</a> 11:54:05 AM<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">> Hello,<br>
><br>
> I attached the output of<br>
> make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0<br>
<br>
</div>Thanks!<br>
So I don't understand how you have invalid values in configuration, as I see sed is substituting correct values.<br>
<br>
Can you please attach:<br>
/home/wil/ovirt-engine/share/ovirt-engine/conf/engine.conf.defaults<br>
/home/wil/ovirt-engine/share/ovirt-engine/services/config.py<br>
/home/wil/ovirt-engine/share/ovirt-engine/setup/config.py<br>
<br>
Just a thought, maybe you once run it as root and python complied the sources as root and now runs the already compiled ones as cannot override it?<br>
<br>
So you can try the following to start fresh:<br>
<br>
$ rm -fr ~/ovirt-engine<br>
<div class="im">$ make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0<br>
<br>
</div>And run setup again?<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> On Mon, Apr 29, <a href="tel:2013" value="+9722013">2013</a> at 11:48 AM, Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>> wrote:<br>
><br>
> ><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>
> > > 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" <<br>
> > <a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a>>, "Vered Volansky"<br>
> > > <<a href="mailto:vered@redhat.com">vered@redhat.com</a>><br>
> > > Sent: Monday, April 29, <a href="tel:2013" value="+9722013">2013</a> 11:38:09 AM<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>
> > > Thank you very much for trying to help but ovirt engine still doesn't<br>
> > work<br>
> > > - I cannot connect to the server through the web.<br>
> ><br>
> > Thank you for testing!<br>
> > However something is not behaving as expected... need to figure out what.<br>
> ><br>
> > ><br>
> > > I have overwritten the otopi the branch like you said:<br>
> > ><br>
> > > *git checkout engine_3.2*<br>
> > > *git branch -D otopi*<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>
> > Should be OK<br>
> ><br>
> > > Then I re-built:<br>
> > ><br>
> > > *make clean install-dev PREFIX=$HOME/ovirt-engine<br>
> > > *<br>
> > > *$HOME/ovirt-engine/bin/engine-setup-2<br>
> > > --jboss-home=$HOME/ovirt-engine/jboss-as-7.1.1.Final<br>
> > > *<br>
> > > *$HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py start*<br>
> > ><br>
> > > But the warnings still appeared:<br>
> > ><br>
> > > *2013-04-29 10:03:28,061 WARN [org.ovirt.engine.core.utils.LocalConfig]<br>
> > > (MSC service thread 1-3) The file<br>
> > > "/usr/share/ovirt-engine/conf/engine.conf.defaults" doesn't exist or<br>
> > isn't<br>
> > > readable. Will return an empty set of properties.*<br>
> > > *2013-04-29 10:03:28,061 WARN [org.ovirt.engine.core.utils.LocalConfig]<br>
> > > (MSC service thread 1-3) The file "/etc/ovirt-engine/engine.conf" doesn't<br>
> > > exist or isn't readable. Will return an empty set of properties.*<br>
> > ><br>
> > > I tried to execute the engine-setup-2 command as root (*sudo<br>
> > > $HOME/ovirt-engine/bin/engine-setup-2<br>
> > > --jboss-home=$HOME/ovirt-engine/jboss-as-7.1.1.Final*) and it didn't help<br>
> > > (I answered all the questions with the default answers - not sure if that<br>
> > > was the right thing to do). Didn't help.<br>
> ><br>
> > NO... do not runt his as root! this setup should be fully functioning at<br>
> > unprivileged context.<br>
> ><br>
> > > So I manually created the files "*<br>
> > > /usr/share/ovirt-engine/conf/engine.conf.defaults*" and "*<br>
> > > /etc/ovirt-engine/engine.conf*" as follows:<br>
> > ><br>
> > > *[wil@bufferoverflow ~]$ cat<br>
> > > /usr/share/ovirt-engine/conf/engine.conf.defaults*<br>
> > > *JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64*<br>
> > > *JBOSS_HOME=/home/wil/ovirt-engine/jboss-as-7.1.1.Final*<br>
> ><br>
> > Something is wrong... the 'PREFIX' is not set correctly. It should be<br>
> > handled at the generated-files rule at Makefile.<br>
> ><br>
> > Can you please send me the output of:<br>
> ><br>
> > $ make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0<br>
> ><br>
> > Thank you!<br>
> ><br>
> > > *ENGINE_USER=wil*<br>
> > > *ENGINE_GROUP=wil*<br>
> > > *ENGINE_PROXY_ENABLED=false*<br>
> > > *ENGINE_HTTP_ENABLED=true*<br>
> > > *ENGINE_HTTP_PORT=<a href="tel:8700" value="+9728700">8700</a>*<br>
> > > *ENGINE_HTTPS_ENABLED=false*<br>
> > > *ENGINE_AJP_ENABLED=false*<br>
> > > *ENGINE_DB_USER=postgres*<br>
> > > *ENGINE_DB_PASSWORD=*<br>
> > > *ENGINE_DEBUG_ADDRESS=<a href="http://0.0.0.0">0.0.0.0</a>:<a href="tel:8787" value="+9728787">8787</a>*<br>
> > > *#*<br>
> > > *# For descriptions of the parameters and their default values look*<br>
> > > *# at the /usr/share/ovirt-engine/conf/engine.conf.defaults file.*<br>
> > > *#*<br>
> > > *# Please note that the engine installation tool engine-setup will*<br>
> > > *# append the modified parameters to the end of this file.*<br>
> > > *#*<br>
> > ><br>
> > > and I put the same contents in* /etc/ovirt-engine/engine.conf*<br>
> > ><br>
> > > Still I can't connect to the ovirt through the web (<br>
> > <a href="http://127.0.0.1:8700/" target="_blank">http://127.0.0.1:8700/</a>)<br>
> > > I get "*This webpage is not available*".<br>
> > > Full logs are attached (last attempt to run ovirt at 10:59).<br>
> > ><br>
> > > Here are the last two commits in "git log" of my "otopi" branch:<br>
> > ><br>
> > > *commit 98475140979ee11965154030f54825b14a1510e4*<br>
> > > *Author: Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>>*<br>
> > > *Date: Thu Apr <a href="tel:25%2012" value="+9722512">25 12</a>:39:50 <a href="tel:2013" value="+9722013">2013</a> +0300*<br>
> > > *<br>
> > > *<br>
> > > * packaging: engine-setup re-write using otopi*<br>
> > > *<br>
> > > *<br>
> > > * Change-Id: I4d5e3ac7927802326e324c9b98ada75b421638aa*<br>
> > > * Signed-off-by: Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>>*<br>
> > > * Signed-off-by: Sandro Bonazzola <<a href="mailto:sbonazzo@redhat.com">sbonazzo@redhat.com</a>>*<br>
> > > * Signed-off-by: Alex Lourie <<a href="mailto:alourie@redhat.com">alourie@redhat.com</a>>*<br>
> > > *<br>
> > > *<br>
> > > *commit 3715fda9fe88099344feef59f9c74366a6e6f48d*<br>
> > > *Author: Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>>*<br>
> > > *Date: Mon Apr <a href="tel:29%2002" value="+9722902">29 02</a>:33:44 <a href="tel:2013" value="+9722013">2013</a> +0300*<br>
> > > *<br>
> > > *<br>
> > > * core: re-support broken apache proxy*<br>
> > > *<br>
> > > *<br>
> > > * apache proxy support was broken in:*<br>
> > > * I37156061cbdd, 'core: i18n splash screen.'*<br>
> > > *<br>
> > > *<br>
> > > * The changed cause invalid redirection and the following error<br>
> > message<br>
> > > in*<br>
> > > * console log:*<br>
> > > * ---*<br>
> > > * Exception while dispatching incoming RPC call:*<br>
> > > * java.lang.SecurityException: Blocked request without GWT base path*<br>
> > > * header (XSRF attack?)*<br>
> > > * ---*<br>
> > > *<br>
> > > *<br>
> > > * Content:*<br>
> > > *<br>
> > > *<br>
> > > * 1. Remove unused ovirt-engine.html (what was index.html) as it is*<br>
> > > * superseded by index.jsp*<br>
> > > *<br>
> > > *<br>
> > > * 2. Remove redundant welcome directive from web.xml*<br>
> > > *<br>
> > > *<br>
> > > * 3. Rename /index.jsp to /ovirt-engine.jsp to be referenced by both*<br>
> > > * apache and jboss.*<br>
> > > *<br>
> > > *<br>
> > > * 4. Rename servlet mapping of /index to /ovirt-engine.*<br>
> > > *<br>
> > > *<br>
> > > * 5. Modify 404.html pages to redirect to /ovirt-engine instead of*<br>
> > > * /ovirt-engine.html*<br>
> > > *<br>
> > > *<br>
> > > * 6. Remove reference of ovirt-engine.html from the proxy.*<br>
> > > *<br>
> > > *<br>
> > > * Change-Id: I7ac8feb720d73f0b1107b0bf0908930c525ea542*<br>
> > > * Signed-off-by: Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>>*<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > On Mon, Apr 29, <a href="tel:2013" value="+9722013">2013</a> at 9:39 AM, Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>> wrote:<br>
> > ><br>
> > > ><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>
> > > > > Cc: "Yuval M" <<a href="mailto:yuvalme@gmail.com">yuvalme@gmail.com</a>>, <a href="mailto:users@ovirt.org">users@ovirt.org</a>, "Nezer<br>
> > Zaidenberg" <<br>
> > > > <a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a>>, "Vered Volansky"<br>
> > > > > <<a href="mailto:vered@redhat.com">vered@redhat.com</a>><br>
> > > > > Sent: Monday, April 29, <a href="tel:2013" value="+9722013">2013</a> 8:28:47 AM<br>
> > > > > Subject: Re: [Users] Unable to add host in a development setup -<br>
> > "Host<br>
> > > > kernelpanic.home installation failed. Failed<br>
> > > > > to decode own public key from store 'keys/engine.p12' using alias<br>
> > '1'."<br>
> > > > ><br>
> > > > > Thank you very much for your prompt response. However, according to<br>
> > "git<br>
> > > > > rebase" (after "git fetch") there is no new change<br>
> > > > ><br>
> > > > > [wil@bufferoverflow repository]$ git fetch<br>
> > > > > <a href="https://github.com/alonbl/ovirt-engine.git" target="_blank">https://github.com/alonbl/ovirt-engine.git</a> otopi<br>
> > > > > From <a href="https://github.com/alonbl/ovirt-engine" target="_blank">https://github.com/alonbl/ovirt-engine</a><br>
> > > > > * branch otopi -> FETCH_HEAD<br>
> > > > > [wil@bufferoverflow repository]$ git rebase --merge FETCH_HEAD<br>
> > > > > *Current branch otopi is up to date.*<br>
> > > > > *<br>
> > > > > *<br>
> > > > > The latest change I see in "git log" is<br>
> > > > ><br>
> > > > > [wil@bufferoverflow repository]$ git show HEAD<br>
> > > > > commit 99d95891ab0e814159a463d246543b08e41c746d<br>
> > > > > Author: Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> > > > > Date: Thu Apr <a href="tel:25%2012" value="+9722512">25 12</a>:39:50 2013 +0300<br>
> > > > ><br>
> > > > > packaging: engine-setup re-write using otopi<br>
> > > > ><br>
> > > > > Change-Id: I4d5e3ac7927802326e324c9b98ada75b421638aa<br>
> > > > > Signed-off-by: Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> > > > > Signed-off-by: Sandro Bonazzola <<a href="mailto:sbonazzo@redhat.com">sbonazzo@redhat.com</a>><br>
> > > > > Signed-off-by: Alex Lourie <<a href="mailto:alourie@redhat.com">alourie@redhat.com</a>><br>
> > > > ><br>
> > > > > If you don't wish to push the change yet, you can send a patch and I<br>
> > will<br>
> > > > > apply it.<br>
> > > ><br>
> > > > This branch is rolling rebase, forced push, so rebase will not work in<br>
> > > > this regard.<br>
> > > > Soon it will be merged to master so it will be easier to track.<br>
> > > ><br>
> > > > Please try:<br>
> > > ><br>
> > > > $ git checkout master<br>
> > > > $ git branch -D otopi<br>
> > > > $ git fetch<br>
> > > > $ git checkout otopi<br>
> > > ><br>
> > > > You should have:<br>
> > > > commit 98475140979ee11965154030f54825b14a1510e4<br>
> > > ><br>
> > > > Thanks!<br>
> > > > Alon.<br>
> > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > On Mon, Apr 29, 2013 at 1:04 AM, Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> > wrote:<br>
> > > > ><br>
> > > > > ><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>
> > > > > > > Cc: "Yuval M" <<a href="mailto:yuvalme@gmail.com">yuvalme@gmail.com</a>>, <a href="mailto:users@ovirt.org">users@ovirt.org</a>, "Nezer<br>
> > > > Zaidenberg" <<br>
> > > > > > <a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a>>, "Vered Volansky"<br>
> > > > > > > <<a href="mailto:vered@redhat.com">vered@redhat.com</a>><br>
> > > > > > > Sent: Sunday, April 28, 2013 10:56:45 PM<br>
> > > > > > > Subject: Re: [Users] Unable to add host in a development setup -<br>
> > > > "Host<br>
> > > > > > kernelpanic.home installation failed. Failed<br>
> > > > > > > to decode own public key from store 'keys/engine.p12' using alias<br>
> > > > '1'."<br>
> > > > > > ><br>
> > > > > > > Hi,<br>
> > > > > > ><br>
> > > > > > > Thank you very much for your help but I do not succeed to start<br>
> > the<br>
> > > > > > 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>
> > > > > > ><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>
> > > > > > > *So here are the last 3 commands I used:*<br>
> > > > > > > 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<br>
> > start<br>
> > > > > > ><br>
> > > > > > > However, the last command<br>
> > > > > > > ($HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py<br>
> > > > start)<br>
> > > > > > > hangs.<br>
> > > > > ><br>
> > > > > > This is expected... it is the service running, Ctrl-C to terminate.<br>
> > > > > ><br>
> > > > > > > *In server.log I see the following error:*<br>
> > > > > > > 2013-04-28 22:13:40,203 ERROR [<a href="http://org.jboss.as" target="_blank">org.jboss.as</a>] (MSC service thread<br>
> > > > 1-3)<br>
> > > > > > > JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors)<br>
> > in<br>
> > > > > > 2788ms<br>
> > > > > > > - Started 504 of 5 40 services (1 services failed or missing<br>
> > > > > > > dependencies, 34 services are passive or on-demand)<br>
> > > > > > > *In engine.log I see the following error:*<br>
> > > > > > > 2013-04-28 22:13:40,082 ERROR<br>
> > > > > > > [org.ovirt.engine.core.utils.ErrorTranslatorImpl] (MSC service<br>
> > thread<br>
> > > > > > 1-4)<br>
> > > > > > > File: bundles/VdsmErrors could not be loaded: java.util.Mis<br>
> > > > > > > singResourceException: Can't find bundle for base name<br>
> > > > > > bundles/VdsmErrors,<br>
> > > > > > > locale en_US<br>
> > > > > > ><br>
> > > > > > > Full logs are attached.<br>
> > > > > ><br>
> > > > > > The problem is that for some reason the PREFIX is not taken into<br>
> > > > account.<br>
> > > > > ><br>
> > > > > > Related errors:<br>
> > > > > > 2013-04-28 19:57:46,468 WARN<br>
> > [org.ovirt.engine.core.utils.LocalConfig]<br>
> > > > > > (MSC service thread 1-3) The file<br>
> > > > > > "/usr/share/ovirt-engine/conf/engine.conf.defaults" doesn't exist<br>
> > or<br>
> > > > isn't<br>
> > > > > > readable. Will return an empty set of properties.<br>
> > > > > > 2013-04-28 19:57:46,468 WARN<br>
> > [org.ovirt.engine.core.utils.LocalConfig]<br>
> > > > > > (MSC service thread 1-3) The file "/etc/ovirt-engine/engine.conf"<br>
> > > > doesn't<br>
> > > > > > 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<br>
> > > > locations<br>
> > > > > > when using install-dev.<br>
> > > > > > Can you please give it a try?<br>
> > > > > ><br>
> > > > > > Thanks!<br>
> > > > > ><br>
> > > > > > > Thanks,<br>
> > > > > > > Limor on behalf of Yuval<br>
> > > > > > ><br>
> > > > > > ><br>
> > > > > > > On Sun, Apr 28, 2013 at 2:51 PM, Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a><br>
> > ><br>
> > > > wrote:<br>
> > > > > > ><br>
> > > > > > > ><br>
> > > > > > > > Maybe someone can help you in this.<br>
> > > > > > > ><br>
> > > > > > > > I prefer people install development mode and use fully<br>
> > functional<br>
> > > > > > 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><br>
> > >,<br>
> > > > > > "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, 2013 12:45:33 PM<br>
> > > > > > > > > Subject: Re: [Users] Unable to add host in a development<br>
> > setup -<br>
> > > > > > "Host<br>
> > > > > > > > kernelpanic.home installation failed. Failed<br>
> > > > > > > > > to decode own public key from store 'keys/engine.p12' using<br>
> > alias<br>
> > > > > > '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, 2013 at 11:46 AM, Alon Bar-Lev <<br>
> > > > <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> > > > > > > > wrote:<br>
> > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > > > > Development mode installation is not yet supported to<br>
> > perform<br>
> > > > > > > > host-deploy.<br>
> > > > > > > > > > There is ongoing work for fully functional development<br>
> > > > 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]<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>
> > > > > > > > > ><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" <<br>
> > <a href="mailto:nzaidenberg@mac.com">nzaidenberg@mac.com</a><br>
> > > > >,<br>
> > > > > > > > "Limor<br>
> > > > > > > > > > Gavish" <<a href="mailto:lgavish@gmail.com">lgavish@gmail.com</a>><br>
> > > > > > > > > > > Sent: Saturday, April 27, 2013 5:22:59 PM<br>
> > > > > > > > > > > Subject: [Users] Unable to add host in a development<br>
> > setup -<br>
> > > > > > "Host<br>
> > > > > > > > > > kernelpanic.home installation failed. Failed to<br>
> > > > > > > > > > > decode own public key from store 'keys/engine.p12' using<br>
> > > > alias<br>
> > > > > > '1'."<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > I'm getting the aforementioned error message when trying<br>
> > 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<br>
> > for<br>
> > > > host<br>
> > > > > > > > > > > cf09fb25-b8a4-4068-a<br>
> > > > > > > > > > > 3c8-9869d0ba4ff9, kernelpanic.home.:<br>
> > > > java.lang.RuntimeException:<br>
> > > > > > > > Failed<br>
> > > > > > > > > > to<br>
> > > > > > > > > > > decode own public key from store 'keys/engine.p12' using<br>
> > > > alias<br>
> > > > > > '1'<br>
> > > > > > > > > > > at<br>
> > > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > ><br>
> > > > > ><br>
> > > ><br>
> > org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:227)<br>
> > > > > > > > > > > [bll.jar:]<br>
> > > > > > > > > > > at<br>
> > > > > > org.ovirt.engine.core.bll.VdsDeploy.access$400(VdsDeploy.java:71)<br>
> > > > > > > > > > > [bll.jar:]<br>
> > > > > > > > > > > at<br>
> > > > org.ovirt.engine.core.bll.VdsDeploy$9.call(VdsDeploy.java:334)<br>
> > > > > > > > > > [bll.jar:]<br>
> > > > > > > > > > > at<br>
> > > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > ><br>
> > > > > ><br>
> > > ><br>
> > org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:476)<br>
> > > > > > > > > > > [bll.jar:]<br>
> > > > > > > > > > > at<br>
> > > > > > > ><br>
> > org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:687)<br>
> > > > > > > > > > > [bll.jar:]<br>
> > > > > > > > > > > at<br>
> > > > > > org.ovirt.engine.core.bll.VdsDeploy.access$1400(VdsDeploy.java:71)<br>
> > > > > > > > > > > [bll.jar:]<br>
> > > > > > > > > > > at<br>
> > > > org.ovirt.engine.core.bll.VdsDeploy$32.run(VdsDeploy.java:779)<br>
> > > > > > > > > > [bll.jar:]<br>
> > > > > > > > > > > at java.lang.Thread.run(Thread.java:722)<br>
> > > > > > [rt.jar:1.7.0_09-icedtea]<br>
> > > > > > > > > > > Caused by: java.io.FileNotFoundException:<br>
> > keys/engine.p12 (No<br>
> > > > > > 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<br>
> > java.io.FileInputStream.<init>(FileInputStream.java:138)<br>
> > > > > > > > > > > [rt.jar:1.7.0_09-icedtea]<br>
> > > > > > > > > > > at<br>
> > java.io.FileInputStream.<init>(FileInputStream.java:97)<br>
> > > > > > > > > > > [rt.jar:1.7.0_09-icedtea]<br>
> > > > > > > > > > > at<br>
> > > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > ><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<br>
> > > > from<br>
> > > > > > > > sources,<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > and I'm attempting to add a seconds host (Fedora 18, vdsm<br>
> > > > from<br>
> > > > > > yum,<br>
> > > > > > > > > > nothing<br>
> > > > > > > > > > > fancy).<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > I installed vdsm (yum install vdsm), and disabled SSL as<br>
> > > > > > 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<br>
> > installed<br>
> > > > from<br>
> > > > > > > > > > sources)<br>
> > > > > > > > > > > does not support automatic deployment:<br>
> > > > > > > > > > ><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<br>
> > 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>
> > > > > ><br>
> > > > ><br>
> > > ><br>
> > ><br>
> ><br>
><br>
</div></div></blockquote></div><br></div>