incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <ch0...@gmail.com>
Subject Issue : cannot connect to management server (SSL related ....)
Date Fri, 09 Nov 2012 16:17:21 GMT
Hi,

With last code available on master Git Hub repo, when I execute the
following command "mvn -pl :cloud-client-ui jetty:run" I get the message
that the mnget server cannot reached :

INFO  [cloud.api.ApiServer] (Thread-18:) ApiServer listening on port 8096
2012-11-09 10:30:08.527:INFO::Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server
INFO  [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) We are
good, no orphan management server msid in host table is found
INFO  [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) No inactive
management server node found
WARN  [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:)
Notifying management server join event took 5 ms

This issue occurs not matter if I define in devcloud.cfg file mngtSrv =
127.0.0.1 or 192.168.56.2
In consequence, when I open the client in the web browser (
http://localhost:8080/client), the first screen asks me to define the
configuration

Could this be related to the following WARN appearing in log ?

INFO  [cloud.server.ConfigurationServerImpl] (main:) SSL keystore located
at
/Users/chmoulli/Apache/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/cloud.keystore
Password:
WARN  [utils.script.Script] (Script-1:) Interrupting script.
WARN  [utils.script.Script] (main:) Timed out: sudo keytool -genkey
-keystore
/Users/chmoulli/Apache/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/cloud.keystore
-storepass vmops.com -keypass vmops.com -keyalg RSA -validity 3650 -dname
cn="Cloudstack User",ou="cloud.com",o="cloud.com",c="Unknown" .  Output is:
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:476)
at
com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:497)
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:241)
at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)

WARN  [cloud.server.ConfigurationServerImpl] (main:) Exception:
/Users/chmoulli/Apache/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
/Users/chmoulli/.ssh/id_rsa.pub /Users/chmoulli/.ssh/id_rsa
/Users/chmoulli/Apache/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/vms/systemvm.iso
java.io.IOException: Cannot run program
"/Users/chmoulli/Apache/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh":
error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.cloud.utils.script.Script.execute(Script.java:183)
at com.cloud.utils.script.Script.execute(Script.java:161)
at
com.cloud.server.ConfigurationServerImpl.injectSshKeysIntoSystemVmIsoPatch(ConfigurationServerImpl.java:722)
at
com.cloud.server.ConfigurationServerImpl.updateKeyPairs(ConfigurationServerImpl.java:660)
at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
at
com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:268)
at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:47)

Regards,

-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

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