ACS: 4.4.0 on Ubuntu 12.04.5
Hosts: XenServer 6.2
I am seeing the following error when trying to create a template from a
stopped instance (no problems stopping/starting it). How do I figure out
what is using the VDI and not allowing the template?
2015-06-10 06:29:12,653 DEBUG [o.a.c.h.x.XenServerResourceNewBase]
(DirectAgent-210:ctx-b2317482) Task:
ref:OpaqueRef:4d80dd35-8958-75b6-8075-a721a4d9ed38,
UUID:e8287b80-2fad-21bb-873f-994692660f
fd progress: 0.15
2015-06-10 06:29:12,663 WARN [o.a.c.h.x.XenServerResourceNewBase]
(DirectAgent-210:ctx-b2317482) No event for task
OpaqueRef:4d80dd35-8958-75b6-8075-a721a4d9ed38
2015-06-10 06:29:12,694 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-460:ctx-cbb40517) Vm cpu utilization 0.2039705882352941
2015-06-10 06:29:12,694 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-460:ctx-cbb40517) Vm cpu utilization 0.1217647058823529
2015-06-10 06:29:12,694 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-460:ctx-cbb40517) Vm cpu utilization 0.5583088235294118
2015-06-10 06:29:12,730 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-210:ctx-b2317482) Host 10.120.60.14
OpaqueRef:c53c50a0-df68-61c4-7588-fa155dbf7fdf: Removing SR
2015-06-10 06:29:12,740 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-210:ctx-b2317482) Host 10.120.60.14
OpaqueRef:c53c50a0-df68-61c4-7588-fa155dbf7fdf: Catch XenAPIException: This
operation
cannot be performed because this VDI is in use by some other operation
2015-06-10 06:29:12,750 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-210:ctx-b2317482) Host 10.120.60.14
OpaqueRef:c53c50a0-df68-61c4-7588-fa155dbf7fdf: Catch XenAPIException: This
operation
cannot be performed because this VDI is in use by some other operation
2015-06-10 06:29:12,750 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-210:ctx-b2317482) Host 10.120.60.14
OpaqueRef:c53c50a0-df68-61c4-7588-fa155dbf7fdf: Unable to remove SR
2015-06-10 06:29:12,800 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-460:ctx-cbb40517) Seq 4-611645124392274755: Response Received:
2015-06-10 06:29:12,800 DEBUG [c.c.a.t.Request]
(StatsCollector-2:ctx-e5ed46af) Seq 4-611645124392274755: Received: { Ans:
, MgmtId: 159090355471823, via: 4, Ver: v1, Flags: 10, { GetVmStatsAnsw
er } }
2015-06-10 06:29:12,838 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-140:ctx-9021c3b3) Seq 5-5799510420146382967: Executing request
2015-06-10 06:29:12,898 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-308:ctx-6d6e0d53) Seq 6-7127227885290520578: Executing request
2015-06-10 06:29:13,059 DEBUG [c.c.a.ApiServlet]
(catalina-exec-4:ctx-06e7f44b) ===START=== 172.30.36.108 -- GET
command=queryAsyncJobResult&jobId=3ed63d71-bfd1-45b7-a09a-301990772208&response=
json&sessionkey=yOqyUHVLV64YAywOKxDzR8JCSaU%3D&_=1433897964855
2015-06-10 06:29:13,079 DEBUG [c.c.a.ApiServlet]
(catalina-exec-4:ctx-06e7f44b ctx-e53477e4) ===END=== 172.30.36.108 --
GET command=queryAsyncJobResult&jobId=3ed63d71-bfd1-45b7-a09a-30199077220
8&response=json&sessionkey=yOqyUHVLV64YAywOKxDzR8JCSaU%3D&_=1433897964855
2015-06-10 06:29:13,415 ERROR [c.c.h.x.r.XenServerStorageProcessor]
(DirectAgent-210:ctx-b2317482) Creating template from volume
624c9601-9034-40ca-a0c2-1705078e5c00 failed due to java.util.concu
rrent.TimeoutException: No event for task
OpaqueRef:4d80dd35-8958-75b6-8075-a721a4d9ed38
java.util.concurrent.TimeoutException: No event for task
OpaqueRef:4d80dd35-8958-75b6-8075-a721a4d9ed38
at
org.apache.cloudstack.hypervisor.xenserver.XenServerResourceNewBase.waitForTask(XenServerResourceNewBase.java:124)
at
com.cloud.hypervisor.xen.resource.Xenserver625StorageProcessor.createTemplateFromVolume(Xenserver625StorageProcessor.java:556)
at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:90)
at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:52)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:546)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:61)
at
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
at
com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:65)
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(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
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)
2015-06-10 06:29:13,420 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-210:
ctx-b2317482) Seq 3-4941293216155592791: Response Received:
2015-06-10 06:29:13,421 DEBUG [c.c.a.t.Request] (DirectAgent-210:
ctx-b2317482) Seq 3-4941293216155592791: Processing: { Ans: , MgmtId:
159090355471823, via: 3, Ver: v1, Flags: 10,
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Creating
template from volume 624c9601-9034-40ca-a0c2-1705078e5c00 failed due to
java.util.concurrent.TimeoutException: No event for task
OpaqueRef:4d80dd35-8958-75b6-8075-a721a4d9ed38","wait":0}}] }
Thank you,
Carlos
|