----- Original Message -----
> From: "Limor Gavish" <lgavish@gmail.com>
> To: "Alon Bar-Lev" <alonbl@redhat.com>
> Cc: "Yuval M" <yuvalme@gmail.com>, users@ovirt.org, "Nezer Zaidenberg" <nzaidenberg@mac.com>, "Vered Volansky"
> <vered@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,> *So here are the last 3 commands I used:*
>
> 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.git otopi
> git checkout -b otopi FETCH_HEAD
>
> I followed the instructions in
> https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer
> make clean install-dev PREFIX=$HOME/ovirt-engineThis is expected... it is the service running, Ctrl-C to terminate.
> $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.
> *In server.log I see the following error:*
> 2013-04-28 22:13:40,203 ERROR [org.jboss.as] (MSC service thread 1-3)> *In engine.log I see the following error:*
> 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)
> 2013-04-28 22:13:40,082 ERRORThe problem is that for some reason the PREFIX is not taken into account.
> [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.
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@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@gmail.com>
> > > To: "Alon Bar-Lev" <alonbl@redhat.com>
> > > Cc: users@ovirt.org, "Nezer Zaidenberg" <nzaidenberg@mac.com>, "Limor
> > Gavish" <lgavish@gmail.com>, "Vered Volansky"
> > > <vered@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@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@gmail.com>
> > > > > To: users@ovirt.org, "Nezer Zaidenberg" <nzaidenberg@mac.com>,
> > "Limor
> > > > Gavish" <lgavish@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@ovirt.org
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > >
> > > >
> > >
> >
>