[Users] Unable to add host in a development setup - "Host kernelpanic.home installation failed. Failed to decode own public key from store 'keys/engine.p12' using alias '1'."

Limor Gavish lgavish at gmail.com
Mon Apr 29 09:52:15 UTC 2013


I eliminated the error: [ ERROR ] Failed to execute stage 'Misc
configuration': Command '/home/wil/ovirt-engine/share/
ovirt-engine/bin/engine-encrypt-passwd.sh
by installing jboss
sudo yum install jboss-as

And now the "ovirt-engine.py start" doesn't return immediately

However, connecting to http://127.0.0.1:8700/ still doesn't work.

It seems that nobody is listening to port 8700:

[wil at bufferoverflow ~]$ netstat -anp | grep 8700
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
[wil at bufferoverflow ~]$
[wil at bufferoverflow ~]$ sudo netstat -anp | grep 8700
[wil at bufferoverflow ~]$


Full logs are attached

Here is the output of the "engine-setup-2" script:
[wil at bufferoverflow otopi]$ $HOME/ovirt-engine/bin/engine-setup-2
[ INFO  ] Stage: Initializing
          Setup was run under unprivileged user this will produce
development installation do you wish to proceed? (Yes, No) [No]: Yes
[ INFO  ] Stage: Environment setup
          Log file: /tmp/ovirt-engine-setup-20130429123931.log
          Version: otopi-1.0.1
          Configuration files: []
[ INFO  ] Stage: Installation packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment customization

          --== NETWORK CONFIGURATION ==--

          Host fully qualified DNS name of this server
[bufferoverflow.home]:

          --== DATABASE CONFIGURATION ==--


          ATTENTION

          Manual action required.
          Please create database for ovirt-engine use. Use the following
commands as an example:

          create user engine password 'engine';
          create database engine owner engine;

          Make sure that datbase can be accessed remotely.

          Database host [localhost]:
          Database port [5432]:
          Database secured connection (Yes, No) [No]:
          Database name [engine]:
          Database user [engine]:
          Database password:

          --== OVIRT ENGINE CONFIGURATION ==--


          --== PKI CONFIGURATION ==--

          PKI is already configured
          Skipping storing options as database already prepared

          --== APACHE CONFIGURATION ==--


          --== SYSTEM CONFIGURATION ==--


          --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
[WARNING] There is less than 16384MB available memory

          --== CONFIGURATION PREVIEW ==--

          Database name                 : engine
          Database secured connection   : False
          Database host                 : localhost
          Database user name            : engine
          Database host name validation : False
          Datbase port                  : 5432
          Host fqdn                     : bufferoverflow.home

          Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Backing up database to
'/home/wil/ovirt-engine/var/lib/ovirt-engine/backups/engine-20130429123952.sfnksc.sql'.
[ INFO  ] Updating database schema
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up

          --== SUMMARY ==--


          --== END OF SUMMARY ==--

          Web access is enabled at:
              http://bufferoverflow.home:8080/ovirt-engine
              https://bufferoverflow.home:8443/ovirt-engine
          JBoss is listending for debug connection at: 127.0.0.1:8787
          The following network ports should be opened:
              tcp:8080
              tcp:8443
          An example of the required configuration for iptables can be
found at:
              /home/wil/ovirt-engine/etc/ovirt-engine/iptables.example
          In order to configure firewalld, copy the files from
          /home/wil/ovirt-engine/etc/ovirt-engine/firewalld to
/etc/firewalld/services
          and execute the following commands:
              firewall-cmd --add-service ovirt-https
              firewall-cmd --add-service ovirt-http
          SSH fingerprint: 51:4d:10:ee:e0:46:3b:7f:f6:e7:05:62:48:60:23:e2
          Internal CA SHA1
Fingerprint=17:C4:3B:72:CC:EF:50:DE:55:5B:11:04:EB:4A:70:E1:51:33:7D:41
[ INFO  ] Stage: Clean up
          Log file is located at /tmp/ovirt-engine-setup-20130429123931.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination



