Hey Ram, can you post full logs at pastebin.com or paste.cloudstack.org?
On Mon, Jun 3, 2013 at 5:18 AM, ram kumar <ram.kumar.linux1...@gmail.com>wrote: > Other log in management directory is as follows: > > root@krishna-S1200RP:/var/log/cloud/management# grep -Rin Error * > awsapi.log:1:2013-06-03 17:31:47,691 ERROR [controller.s3.ServiceProvider] > (Timer-3:null) Unexpected exception DB Exception on: null > awsapi.log:20: at > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013) > awsapi.log:21: at > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) > awsapi.log:22: at > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) > awsapi.log:23: at > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) > management-server.log:788:2013-06-03 17:33:02,882 ERROR > [cloud.cluster.ClusterManagerImpl] (main:null) Unable to ping management > server at 10.223.169.154:9090 due to ConnectException > management-server.log:980:2013-06-03 17:33:03,033 INFO > [xen.resource.XenServerConnectionPool] (main:null) XenServer Connection > Pool Configs: manage.xenserver.pool.master=true; > sleep.interval.on.error=10000 > management-server.log:1499: at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > root@krishna-S1200RP:/var/log/cloud/management# > > > > On Mon, Jun 3, 2013 at 5:43 PM, ram kumar <ram.kumar.linux1...@gmail.com > >wrote: > > > While trying to add the host I got following error in > > management-server.log file: > > > > 2013-06-03 17:39:32,954 DEBUG > > [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone > 2 > > is not ready to launch secondary storage VM yet > > 2013-06-03 17:39:32,996 DEBUG > [cloud.consoleproxy.ConsoleProxyManagerImpl] > > (consoleproxy-1:null) Skip capacity scan due to there is no Primary > Storage > > UPintenance mode > > 2013-06-03 17:39:33,429 DEBUG > > [network.router.VirtualNetworkApplianceManagerImpl] > > (RouterStatusMonitor-1:null) Found 0 routers. > > 2013-06-03 17:40:02,960 DEBUG > > [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone > 2 > > is not ready to launch secondary storage VM yet > > 2013-06-03 17:40:03,002 DEBUG > [cloud.consoleproxy.ConsoleProxyManagerImpl] > > (consoleproxy-1:null) Skip capacity scan due to there is no Primary > Storage > > UPintenance mode > > 2013-06-03 17:40:03,428 DEBUG > > [network.router.VirtualNetworkApplianceManagerImpl] > > (RouterStatusMonitor-1:null) Found 0 routers. > > 2013-06-03 17:40:06,577 DEBUG [kvm.discoverer.KvmServerDiscoverer] > > (catalina-exec-21:null) Timeout, to wait for the host connecting to mgt > > svr, assuming it is failed > > 2013-06-03 17:40:06,584 WARN [cloud.resource.ResourceManagerImpl] > > (catalina-exec-21:null) Unable to find the server resources at > > http://10.223.169.166 > > 2013-06-03 17:40:06,588 WARN [api.commands.AddHostCmd] > > (catalina-exec-21:null) Exception: > > com.cloud.exception.DiscoveryException: Unable to add the host > > at > > > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737) > > at > > > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544) > > at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140) > > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) > > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:544) > > > > > > > > > > On Mon, Jun 3, 2013 at 5:14 PM, ram kumar <ram.kumar.linux1...@gmail.com > >wrote: > > > >> Hi All, > >> > >> I am new to cloudstack and trying to configure it on Ubuntu 12.04 with > >> Cloudstack 1:4.0.2. My tomcat version is 6.0.35. I am facing following > >> problem during the key generation and adding the host. When I tried to > >> generate the key I got following values: > >> > >> curl --globoff " > >> > http://localhost:8096/?command=createSSHKeyPair&name=keypair-doc&account=admin&domainid=a883af06-d6c6-4427-b5bf-c88154b46e28 > >> " > >> <?xml version="1.0" encoding="UTF-8"?><createsshkeypairresponse > >> > cloud-stack-version="4.0.2.20130501180711"><keypair><name>keypair-doc</name><fingerprint>9a:ae:3f:9c:6e:eb:4a:bb:4a:fb:75:9d:1e:60:f5:f8</fingerprint></keypair></createsshkeypairresponse>root@kri0RP > :/var/log/cloud# > >> > >> > >> But I didn't get any private key on the console. I tried to search > >> keypair-doc file but I didn't get it. Can anyone help me here to get the > >> key ? If I am trying to run the same command it is telling that key has > >> already generated in keypair-doc. Can I regenerate the key with other > >> domain id and what is the command to get other domain id ? > >> > >> When I tried to add the host I am not able to add the host in a cluster. > >> Is it due to SSH-key generation problem ? I have checked individual SSH > >> login, PORT status and PING of host. Everything seems fine to me. > Please > >> tell me which log I should refer to further debug this. > >> > >> Is there any global setting available by which I can bypass all the key > >> related authentication and I should be able to add the host ? > >> > >> Please help me on above points. > >> > >> Best Regards, > >> Ram > >> > >> > > >