<div dir="ltr">I eliminated the error: <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">[ ERROR ] Failed to execute stage 'Misc configuration': Command </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">'/home/wil/ovirt-engine/share/</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">ovirt-engine/bin/engine-</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px">encrypt-passwd.sh</span><div style>
by installing jboss<br></div><div style>sudo yum install jboss-as<br></div><div style><br></div><div style>And now the "ovirt-engine.py start" doesn't return immediately</div><div style><br></div><div style>
However, connecting to <a href="http://127.0.0.1:8700/">http://127.0.0.1:8700/</a> still doesn't work.</div><div style><br></div><div style>It seems that nobody is listening to port 8700:</div><div style><br></div><div style>
<div>[wil@bufferoverflow ~]$ netstat -anp | grep 8700</div><div>(Not all processes could be identified, non-owned process info</div><div> will not be shown, you would have to be root to see it all.)</div><div>[wil@bufferoverflow ~]$</div>
<div><div>[wil@bufferoverflow ~]$ sudo netstat -anp | grep 8700</div><div>[wil@bufferoverflow ~]$</div></div><div><br></div><div><br></div><div style>Full logs are attached</div><div style><br></div><div style>Here is the output of the "engine-setup-2" script:</div>
<div style><div>[wil@bufferoverflow otopi]$ $HOME/ovirt-engine/bin/engine-setup-2</div><div>[ INFO ] Stage: Initializing</div><div> Setup was run under unprivileged user this will produce development installation do you wish to proceed? (Yes, No) [No]: Yes</div>
<div>[ INFO ] Stage: Environment setup</div><div> Log file: /tmp/ovirt-engine-setup-20130429123931.log</div><div> Version: otopi-1.0.1</div><div> Configuration files: []</div><div>[ INFO ] Stage: Installation packages setup</div>
<div>[ INFO ] Stage: Programs detection</div><div>[ INFO ] Stage: Environment customization</div><div><br></div><div> --== NETWORK CONFIGURATION ==--</div><div><br></div><div> Host fully qualified DNS name of this server [bufferoverflow.home]:</div>
<div><br></div><div> --== DATABASE CONFIGURATION ==--</div><div><br></div><div><br></div><div> ATTENTION</div><div><br></div><div> Manual action required.</div><div> Please create database for ovirt-engine use. Use the following commands as an example:</div>
<div><br></div><div> create user engine password 'engine';</div><div> create database engine owner engine;</div><div><br></div><div> Make sure that datbase can be accessed remotely.</div>
<div><br></div><div> Database host [localhost]:</div><div> Database port [5432]:</div><div> Database secured connection (Yes, No) [No]:</div><div> Database name [engine]:</div><div> Database user [engine]:</div>
<div> Database password:</div><div><br></div><div> --== OVIRT ENGINE CONFIGURATION ==--</div><div><br></div><div><br></div><div> --== PKI CONFIGURATION ==--</div><div><br></div><div> PKI is already configured</div>
<div> Skipping storing options as database already prepared</div><div><br></div><div> --== APACHE CONFIGURATION ==--</div><div><br></div><div><br></div><div> --== SYSTEM CONFIGURATION ==--</div>
<div><br></div><div><br></div><div> --== END OF CONFIGURATION ==--</div><div><br></div><div>[ INFO ] Stage: Setup validation</div><div>[WARNING] There is less than 16384MB available memory</div><div><br></div><div>
--== CONFIGURATION PREVIEW ==--</div><div><br></div><div> Database name : engine</div><div> Database secured connection : False</div><div> Database host : localhost</div>
<div> Database user name : engine</div><div> Database host name validation : False</div><div> Datbase port : 5432</div><div> Host fqdn : bufferoverflow.home</div>
<div><br></div><div> Please confirm installation settings (OK, Cancel) [OK]:</div><div>[ INFO ] Stage: Transaction setup</div><div>[ INFO ] Stage: Package installation</div><div>[ INFO ] Stage: Misc configuration</div>
<div>[ INFO ] Backing up database to '/home/wil/ovirt-engine/var/lib/ovirt-engine/backups/engine-20130429123952.sfnksc.sql'.</div><div>[ INFO ] Updating database schema</div><div>[ INFO ] Stage: Transaction commit</div>
<div>[ INFO ] Stage: Closing up</div><div><br></div><div> --== SUMMARY ==--</div><div><br></div><div><br></div><div> --== END OF SUMMARY ==--</div><div><br></div><div> Web access is enabled at:</div>
<div> <a href="http://bufferoverflow.home:8080/ovirt-engine">http://bufferoverflow.home:8080/ovirt-engine</a></div><div> <a href="https://bufferoverflow.home:8443/ovirt-engine">https://bufferoverflow.home:8443/ovirt-engine</a></div>
<div> JBoss is listending for debug connection at: <a href="http://127.0.0.1:8787">127.0.0.1:8787</a></div><div> The following network ports should be opened:</div><div> tcp:8080</div><div>
tcp:8443</div>
<div> An example of the required configuration for iptables can be found at:</div><div> /home/wil/ovirt-engine/etc/ovirt-engine/iptables.example</div><div> In order to configure firewalld, copy the files from</div>
<div> /home/wil/ovirt-engine/etc/ovirt-engine/firewalld to /etc/firewalld/services</div><div> and execute the following commands:</div><div> firewall-cmd --add-service ovirt-https</div><div>
firewall-cmd --add-service ovirt-http</div><div> SSH fingerprint: 51:4d:10:ee:e0:46:3b:7f:f6:e7:05:62:48:60:23:e2</div><div> Internal CA SHA1 Fingerprint=17:C4:3B:72:CC:EF:50:DE:55:5B:11:04:EB:4A:70:E1:51:33:7D:41</div>
<div>[ INFO ] Stage: Clean up</div><div> Log file is located at /tmp/ovirt-engine-setup-20130429123931.log</div><div>[ INFO ] Stage: Pre-termination</div><div>[ INFO ] Stage: Termination</div><div><br></div></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 12:43 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> 12:35: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">> Attached the contents of:<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/ovirt_engine_setup/config.py<br>
<br>
</div>Files are good.<br>
<div class="im"><br>
><br>
> Concerning this file:<br>
> [wil@bufferoverflow ~]$ cat<br>
> /home/wil/ovirt-engine/share/ovirt-engine/setup/config.py<br>
> cat: /home/wil/ovirt-engine/share/ovirt-engine/setup/config.py: No such<br>
> file or directory<br>
<br>
</div>My bad... it is /home/wil/ovirt-engine/share/ovirt-engine/setup/ovirt_engine_setup/config.py<br>
But no reason it will be incorrect as others are correct.<br>
<div class="im"><br>
><br>
> After that I started fresh:<br>
> rm -fr ~/ovirt-engine<br>
> git clone <a href="https://github.com/alonbl/ovirt-engine.git" target="_blank">https://github.com/alonbl/ovirt-engine.git</a> otopi<br>
> cd 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>
> make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0<br>
> $HOME/ovirt-engine/bin/engine-setup-2<br>
> $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py start<br>
><br>
> However, the output of "engine-setup-2" contains the following error:<br>
> [ ERROR ] Failed to execute stage 'Misc configuration': Command<br>
> '/home/wil/ovirt-engine/share/ovirt-engine/bin/engine-encrypt-passwd.sh'<br>
> failed to execute<br>
> (I don't want to work with any encryption)<br>
<br>
</div>This is encryption of database user's password within configuration.<br>
<div class="im"><br>
><br>
> and the "ovirt-engine.py start" returns immediately and logs were not<br>
> created in<br>
> $HOME/ovirt-engine/var/log/ovirt-engine/<br>
<br>
</div>Yes, you probably cannot start engine if installation fails. Can you please attach the installation log? Its name should appear at the summary.<br>
<br>
Thank you!<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> On Mon, Apr 29, <a href="tel:2013" value="+9722013">2013</a> at 12:03 PM, 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:54:05 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>
> > > Hello,<br>
> > ><br>
> > > I attached the output of<br>
> > > make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0<br>
> ><br>
> > Thanks!<br>
> > So I don't understand how you have invalid values in configuration, as I<br>
> > 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<br>
> > sources as root and now runs the already compiled ones as cannot override<br>
> > it?<br>
> ><br>
> > So you can try the following to start fresh:<br>
> ><br>
> > $ rm -fr ~/ovirt-engine<br>
> > $ make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0<br>
> ><br>
> > And run setup again?<br>
> ><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>><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: 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 -<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 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<br>
> > 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<br>
> > start*<br>
> > > > ><br>
> > > > > But the warnings still appeared:<br>
> > > > ><br>
> > > > > *2013-04-29 10:03:28,061 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 or<br>
> > > > isn't<br>
> > > > > readable. Will return an empty set of properties.*<br>
> > > > > *2013-04-29 10:03:28,061 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>
> > > > > 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<br>
> > help<br>
> > > > > (I answered all the questions with the default answers - not sure if<br>
> > 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<br>
> > 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<br>
> > 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<br>
> > 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<br>
> > 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<br>
> > 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>><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: Monday, April 29, 2013 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<br>
> > 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 25 12: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<br>
> > and I<br>
> > > > will<br>
> > > > > > > apply it.<br>
> > > > > ><br>
> > > > > > This branch is rolling rebase, forced push, so rebase will not<br>
> > 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>
> > ><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<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>
> > > > > > > > > Hi,<br>
> > > > > > > > ><br>
> > > > > > > > > Thank you very much for your help but I do not succeed to<br>
> > 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>
> > > > > > > > ><br>
> > $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py<br>
> > > > start<br>
> > > > > > > > ><br>
> > > > > > > > > However, the last command<br>
> > > > > > > > ><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<br>
> > 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<br>
> > thread<br>
> > > > > > 1-3)<br>
> > > > > > > > > JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with<br>
> > errors)<br>
> > > > in<br>
> > > > > > > > 2788ms<br>
> > > > > > > > > - Started 504 of 5 40 services (1 services failed or<br>
> > 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<br>
> > 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<br>
> > 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<br>
> > 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<br>
> > "/etc/ovirt-engine/engine.conf"<br>
> > > > > > doesn't<br>
> > > > > > > > exist or isn't readable. Will return an empty set of<br>
> > 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<br>
> > 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 <<br>
> > <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" <<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>>, "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'<br>
> > using<br>
> > > > alias<br>
> > > > > > > > '1'."<br>
> > > > > > > > > > ><br>
> > > > > > > > > > > But is there an option to just manually install the new<br>
> > 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<br>
> > 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>
> > > > > > > ><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'<br>
> > using<br>
> > > > > > alias<br>
> > > > > > > > '1'."<br>
> > > > > > > > > > > > ><br>
> > > > > > > > > > > > > I'm getting the aforementioned error message when<br>
> > 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<br>
> > 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'<br>
> > using<br>
> > > > > > alias<br>
> > > > > > > > '1'<br>
> > > > > > > > > > > > > at<br>
> > > > > > > > > > > > ><br>
> > > > > > > > > > > ><br>
> > > > > > > > > ><br>
> > > > > > > ><br>
> > > > > ><br>
> > > ><br>
> > org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:227)<br>
> > > > > > > > > > > > > [bll.jar:]<br>
> > > > > > > > > > > > > at<br>
> > > > > > > ><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>
> > > ><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>
> > > > > > > ><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>
> > > ><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<br>
> > installed<br>
> > > > > > from<br>
> > > > > > > > > > sources,<br>
> > > > > > > > > > > > ><br>
> > > > > > > > > > > > > and I'm attempting to add a seconds host (Fedora 18,<br>
> > vdsm<br>
> > > > > > from<br>
> > > > > > > > yum,<br>
> > > > > > > > > > > > nothing<br>
> > > > > > > > > > > > > fancy).<br>
> > > > > > > > > > > > ><br>
> > > > > > > > > > > > > I installed vdsm (yum install vdsm), and disabled<br>
> > 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>
> ><br>
><br>
</div></div></blockquote></div><br></div>