Hi, Please check the agent.log on the hypervisor, it may contain useful clues as to why the operation has failed.
-- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- From: "Ali Ahsan" <ali.ah...@northbaysolutions.net> To: users@cloudstack.apache.org Sent: Tuesday, 24 June, 2014 8:34:33 AM Subject: Re: Cloud Stack | Unable to add KVM host 4.3 On 6/24/2014 12:32 PM, sebgoa wrote: > On Jun 24, 2014, at 9:21 AM, Ali Ahsan <ali.ah...@northbaysolutions.net> > wrote: > >> Yes I did, I followed Centos Quick Installation guide. >> > Which version of cloudstack are you using ? > >> Ali >> >> On 6/24/2014 11:49 AM, Rajani Karuturi wrote: >>> did you do agent install? >>> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent >>> >>> >>> ~Rajani >>> >>> >>> >>> On 24-Jun-2014, at 11:32 am, Ali Ahsan >>> <ali.ah...@northbaysolutions.net<mailto:ali.ah...@northbaysolutions.net>> >>> wrote: >>> >>> Hi, >>> >>> I have configured Cloud stack but unable to add KVM host both mangment and >>> KVM hosted on Same VM (Vmwear ). Please see the log below. >>> >>> >>> INFO [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable >>> to add the host >>> INFO [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 >>> ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center >>> 1 >>> WARN [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 >>> ctx-867ef602) Unable to find the server resources at http://10.10.0.244 >>> INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 >>> ctx-867ef602) Could not find exception: >>> com.cloud.exception.DiscoveryException in error code list for exceptions >>> WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 >>> ctx-867ef602) Exception: >>> com.cloud.exception.DiscoveryException: Unable to add the host >>> at >>> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) >>> at >>> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) >>> 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:606) >>> at >>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) >>> at >>> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) >>> at >>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) >>> at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) >>> at >>> org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) >>> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) >>> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) >>> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) >>> at >>> com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323) >>> at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53) >>> at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115) >>> at >>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) >>> at >>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) >>> at >>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) >>> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112) >>> at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79) >>> 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:555) >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) >>> at >>> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) >>> at >>> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) >>> at >>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:744) >>> INFO [c.c.a.ApiServer] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable >>> to add the host >>> >>> >>> >>> >>> >