Rayees Namathponnan created CLOUDSTACK-6544:
-----------------------------------------------
Summary: [Automation] Failed to create template for ROOT volume in
Xen, with Exception: callHostPlugin failed
Key: CLOUDSTACK-6544
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6544
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Template, XenServer
Affects Versions: 4.4.0
Environment: Build : 4.4-forward
env xen 6.2
Reporter: Rayees Namathponnan
Priority: Blocker
Fix For: 4.4.0
Steps to reproduce
Step 1 : Create advance zone in Xen
Step 2 : Deploy a VM
Step 3 : stop the vm and create template for ROOT volume
Result
Failed to create template for root volume, its failed with below error
2014-05-01 03:52:32,706 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-23ef4b60
ctx-89d28d07) ===END=== 10.214.5.49 -- GET command
=queryAsyncJobResult&jobId=e846719b-4902-46eb-b1ea-78c2c25d7c28&response=json&sessionkey=TZlQVYacZ8o7NBLks3fWljCNZLY%3D&_=1398877226
273
2014-05-01 03:52:32,764 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-40:ctx-18182a40) callHostPlugin failed for cmd: create_sec
ondary_storage_folder with args remoteMountPath:
10.147.28.8:/vol/dgVol/automation/adv/secondary, newFolder:
template/tmpl/26/208, due to The requested plugin could not be found.
2014-05-01 03:52:32,776 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-40:ctx-18182a40) callHostPlugin failed for cmd: delete_sec
ondary_storage_folder with args folder: template/tmpl/26/208, remoteMountPath:
10.147.28.8:/vol/dgVol/automation/adv/secondary, due to The requested
plugin could not be found.
2014-05-01 03:52:32,776 WARN [c.c.a.m.DirectAgentAttache]
(DirectAgent-40:ctx-18182a40) Seq 2-5867345889533626157: Exception Caught
while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd:
delete_secondary_storage_folder with args folder: te
mplate/tmpl/26/208, remoteMountPath:
10.147.28.8:/vol/dgVol/automation/adv/secondary, due to The requested plugin
could not be foun d.
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3835)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.deleteSecondaryStorageFolder(CitrixResourceBase.java:6949)
at
com.cloud.hypervisor.xen.resource.Xenserver625StorageProcessor.createTemplateFromVolume(Xenserver625StorageProcessor.java
:591)
at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:90)
at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.ja
va:52)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:542)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:60)
at
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:93)
at
com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:64)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
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
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
Source)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2014-05-01 03:52:32,779 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-260:ctx-fa38312f) Seq 1-9035628227388770115: Response Receiv
ed:
2014-05-01 03:52:32,780 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-6ae84e34)
Seq 1-9035628227388770115: Received: { Ans: , MgmtI d: 6631563722783,
via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2014-05-01 03:52:32,784 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-40:ctx-18182a40) Seq 2-5867345889533626157: Response Receive
d:
2014-05-01 03:52:32,785 DEBUG [c.c.a.t.Request] (DirectAgent-40:ctx-18182a40)
Seq 2-5867345889533626157: Processing: { Ans: , MgmtI d:
6631563722783, via: 2, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.Answer":{"result":false,"details":"com.cloud.utils.exception.Cl
oudRuntimeException: callHostPlugin failed for cmd:
delete_secondary_storage_folder with args folder: template/tmpl/26/208,
remoteMo untPath: 10.147.28.8:/vol/dgVol/automation/adv/secondary, due
to The requested plugin could not be found.","wait":0}}] }
2014-05-01 03:52:32,785 DEBUG [c.c.a.t.Request] (API-Job-Executor-16:job-466
ctx-8b642cfe) Seq 2-5867345889533626157: Received: { A ns: , MgmtId:
6631563722783, via: 2, Ver: v1, Flags: 10, { Answer } }
2014-05-01 03:52:32,797 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-413:ctx-b79c3829) Seq 2-5867345889533626158: Executing reque
st
2014-05-01 03:52:32,798 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-411:ctx-e2fad108) Vm cpu utilization 0.08833333333333333
2014-05-01 03:52:32,802 DEBUG [c.c.t.TemplateManagerImpl]
(API-Job-Executor-16:job-466 ctx-8b642cfe) Failed to create templatecom.cl
oud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd:
delete_secondary_storage_folder with args folder: template
/tmpl/26/208, remoteMountPath: 10.147.28.8:/vol/dgVol/automation/adv/secondary,
due to The requested plugin could not be found.
2014-05-01 03:52:32,874 ERROR [c.c.a.ApiAsyncJobDispatcher]
(API-Job-Executor-16:job-466) Unexpected exception while executing org.a
pache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin
com.cloud.utils.exception.CloudRuntimeException: Failed to create
templatecom.cloud.utils.exception.CloudRuntimeException: callHostP
lugin failed for cmd: delete_secondary_storage_folder with args folder:
template/tmpl/26/208, remoteMountPath: 10.147.28.8:/vol/dgVo
l/automation/adv/secondary, due to The requested plugin could not be found.
at
com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1391)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
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.$Proxy171.createPrivateTemplate(Unknown Source)
at
org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin.execute(CreateTemplateCmdByAdmin.java:42)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119)
at
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:495)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
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
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:452)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2014-05-01 03:52:32,876 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-16:job-466) Complete async job-466, jobStatus: FAI
LED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"
Failed to create
templatecom.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
for cmd: delete_secondary_storage_fo lder with args folder:
template/tmpl/26/208, remoteMountPath:
10.147.28.8:/vol/dgVol/automation/adv/secondary, due to The requested
plugin could not be found."}
2014-05-01 03:52:32,917 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-16:job-466) Done executing org.apache.cloudstack.a
pi.command.admin.template.CreateTemplateCmdByAdmin for job-466
--
This message was sent by Atlassian JIRA
(v6.2#6252)