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 > >