On Mon, Apr 29, 2013 at 12:43 PM, Alon Bar-Lev <alonbl at redhat.com> wrote:

>
>
> ----- Original Message -----
> > From: "Limor Gavish" <lgavish at gmail.com>
> > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > Cc: "Yuval M" <yuvalme at gmail.com>, users at ovirt.org, "Nezer Zaidenberg" <
> nzaidenberg at mac.com>, "Vered Volansky"
> > <vered at redhat.com>
> > Sent: Monday, April 29, 2013 12:35:45 PM
> > Subject: Re: [Users] Unable to add host in a development setup - "Host
> kernelpanic.home installation failed. Failed
> > to decode own public key from store 'keys/engine.p12' using alias '1'."
> >
> > Attached the contents of:
> > /home/wil/ovirt-engine/share/ovirt-engine/conf/engine.conf.defaults
> > /home/wil/ovirt-engine/share/ovirt-engine/services/config.py
> >
> /home/wil/ovirt-engine/share/ovirt-engine/setup/ovirt_engine_setup/config.py
>
> Files are good.
>
> >
> > Concerning this file:
> > [wil at bufferoverflow ~]$ cat
> > /home/wil/ovirt-engine/share/ovirt-engine/setup/config.py
> > cat: /home/wil/ovirt-engine/share/ovirt-engine/setup/config.py: No such
> > file or directory
>
> My bad... it is
> /home/wil/ovirt-engine/share/ovirt-engine/setup/ovirt_engine_setup/config.py
> But no reason it will be incorrect as others are correct.
>
> >
> > After that I started fresh:
> > rm -fr ~/ovirt-engine
> > git clone https://github.com/alonbl/ovirt-engine.git otopi
> > cd otopi/
> > git fetch https://github.com/alonbl/ovirt-engine.git otopi
> > git checkout -b otopi FETCH_HEAD
> > make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0
> > $HOME/ovirt-engine/bin/engine-setup-2
> > $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py start
> >
> > However, the output of "engine-setup-2" contains the following error:
> > [ ERROR ] Failed to execute stage 'Misc configuration': Command
> > '/home/wil/ovirt-engine/share/ovirt-engine/bin/engine-encrypt-passwd.sh'
> > failed to execute
> > (I don't want to work with any encryption)
>
> This is encryption of database user's password within configuration.
>
> >
> > and the "ovirt-engine.py start" returns immediately and logs were not
> > created in
> > $HOME/ovirt-engine/var/log/ovirt-engine/
>
> Yes, you probably cannot start engine if installation fails. Can you
> please attach the installation log? Its name should appear at the summary.
>
> Thank you!
>
> >
> >
> > On Mon, Apr 29, 2013 at 12:03 PM, Alon Bar-Lev <alonbl at redhat.com>
> wrote:
> >
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Limor Gavish" <lgavish at gmail.com>
> > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > Cc: "Yuval M" <yuvalme at gmail.com>, users at ovirt.org, "Nezer
> Zaidenberg" <
> > > nzaidenberg at mac.com>, "Vered Volansky"
> > > > <vered at redhat.com>
> > > > Sent: Monday, April 29, 2013 11:54:05 AM
> > > > Subject: Re: [Users] Unable to add host in a development setup -
> "Host
> > > kernelpanic.home installation failed. Failed
> > > > to decode own public key from store 'keys/engine.p12' using alias
> '1'."
> > > >
> > > > Hello,
> > > >
> > > > I attached the output of
> > > > make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0
> > >
> > > Thanks!
> > > So I don't understand how you have invalid values in configuration, as
> I
> > > see sed is substituting correct values.
> > >
> > > Can you please attach:
> > > /home/wil/ovirt-engine/share/ovirt-engine/conf/engine.conf.defaults
> > > /home/wil/ovirt-engine/share/ovirt-engine/services/config.py
> > > /home/wil/ovirt-engine/share/ovirt-engine/setup/config.py
> > >
> > > 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?
> > >
> > > So you can try the following to start fresh:
> > >
> > > $ rm -fr ~/ovirt-engine
> > > $ make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0
> > >
> > > And run setup again?
> > >
> > > >
> > > >
> > > > On Mon, Apr 29, 2013 at 11:48 AM, Alon Bar-Lev <alonbl at redhat.com>
> > > wrote:
> > > >
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > > From: "Limor Gavish" <lgavish at gmail.com>
> > > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > Cc: "Yuval M" <yuvalme at gmail.com>, users at ovirt.org, "Nezer
> > > Zaidenberg" <
> > > > > nzaidenberg at mac.com>, "Vered Volansky"
> > > > > > <vered at redhat.com>
> > > > > > Sent: Monday, April 29, 2013 11:38:09 AM
> > > > > > Subject: Re: [Users] Unable to add host in a development setup -
> > > "Host
> > > > > kernelpanic.home installation failed. Failed
> > > > > > to decode own public key from store 'keys/engine.p12' using alias
> > > '1'."
> > > > > >
> > > > > > Thank you very much for trying to help but ovirt engine still
> doesn't
> > > > > work
> > > > > > - I cannot connect to the server through the web.
> > > > >
> > > > > Thank you for testing!
> > > > > However something is not behaving as expected... need to figure out
> > > what.
> > > > >
> > > > > >
> > > > > > I have overwritten the otopi the branch like you said:
> > > > > >
> > > > > > *git checkout engine_3.2*
> > > > > > *git branch -D otopi*
> > > > > > *git fetch https://github.com/alonbl/ovirt-engine.git otopi*
> > > > > > *git checkout -b otopi FETCH_HEAD*
> > > > >
> > > > > Should be OK
> > > > >
> > > > > > Then I re-built:
> > > > > >
> > > > > > *make clean install-dev PREFIX=$HOME/ovirt-engine
> > > > > > *
> > > > > > *$HOME/ovirt-engine/bin/engine-setup-2
> > > > > > --jboss-home=$HOME/ovirt-engine/jboss-as-7.1.1.Final
> > > > > > *
> > > > > > *$HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py
> > > start*
> > > > > >
> > > > > > But the warnings still appeared:
> > > > > >
> > > > > > *2013-04-29 10:03:28,061 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.*
> > > > > > *2013-04-29 10:03:28,061 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.*
> > > > > >
> > > > > > I tried to execute the engine-setup-2 command as root (*sudo
> > > > > > $HOME/ovirt-engine/bin/engine-setup-2
> > > > > > --jboss-home=$HOME/ovirt-engine/jboss-as-7.1.1.Final*) and it
> didn't
> > > help
> > > > > > (I answered all the questions with the default answers - not
> sure if
> > > that
> > > > > > was the right thing to do). Didn't help.
> > > > >
> > > > > NO... do not runt his as root! this setup should be fully
> functioning
> > > at
> > > > > unprivileged context.
> > > > >
> > > > > > So I manually created the files  "*
> > > > > > /usr/share/ovirt-engine/conf/engine.conf.defaults*" and "*
> > > > > > /etc/ovirt-engine/engine.conf*" as follows:
> > > > > >
> > > > > > *[wil at bufferoverflow ~]$ cat
> > > > > > /usr/share/ovirt-engine/conf/engine.conf.defaults*
> > > > > > *JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64*
> > > > > > *JBOSS_HOME=/home/wil/ovirt-engine/jboss-as-7.1.1.Final*
> > > > >
> > > > > Something is wrong... the 'PREFIX' is not set correctly. It should
> be
> > > > > handled at the generated-files rule at Makefile.
> > > > >
> > > > > Can you please send me the output of:
> > > > >
> > > > > $ make install-dev PREFIX=$HOME/ovirt-engine DEV_REBUILD=0
> > > > >
> > > > > Thank you!
> > > > >
> > > > > > *ENGINE_USER=wil*
> > > > > > *ENGINE_GROUP=wil*
> > > > > > *ENGINE_PROXY_ENABLED=false*
> > > > > > *ENGINE_HTTP_ENABLED=true*
> > > > > > *ENGINE_HTTP_PORT=8700*
> > > > > > *ENGINE_HTTPS_ENABLED=false*
> > > > > > *ENGINE_AJP_ENABLED=false*
> > > > > > *ENGINE_DB_USER=postgres*
> > > > > > *ENGINE_DB_PASSWORD=*
> > > > > > *ENGINE_DEBUG_ADDRESS=0.0.0.0:8787*
> > > > > > *#*
> > > > > > *# For descriptions of the parameters and their default values
> look*
> > > > > > *# at the /usr/share/ovirt-engine/conf/engine.conf.defaults
> file.*
> > > > > > *#*
> > > > > > *# Please note that the engine installation tool engine-setup
> will*
> > > > > > *# append the modified parameters to the end of this file.*
> > > > > > *#*
> > > > > >
> > > > > > and I put the same contents in* /etc/ovirt-engine/engine.conf*
> > > > > >
> > > > > > Still I can't connect to the ovirt through the web (
> > > > > http://127.0.0.1:8700/)
> > > > > > I get "*This webpage is not available*".
> > > > > > Full logs are attached (last attempt to run ovirt at 10:59).
> > > > > >
> > > > > > Here are the last two commits in "git log" of my "otopi" branch:
> > > > > >
> > > > > > *commit 98475140979ee11965154030f54825b14a1510e4*
> > > > > > *Author: Alon Bar-Lev <alonbl at redhat.com>*
> > > > > > *Date:   Thu Apr 25 12:39:50 2013 +0300*
> > > > > > *
> > > > > > *
> > > > > > *    packaging: engine-setup re-write using otopi*
> > > > > > *
> > > > > > *
> > > > > > *    Change-Id: I4d5e3ac7927802326e324c9b98ada75b421638aa*
> > > > > > *    Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>*
> > > > > > *    Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>*
> > > > > > *    Signed-off-by: Alex Lourie <alourie at redhat.com>*
> > > > > > *
> > > > > > *
> > > > > > *commit 3715fda9fe88099344feef59f9c74366a6e6f48d*
> > > > > > *Author: Alon Bar-Lev <alonbl at redhat.com>*
> > > > > > *Date:   Mon Apr 29 02:33:44 2013 +0300*
> > > > > > *
> > > > > > *
> > > > > > *    core: re-support broken apache proxy*
> > > > > > *
> > > > > > *
> > > > > > *    apache proxy support was broken in:*
> > > > > > *    I37156061cbdd, 'core: i18n splash screen.'*
> > > > > > *
> > > > > > *
> > > > > > *    The changed cause invalid redirection and the following
> error
> > > > > message
> > > > > > in*
> > > > > > *    console log:*
> > > > > > *    ---*
> > > > > > *    Exception while dispatching incoming RPC call:*
> > > > > > *    java.lang.SecurityException: Blocked request without GWT
> base
> > > path*
> > > > > > *    header (XSRF attack?)*
> > > > > > *    ---*
> > > > > > *
> > > > > > *
> > > > > > *    Content:*
> > > > > > *
> > > > > > *
> > > > > > *    1. Remove unused ovirt-engine.html (what was index.html) as
> it
> > > is*
> > > > > > *       superseded by index.jsp*
> > > > > > *
> > > > > > *
> > > > > > *    2. Remove redundant welcome directive from web.xml*
> > > > > > *
> > > > > > *
> > > > > > *    3. Rename /index.jsp to /ovirt-engine.jsp to be referenced
> by
> > > both*
> > > > > > *       apache and jboss.*
> > > > > > *
> > > > > > *
> > > > > > *    4. Rename servlet mapping of /index to /ovirt-engine.*
> > > > > > *
> > > > > > *
> > > > > > *    5. Modify 404.html pages to redirect to /ovirt-engine
> instead
> > > of*
> > > > > > *       /ovirt-engine.html*
> > > > > > *
> > > > > > *
> > > > > > *    6. Remove reference of ovirt-engine.html from the proxy.*
> > > > > > *
> > > > > > *
> > > > > > *    Change-Id: I7ac8feb720d73f0b1107b0bf0908930c525ea542*
> > > > > > *    Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>*
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Mon, Apr 29, 2013 at 9:39 AM, Alon Bar-Lev <alonbl at redhat.com
> >
> > > wrote:
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ----- Original Message -----
> > > > > > > > From: "Limor Gavish" <lgavish at gmail.com>
> > > > > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > Cc: "Yuval M" <yuvalme at gmail.com>, users at ovirt.org, "Nezer
> > > > > Zaidenberg" <
> > > > > > > nzaidenberg at mac.com>, "Vered Volansky"
> > > > > > > > <vered at redhat.com>
> > > > > > > > Sent: Monday, April 29, 2013 8:28:47 AM
> > > > > > > > Subject: Re: [Users] Unable to add host in a development
> setup -
> > > > > "Host
> > > > > > > kernelpanic.home installation failed. Failed
> > > > > > > > to decode own public key from store 'keys/engine.p12' using
> alias
> > > > > '1'."
> > > > > > > >
> > > > > > > > Thank you very much for your prompt response. However,
> according
> > > to
> > > > > "git
> > > > > > > > rebase" (after "git fetch") there is no new change
> > > > > > > >
> > > > > > > > [wil at bufferoverflow repository]$ git fetch
> > > > > > > > https://github.com/alonbl/ovirt-engine.git otopi
> > > > > > > > From https://github.com/alonbl/ovirt-engine
> > > > > > > >  * branch            otopi      -> FETCH_HEAD
> > > > > > > > [wil at bufferoverflow repository]$ git rebase --merge
> FETCH_HEAD
> > > > > > > > *Current branch otopi is up to date.*
> > > > > > > > *
> > > > > > > > *
> > > > > > > > The latest change I see in "git log" is
> > > > > > > >
> > > > > > > > [wil at bufferoverflow repository]$ git show HEAD
> > > > > > > > commit 99d95891ab0e814159a463d246543b08e41c746d
> > > > > > > > Author: Alon Bar-Lev <alonbl at redhat.com>
> > > > > > > > Date:   Thu Apr 25 12:39:50 2013 +0300
> > > > > > > >
> > > > > > > >     packaging: engine-setup re-write using otopi
> > > > > > > >
> > > > > > > >     Change-Id: I4d5e3ac7927802326e324c9b98ada75b421638aa
> > > > > > > >     Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
> > > > > > > >     Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>
> > > > > > > >     Signed-off-by: Alex Lourie <alourie at redhat.com>
> > > > > > > >
> > > > > > > > If you don't wish to push the change yet, you can send a
> patch
> > > and I
> > > > > will
> > > > > > > > apply it.
> > > > > > >
> > > > > > > This branch is rolling rebase, forced push, so rebase will not
> > > work in
> > > > > > > this regard.
> > > > > > > Soon it will be merged to master so it will be easier to track.
> > > > > > >
> > > > > > > Please try:
> > > > > > >
> > > > > > > $ git checkout master
> > > > > > > $ git branch -D otopi
> > > > > > > $ git fetch
> > > > > > > $ git checkout otopi
> > > > > > >
> > > > > > > You should have:
> > > > > > > commit 98475140979ee11965154030f54825b14a1510e4
> > > > > > >
> > > > > > > Thanks!
> > > > > > > Alon.
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Mon, Apr 29, 2013 at 1:04 AM, Alon Bar-Lev <
> alonbl at redhat.com
> > > >
> > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ----- Original Message -----
> > > > > > > > > > From: "Limor Gavish" <lgavish at gmail.com>
> > > > > > > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > > > Cc: "Yuval M" <yuvalme at gmail.com>, users at ovirt.org,
> "Nezer
> > > > > > > Zaidenberg" <
> > > > > > > > > nzaidenberg at mac.com>, "Vered Volansky"
> > > > > > > > > > <vered at redhat.com>
> > > > > > > > > > Sent: Sunday, April 28, 2013 10:56:45 PM
> > > > > > > > > > Subject: Re: [Users] Unable to add host in a development
> > > setup -
> > > > > > > "Host
> > > > > > > > > kernelpanic.home installation failed. Failed
> > > > > > > > > > to decode own public key from store 'keys/engine.p12'
> using
> > > alias
> > > > > > > '1'."
> > > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > Thank you very much for your help but I do not succeed to
> > > start
> > > > > the
> > > > > > > > > engine
> > > > > > > > > > after compiling your version.
> > > > > > > > > >
> > > > > > > > > > I switched to the otopi branch like you said.
> > > > > > > > > > git fetch https://github.com/alonbl/ovirt-engine.gitotopi
> > > > > > > > > > git checkout -b otopi FETCH_HEAD
> > > > > > > > > >
> > > > > > > > > > I followed the instructions in
> > > > > > > > > >
> > > > > https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer
> > > > > > > > > > *So here are the last 3 commands I used:*
> > > > > > > > > > make clean install-dev PREFIX=$HOME/ovirt-engine
> > > > > > > > > > $HOME/ovirt-engine/bin/engine-setup-2
> > > > > > > > > > --jboss-home=$HOME/ovirt-engine/jboss-as-7.1.1.Final
> > > > > > > > > >
> > > $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py
> > > > > start
> > > > > > > > > >
> > > > > > > > > > However, the last command
> > > > > > > > > >
> > > ($HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine.py
> > > > > > > start)
> > > > > > > > > > hangs.
> > > > > > > > >
> > > > > > > > > This is expected... it is the service running, Ctrl-C to
> > > terminate.
> > > > > > > > >
> > > > > > > > > > *In server.log I see the following error:*
> > > > > > > > > > 2013-04-28 22:13:40,203 ERROR [org.jboss.as] (MSC
> service
> > > thread
> > > > > > > 1-3)
> > > > > > > > > > JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with
> > > errors)
> > > > > in
> > > > > > > > > 2788ms
> > > > > > > > > > - Started 504 of 5     40 services (1 services failed or
> > > missing
> > > > > > > > > > dependencies, 34 services are passive or on-demand)
> > > > > > > > > > *In engine.log I see the following error:*
> > > > > > > > > > 2013-04-28 22:13:40,082 ERROR
> > > > > > > > > > [org.ovirt.engine.core.utils.ErrorTranslatorImpl] (MSC
> > > service
> > > > > thread
> > > > > > > > > 1-4)
> > > > > > > > > > File: bundles/VdsmErrors could not be loaded:
> java.util.Mis
> > > > > > > > > >  singResourceException: Can't find bundle for base name
> > > > > > > > > bundles/VdsmErrors,
> > > > > > > > > > locale en_US
> > > > > > > > > >
> > > > > > > > > > Full logs are attached.
> > > > > > > > >
> > > > > > > > > The problem is that for some reason the PREFIX is not taken
> > > into
> > > > > > > account.
> > > > > > > > >
> > > > > > > > > Related errors:
> > > > > > > > > 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.
> > > > > > > > > 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.
> > > > > > > > >
> > > > > > > > > It can be due to previous make execution without PREFIX.
> > > > > > > > > I've committed a change to Makefile to force regenerate the
> > > file
> > > > > > > locations
> > > > > > > > > when using install-dev.
> > > > > > > > > Can you please give it a try?
> > > > > > > > >
> > > > > > > > > Thanks!
> > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > Limor on behalf of Yuval
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Sun, Apr 28, 2013 at 2:51 PM, Alon Bar-Lev <
> > > alonbl at redhat.com
> > > > > >
> > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Maybe someone can help you in this.
> > > > > > > > > > >
> > > > > > > > > > > I prefer people install development mode and use fully
> > > > > functional
> > > > > > > > > product
> > > > > > > > > > > within their development environment.
> > > > > > > > > > >
> > > > > > > > > > > Alon
> > > > > > > > > > >
> > > > > > > > > > > ----- Original Message -----
> > > > > > > > > > > > From: "Yuval M" <yuvalme at gmail.com>
> > > > > > > > > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > > > > > Cc: users at ovirt.org, "Nezer Zaidenberg" <
> > > nzaidenberg at mac.com
> > > > > >,
> > > > > > > > > "Limor
> > > > > > > > > > > Gavish" <lgavish at gmail.com>, "Vered Volansky"
> > > > > > > > > > > > <vered at redhat.com>
> > > > > > > > > > > > Sent: Sunday, April 28, 2013 12:45:33 PM
> > > > > > > > > > > > Subject: Re: [Users] Unable to add host in a
> development
> > > > > setup -
> > > > > > > > > "Host
> > > > > > > > > > > kernelpanic.home installation failed. Failed
> > > > > > > > > > > > to decode own public key from store 'keys/engine.p12'
> > > using
> > > > > alias
> > > > > > > > > '1'."
> > > > > > > > > > > >
> > > > > > > > > > > > But is there an option to just manually install the
> new
> > > host?
> > > > > > > > > > > >
> > > > > > > > > > > > Yuval
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Sun, Apr 28, 2013 at 11:46 AM, Alon Bar-Lev <
> > > > > > > alonbl at redhat.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Development mode installation is not yet supported
> to
> > > > > perform
> > > > > > > > > > > host-deploy.
> > > > > > > > > > > > > There is ongoing work for fully functional
> development
> > > > > > > environment.
> > > > > > > > > > > > > You can test this if you like before it is merged
> > > upstream.
> > > > > > > > > > > > > Sources available here[1], documentation is
> here[2].
> > > > > > > > > > > > >
> > > > > > > > > > > > > [1]
> https://github.com/alonbl/ovirt-engine/tree/otopi
> > > > > > > > > > > > > [2]
> > > > > > > > >
> > > https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer
> > > > > > > > > > > > >
> > > > > > > > > > > > > ----- Original Message -----
> > > > > > > > > > > > > > From: "Yuval M" <yuvalme at gmail.com>
> > > > > > > > > > > > > > To: users at ovirt.org, "Nezer Zaidenberg" <
> > > > > nzaidenberg at mac.com
> > > > > > > >,
> > > > > > > > > > > "Limor
> > > > > > > > > > > > > Gavish" <lgavish at gmail.com>
> > > > > > > > > > > > > > Sent: Saturday, April 27, 2013 5:22:59 PM
> > > > > > > > > > > > > > Subject: [Users] Unable to add host in a
> development
> > > > > setup -
> > > > > > > > > "Host
> > > > > > > > > > > > > kernelpanic.home installation failed. Failed to
> > > > > > > > > > > > > > decode own public key from store
> 'keys/engine.p12'
> > > using
> > > > > > > alias
> > > > > > > > > '1'."
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'm getting the aforementioned error message when
> > > trying
> > > > > to
> > > > > > > > > > > reinstall a
> > > > > > > > > > > > > host
> > > > > > > > > > > > > > that failed to be added to the cluster.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > in the engine log I have:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2013-04-27 16:29:58,249 ERROR
> > > > > > > > > > > > > [org.ovirt.engine.core.bll.InstallVdsCommand]
> > > > > > > > > > > > > > (pool-3-thread-49) [3070670b] Host installation
> > > failed
> > > > > for
> > > > > > > host
> > > > > > > > > > > > > > cf09fb25-b8a4-4068-a
> > > > > > > > > > > > > > 3c8-9869d0ba4ff9, kernelpanic.home.:
> > > > > > > java.lang.RuntimeException:
> > > > > > > > > > > Failed
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > decode own public key from store
> 'keys/engine.p12'
> > > using
> > > > > > > alias
> > > > > > > > > '1'
> > > > > > > > > > > > > > at
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:227)
> > > > > > > > > > > > > > [bll.jar:]
> > > > > > > > > > > > > > at
> > > > > > > > >
> > > org.ovirt.engine.core.bll.VdsDeploy.access$400(VdsDeploy.java:71)
> > > > > > > > > > > > > > [bll.jar:]
> > > > > > > > > > > > > > at
> > > > > > > org.ovirt.engine.core.bll.VdsDeploy$9.call(VdsDeploy.java:334)
> > > > > > > > > > > > > [bll.jar:]
> > > > > > > > > > > > > > at
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:476)
> > > > > > > > > > > > > > [bll.jar:]
> > > > > > > > > > > > > > at
> > > > > > > > > > >
> > > > > org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:687)
> > > > > > > > > > > > > > [bll.jar:]
> > > > > > > > > > > > > > at
> > > > > > > > >
> > > org.ovirt.engine.core.bll.VdsDeploy.access$1400(VdsDeploy.java:71)
> > > > > > > > > > > > > > [bll.jar:]
> > > > > > > > > > > > > > at
> > > > > > > org.ovirt.engine.core.bll.VdsDeploy$32.run(VdsDeploy.java:779)
> > > > > > > > > > > > > [bll.jar:]
> > > > > > > > > > > > > > at java.lang.Thread.run(Thread.java:722)
> > > > > > > > > [rt.jar:1.7.0_09-icedtea]
> > > > > > > > > > > > > > Caused by: java.io.FileNotFoundException:
> > > > > keys/engine.p12 (No
> > > > > > > > > such
> > > > > > > > > > > file
> > > > > > > > > > > > > or
> > > > > > > > > > > > > > directory)
> > > > > > > > > > > > > > at java.io.FileInputStream.open(Native Method)
> > > > > > > > > > > [rt.jar:1.7.0_09-icedtea]
> > > > > > > > > > > > > > at
> > > > > java.io.FileInputStream.<init>(FileInputStream.java:138)
> > > > > > > > > > > > > > [rt.jar:1.7.0_09-icedtea]
> > > > > > > > > > > > > > at
> > > > > java.io.FileInputStream.<init>(FileInputStream.java:97)
> > > > > > > > > > > > > > [rt.jar:1.7.0_09-icedtea]
> > > > > > > > > > > > > > at
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:206)
> > > > > > > > > > > > > > [bll.jar:]
> > > > > > > > > > > > > > ... 7 more
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > My setup has an all-in-one node with the engine
> > > installed
> > > > > > > from
> > > > > > > > > > > sources,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > and I'm attempting to add a seconds host (Fedora
> 18,
> > > vdsm
> > > > > > > from
> > > > > > > > > yum,
> > > > > > > > > > > > > nothing
> > > > > > > > > > > > > > fancy).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I installed vdsm (yum install vdsm), and disabled
> > > SSL as
> > > > > > > > > instructed
> > > > > > > > > > > in:
> > > > > > > > > > > > > > http://www.ovirt.org/OVirt_-_disable_SSL_in_VDSM
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I read here that the development setup (i.e
> engine
> > > > > installed
> > > > > > > from
> > > > > > > > > > > > > sources)
> > > > > > > > > > > > > > does not support automatic deployment:
> > > > > > > > > > > > > >
> > > > > http://www.mail-archive.com/users@ovirt.org/msg07608.html
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Is this still the case?
> > > > > > > > > > > > > > If so, how do I deploy an additional host in
> such a
> > > > > setup?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Yuval Meir
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > > Users mailing list
> > > > > > > > > > > > > > Users at ovirt.org
> > > > > > > > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130429/7950a1ca/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: otopi_logs3.zip
Type: application/zip
Size: 35856 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130429/7950a1ca/attachment-0001.zip>


More information about the Users mailing list