incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edison Su <Edison...@citrix.com>
Subject RE: WAR Deployment and Xen Plugins
Date Mon, 12 Nov 2012 22:59:32 GMT
There are files needed to be copied from mgt server host to xenserver hypervisor host during
the adding host.
Can you check the management server log, right before the exception raised? Maybe you need
to change WEB-INF/classes/environment.properties, set paths.script=the-directory-of-WEB-INF/classes/

> -----Original Message-----
> From: John Burwell [mailto:jburwell@basho.com]
> Sent: Monday, November 12, 2012 2:39 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: WAR Deployment and Xen Plugins
> 
> All,
> 
> When I deploy the cloud-client-ui-4.1.0-SNAPSHOT.war into Apache 6.0.33, it
> is unable to find the Xen plugins -- failing to add hosts.  The following is the
> stack trace I am getting:
> 
> 2012-11-12 21:46:03,623 WARN  [xen.resource.XenServerConnectionPool]
> (http-8080-5:null) Echo test failed on host 52612d0c-92b6-580c-7
> 249-b6975e86a411 IP 192.168.123.101
> The requested plugin could not be found.
>         at com.xensource.xenapi.Types.checkResponse(Types.java:1448)
>         at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>         at
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerCo
> nnection.dispatch(XenServerConnectionPool.java:909)
>         at com.xensource.xenapi.Host.callPlugin(Host.java:2448)
>         at
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(Xen
> ServerConnectionPool.java:643)
>         at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getConnection(Citrix
> ResourceBase.java:5342)
>         at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResour
> ceBase.java:4460)
>         at
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(Resource
> ManagerImpl.java:1615)
>         at
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceMan
> agerImpl.java:737)
>         at
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManager
> Impl.java:551)
>         at
> com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:167)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:539)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:311)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
> lterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
> n.java:206)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:233)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> ve.java:191)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> 02)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:109)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 91)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
> 9)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
> s(Http11Protocol.java:602)
>         at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>         at java.lang.Thread.run(Thread.java:679)
> 2012-11-12 21:46:03,629 WARN  [cloud.resource.ResourceManagerImpl]
> (http-8080-5:null) Unable to connect due to
> com.cloud.utils.exception.CloudRuntimeException: Echo test failed on host
> 52612d0c-92b6-580c-7249-b6975e86a411 IP 192.168.123.101
>         at
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(Xen
> ServerConnectionPool.java:671)
>         at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getConnection(Citrix
> ResourceBase.java:5342)
>         at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResour
> ceBase.java:4460)
>         at
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(Resource
> ManagerImpl.java:1615)
>         at
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceMan
> agerImpl.java:737)
>         at
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManager
> Impl.java:551)
>         at
> com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:167)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:539)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:311)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
> lterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
> n.java:206)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:233)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> ve.java:191)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> 02)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:109)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 91)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
> 9)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
> s(Http11Protocol.java:602)
>         at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: The requested plugin could not be found.
>         at com.xensource.xenapi.Types.checkResponse(Types.java:1448)
>         at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>         at
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerCo
> nnection.dispatch(XenServerConnectionPool.java:909)
>         at com.xensource.xenapi.Host.callPlugin(Host.java:2448)
>         at
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(Xen
> ServerConnectionPool.java:643)
>         ... 25 more
> 2012-11-12 21:46:03,630 INFO  [cloud.resource.ResourceManagerImpl] (http-
> 8080-5:null) server resources successfully discovered by XCP Agent
> 2012-11-12 21:46:03,630 WARN  [cloud.api.ApiDispatcher] (http-8080-5:null)
> class com.cloud.api.ServerApiException : Failed to add host
> 


Mime
View raw message