incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Burwell <jburw...@basho.com>
Subject Cannot Find Template Adapter Error
Date Tue, 23 Oct 2012 20:37:34 GMT
All,

I am running a build off the latest master (fetched around 3:30pm EDT) on a devcloud VM. 
When I attempt to upload a template or ISO, I receive an error stating that a template adapter
can not be found and the following stack trace occurs in the log:

com.cloud.utils.exception.CloudRuntimeException: Cannot find template adapter for XenServer
        at com.cloud.template.TemplateManagerImpl.getAdapter(TemplateManagerImpl.java:263)
        at com.cloud.template.TemplateManagerImpl.registerTemplate(TemplateManagerImpl.java:296)
        at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
        at com.cloud.api.commands.RegisterTemplateCmd.execute(RegisterTemplateCmd.java:226)
        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:304)
        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(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:554)
        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:732)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)

I attached a remote debugger, and the TemplateManagerImpl::_adapters is non-null and empty
when this error occurs.

Thank you for your assistance,
-John

-----
John Burwell
Consulting Engineer
Basho Technologies
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message