Hello,
It seems like you are trying to get development version to perform pki and host
deployment.
This was impossible until now.
I am working on a solution to provide this.
You can test my testing branch at[1], you should install otopi and ovirt-host-deploy
dependencies from nightly[2] ovirt-host-deploy-1.0.1 otopi-1.0.1 .
Follow instructions at [2].
[1]
https://github.com/alonbl/ovirt-engine/tree/otopi (otopi branch)
[2]
http://resources.ovirt.org/releases/nightly/
[3]
https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer
----- Original Message -----
From: "bigclouds" <bigclouds(a)163.com>
To: users(a)ovirt.org
Sent: Tuesday, March 26, 2013 3:13:07 PM
Subject: [Users] .keystore' using alias '1'
how to create certs from scratch.
thanks
2013-03-26 20:54:36,786 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
(VdsDeploy) Error during deploy dialog: java.lang.RuntimeException:
Failed to decode own public key from store
'/etc/pki/ovirt-engine/ca/.keystore' using alias '1'
at
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:236)
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$10.call(VdsDeploy.java:350)
[bll.jar:]
at
org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:492)
[bll.jar:]
at
org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:704)
[bll.jar:]
at org.ovirt.engine.core.bll.
VdsDeploy.access$1400(VdsDeploy.java:71) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$33.run(VdsDeploy.java:796)
[bll.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
Caused by: java.io.IOException: DerInputStream.getLength():
lengthTag=109, too big.
at
sun.security.util.DerInputStream.getLength(DerInputStream.java:561)
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.init(DerValue.java:365)
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.<init>(DerValue.java:320)
[rt.jar:1.7.0_09-icedtea]
at
sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220)
[rt.jar:1.7.0_09-icedtea]
at java.security.K eyStore.load(KeyStore.java:1214)
[rt.jar:1.7.0_09-icedtea]
at
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:209)
[bll.jar:]
... 6 more
2013-03-26 20:54:36,814 INFO
[org.apache.sshd.client.session.ClientSessionImpl] (VdsDeploy)
Session root@/192.168.2.170:22 closed
2013-03-26 20:54:36,815 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
(pool-10-thread-50) [102beb4a] Error during host 192.168.2.170
install: java.lang.RuntimeException: Failed to decode own public key
from store '/etc/pki/ovirt-engine/ca/.keystore' using alias '1'
at
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:236)
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$10.call(VdsDeploy.java:350)
[bll.jar:]
at or
g.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:492)
[bll.jar:]
at
org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:704)
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$1400(VdsDeploy.java:71)
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$33.run(VdsDeploy.java:796)
[bll.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
Caused by: java.io.IOException: DerInputStream.getLength():
lengthTag=109, too big.
at
sun.security.util.DerInputStream.getLength(DerInputStream.java:561)
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.init(DerValue.java:365)
[rt.jar:1.7.0_09-icedtea]
at sun. security.util.DerValue.<init>(DerValue.java:320)
[rt.jar:1.7.0_09-icedtea]
at
sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220)
[rt.jar:1.7.0_09-icedtea]
at java.security.KeyStore.load(KeyStore.java:1214)
[rt.jar:1.7.0_09-icedtea]
at
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:209)
[bll.jar:]
... 6 more
2013-03-26 20:54:36,872 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
(pool-10-thread-50) [102beb4a] Error during host 192.168.2.170
install, prefering first exception: java.lang.RuntimeException:
Failed to decode own public key from store
'/etc/pki/ovirt-engine/ca/.keystore' using alias '1'
at
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:236)
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$10.call(VdsDeploy.java:350)
[bll.jar:]
at
org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:492)
[bll.jar:]
at
org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:704)
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$1400(VdsDeploy.java:71)
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$33.run(VdsDeploy.java:796)
[bll.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
Caused by: java.io.IOException: DerInputStream.getLength():
lengthTag=109, too big.
at
sun.security.util.DerInputStream.getLength(DerInputStream.java:561)
[rt.jar:1.7.0_09-icedtea]
&nb sp; at sun.security.util.DerValue.init(DerValue.java:365)
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.<init>(DerValue.java:320)
[rt.jar:1.7.0_09-icedtea]
at
sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220)
[rt.jar:1.7.0_09-icedtea]
at java.security.KeyStore.load(KeyStore.java:1214)
[rt.jar:1.7.0_09-icedtea]
at
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:209)
[bll.jar:]
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users