Hi, I'm a student of University of Parma, Italy, and I'm trying to install cloudstack in a very simple way only for trying it. The management server has been installed in a virtual machine and it works. Then I've installed the agent on a "physical" host, but when I try to add it to cluster the management returns with the message "Unable to add the host".
The management server and the host are in the same net The host uses KVM to virtualize. I followed all instructions I found on your guide http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/hypervisor-kvm-install-flow.html Below there is an extract from the management-server.log in which you can see the error occurred. Thanks. I wait for a response. Valter Venusti 2014-02-14 15:59:41,931 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:null) Completed acquiring hosts for clusters not owned by any management server 2014-02-14 15:59:43,559 DEBUG [kvm.discoverer.LibvirtServerDiscoverer] (catalina-exec-24:null) Timeout, to wait for the host connecting to mgt s vr, assuming it is failed 2014-02-14 15:59:43,561 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-24:null) Unable to find the server resources at http://160.78 . 27.238 2014-02-14 15:59:43,562 INFO [utils.exception.CSExceptionErrorCode] (catalina-exec-24:null) Could not find exception: com.cloud.exception.Disco veryException in error code list for exceptions 2014-02-14 15:59:43,562 WARN [admin.host.AddHostCmd] (catalina-exec-24:null) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:798) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:590) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2282) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) 2014-02-14 15:59:43,570 INFO [cloud.api.ApiServer] (catalina-exec-24:null) Unable to add the host