cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张秉南 <zbnyouj...@gmail.com>
Subject 安装的cloudstack 4.01,启动cloud-management,日志有WARN说无法生成证书
Date Fri, 07 Jun 2013 09:17:44 GMT
INFO  [cloud.server.ConfigurationServerImpl] (main:) SSL keystore located
at /etc/cloud/management/cloud.keystore
WARN  [cloud.server.ConfigurationServerImpl] (main:) Would use fail-safe
keystore to continue.
java.io.IOException: Fail to generate certificate!
        at
com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:490)
        at
com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:511)
        at
com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:262)
        at
com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
        at
com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:47)
        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
INFO  [cloud.server.ConfigurationServerImpl] (main:) Processing
updateKeyPairs
INFO  [cloud.server.ConfigurationServerImpl] (main:) Keypairs already in
database
INFO  [cloud.server.ConfigurationServerImpl] (main:) Keypairs already in
database, updating local copy
INFO  [cloud.server.ConfigurationServerImpl] (main:) Going to update
systemvm iso with generated keypairs if needed
WARN  [cloud.server.ConfigurationServerImpl] (main:) Failed to inject
generated public key into systemvm iso sudo: sorry, you must have a tty to
run sudosudo: sorry, you must have a tty to run sudoinjectkeys.sh: Failed
to mount original iso /usr/lib64/cloud/common/vms/systemvm.isosudo: sorry,
you must have a tty to run sudosudo: sorry, you must have a tty to run
sudoinjectkeys.sh: Failed to backup original iso
/usr/lib64/cloud/common/vms/systemvm.isosudo: sorry, you must have a tty to
run sudosudo: sorry, you must have a tty to run sudoinjectkeys.sh: Failed
to copy from original iso /usr/lib64/cloud/common/vms/systemvm.isosudo:
sorry, you must have a tty to run sudosudo: sorry, you must have a tty to
run sudoinjectkeys.sh: Failed to copy key
/var/lib/cloud/management/.ssh/id_rsa.pub from original iso to new iso
sudo: sorry, you must have a tty to run sudosudo: sorry, you must have a
tty to run sudoinjectkeys.sh: Failed to unmount old iso from
/var/lib/cloud/management/systemvm_mnt
ERROR [cloud.servlet.CloudStartupServlet] (main:) Exception starting
management server
com.cloud.utils.exception.CloudRuntimeException: Failed to inject generated
public key into systemvm iso sudo: sorry, you must have a tty to run
sudosudo: sorry, you must have a tty to run sudoinjectkeys.sh: Failed to
mount original iso /usr/lib64/cloud/common/vms/systemvm.isosudo: sorry, you
must have a tty to run sudosudo: sorry, you must have a tty to run
sudoinjectkeys.sh: Failed to backup original iso
/usr/lib64/cloud/common/vms/systemvm.isosudo: sorry, you must have a tty to
run sudosudo: sorry, you must have a tty to run sudoinjectkeys.sh: Failed
to copy from original iso /usr/lib64/cloud/common/vms/systemvm.isosudo:
sorry, you must have a tty to run sudosudo: sorry, you must have a tty to
run sudoinjectkeys.sh: Failed to copy key
/var/lib/cloud/management/.ssh/id_rsa.pub from original iso to new iso
sudo: sorry, you must have a tty to run sudosudo: sorry, you must have a
tty to run sudoinjectkeys.sh: Failed to unmount old iso from
/var/lib/cloud/management/systemvm_mnt
        at
com.cloud.server.ConfigurationServerImpl.updateKeyPairs(ConfigurationServerImpl.java:676)
        at
com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
        at
com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:265)
        at
com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
        at
com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:47)
        at javax.servlet.GenericServlet.init(GenericServlet.java:212)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message