Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2015-04-17 13:01:25,707 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-155:ctx-62101d22) Seq 3-944373850: Executing request
- 2015-04-17 13:01:25,907 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-155:ctx-62101d22) Seq 3-944373850: Response Received:
- 2015-04-17 13:01:25,907 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-155:ctx-62101d22) Seq 3-944373850: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:25,931 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-381:ctx-6905ed29) Seq 4-327286882: Executing request
- 2015-04-17 13:01:26,238 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-381:ctx-6905ed29) Seq 4-327286882: Response Received:
- 2015-04-17 13:01:26,238 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-381:ctx-6905ed29) Seq 4-327286882: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:26,266 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-57:ctx-1e8f11f0) Seq 5-634060904: Executing request
- 2015-04-17 13:01:26,565 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-57:ctx-1e8f11f0) Seq 5-634060904: Response Received:
- 2015-04-17 13:01:26,565 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-57:ctx-1e8f11f0) Seq 5-634060904: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:27,370 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-93:ctx-505bb8a7) Ping from 2(cloud-host10.cgg.gov.in)
- 2015-04-17 13:01:27,572 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-239:ctx-61fdd0fe) Ping from 3(cloud-host1.cgg.gov.in)
- 2015-04-17 13:01:27,770 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-35:ctx-a4c5a3be) Ping from 4(cloud-host9.cgg.gov.in)
- 2015-04-17 13:01:28,835 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-215:ctx-41683ab7) Ping from 5(cloud-host2.cgg.gov.in)
- 2015-04-17 13:01:28,941 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-12:ctx-38baddda) Seq 3-599130116: Executing request
- 2015-04-17 13:01:29,146 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-12:ctx-38baddda) Seq 3-599130116: Response Received:
- 2015-04-17 13:01:29,146 DEBUG [c.c.a.t.Request] (DirectAgent-12:ctx-38baddda) Seq 3-599130116: Processing: { Ans: , MgmtId: 50788518005399, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] }
- 2015-04-17 13:01:29,248 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-225:ctx-a57ff438) Seq 2-856817668: Executing request
- 2015-04-17 13:01:29,369 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-225:ctx-a57ff438) Seq 2-856817668: Response Received:
- 2015-04-17 13:01:29,369 DEBUG [c.c.a.t.Request] (DirectAgent-225:ctx-a57ff438) Seq 2-856817668: Processing: { Ans: , MgmtId: 50788518005399, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 13:01:29,529 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-136:ctx-584d97a0) Seq 4-819986436: Executing request
- 2015-04-17 13:01:29,649 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-136:ctx-584d97a0) Seq 4-819986436: Response Received:
- 2015-04-17 13:01:29,649 DEBUG [c.c.a.t.Request] (DirectAgent-136:ctx-584d97a0) Seq 4-819986436: Processing: { Ans: , MgmtId: 50788518005399, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 13:01:30,893 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-89:ctx-0a022848) Seq 5-1311506436: Executing request
- 2015-04-17 13:01:31,015 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-89:ctx-0a022848) Seq 5-1311506436: Response Received:
- 2015-04-17 13:01:31,015 DEBUG [c.c.a.t.Request] (DirectAgent-89:ctx-0a022848) Seq 5-1311506436: Processing: { Ans: , MgmtId: 50788518005399, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 13:01:33,193 DEBUG [c.c.a.t.Request] (AgentManager-Handler-4:null) Seq 4-327286883: Executing: { Cmd , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:01:33,193 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-242:ctx-1e3312ef) Seq 4-327286883: Executing request
- 2015-04-17 13:01:35,124 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-f2022436) VmStatsCollector is running...
- 2015-04-17 13:01:35,350 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-242:ctx-1e3312ef) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-1f626126-eada-4464-9de8-0f16740e582a
- 2015-04-17 13:01:35,350 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-242:ctx-1e3312ef) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:01:35,350 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-242:ctx-1e3312ef) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:01:35,351 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-242:ctx-1e3312ef) Seq 4-327286883: Response Received:
- 2015-04-17 13:01:35,352 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-242:ctx-1e3312ef) Seq 4-327286883: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:35,397 DEBUG [c.c.a.t.Request] (AgentManager-Handler-5:null) Seq 4-327286884: Executing: { Cmd , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:01:35,398 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-234:ctx-e994b27e) Seq 4-327286884: Executing request
- 2015-04-17 13:01:35,507 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-234:ctx-e994b27e) VM does not exist on XenServer1d86cc04-ef64-48d9-b00c-734c21144945
- 2015-04-17 13:01:35,508 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-234:ctx-e994b27e) Seq 4-327286884: Response Received:
- 2015-04-17 13:01:35,508 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-234:ctx-e994b27e) Seq 4-327286884: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:36,174 DEBUG [c.c.a.t.Request] (AgentManager-Handler-6:null) Seq 2-34930784: Executing: { Cmd , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:01:36,174 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-235:ctx-93356ef7) Seq 2-34930784: Executing request
- 2015-04-17 13:01:38,346 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-235:ctx-93356ef7) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-7b7a20ad-d85c-4c5a-acfc-63bf12db0303
- 2015-04-17 13:01:38,346 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-235:ctx-93356ef7) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:01:38,346 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-235:ctx-93356ef7) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:01:38,347 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-235:ctx-93356ef7) Seq 2-34930784: Response Received:
- 2015-04-17 13:01:38,347 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-235:ctx-93356ef7) Seq 2-34930784: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:38,415 DEBUG [c.c.a.t.Request] (AgentManager-Handler-7:null) Seq 1-171769952: Executing: { Cmd , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:01:38,415 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-58:ctx-773ee86d) Seq 1-171769952: Executing request
- 2015-04-17 13:01:38,439 DEBUG [c.c.a.t.Request] (AgentManager-Handler-8:null) Seq 3-944373851: Executing: { Cmd , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-44-VM","wait":0}}] }
- 2015-04-17 13:01:38,440 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-237:ctx-52c43c37) Seq 3-944373851: Executing request
- 2015-04-17 13:01:38,524 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-237:ctx-52c43c37) VM does not exist on XenServer23e67e4d-e952-40f3-a646-3a4e782d2db1
- 2015-04-17 13:01:38,525 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-237:ctx-52c43c37) Seq 3-944373851: Response Received:
- 2015-04-17 13:01:38,525 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-237:ctx-52c43c37) Seq 3-944373851: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:38,529 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-58:ctx-773ee86d) VM does not exist on XenServer0083e31e-13d1-4e07-96a4-3594d789e1d8
- 2015-04-17 13:01:38,529 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-58:ctx-773ee86d) Seq 1-171769952: Response Received:
- 2015-04-17 13:01:38,529 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-58:ctx-773ee86d) Seq 1-171769952: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:39,132 DEBUG [c.c.a.t.Request] (AgentManager-Handler-9:null) Seq 3-944373852: Executing: { Cmd , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:01:39,132 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-354:ctx-347895c1) Seq 3-944373852: Executing request
- 2015-04-17 13:01:40,062 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-e2a60958) Zone 1 is ready to launch secondary storage VM
- 2015-04-17 13:01:40,073 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-e2a60958) No running secondary storage vms found in datacenter id=1, starting one
- 2015-04-17 13:01:40,097 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-e2a60958) Found a stopped secondary storage vm, bring it up to running pool. secStorageVm vm id : 44
- 2015-04-17 13:01:40,129 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) VM state transitted from :Stopped to Starting with event: StartRequestedvm's original host id: null new host id: null host id before state transition: null
- 2015-04-17 13:01:40,129 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Successfully transitioned to start state for VM[SecondaryStorageVm|s-44-VM] reservation id = 6d208657-bc2f-4158-81b8-77fa8c141b07
- 2015-04-17 13:01:40,137 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Trying to deploy VM, vm has dcId: 1 and podId: 1
- 2015-04-17 13:01:40,137 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Deploy avoids pods: null, clusters: null, hosts: null
- 2015-04-17 13:01:40,146 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Deploy avoids pods: null, clusters: null, hosts: null
- 2015-04-17 13:01:40,148 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@5ba591e2
- 2015-04-17 13:01:40,148 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 536870912
- 2015-04-17 13:01:40,148 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 13:01:40,148 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-e2a60958) Searching resources only under specified Pod: 1
- 2015-04-17 13:01:40,149 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-e2a60958) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2015-04-17 13:01:40,165 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 13:01:40,165 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 13:01:40,173 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-5-Routing], Host[-2-Routing], Host[-3-Routing], Host[-4-Routing], Host[-1-Routing]]
- 2015-04-17 13:01:40,187 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-5-Routing], Host[-2-Routing], Host[-3-Routing], Host[-4-Routing], Host[-1-Routing]]
- 2015-04-17 13:01:40,187 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
- 2015-04-17 13:01:40,201 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:01:40,201 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:01:40,205 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:01:40,206 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 13:01:40,206 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 13:01:40,206 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:01:40,206 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 5, used: 0, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,206 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,206 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2015-04-17 13:01:40,219 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:01:40,219 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:01:40,224 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:01:40,224 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2015-04-17 13:01:40,224 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free RAM: 129852858368 , Requested RAM: 536870912
- 2015-04-17 13:01:40,224 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:01:40,224 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 2, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,224 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 1073741824, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,224 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2015-04-17 13:01:40,246 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:01:40,246 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:01:40,251 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:01:40,251 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 13:01:40,251 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 13:01:40,251 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:01:40,251 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 3, used: 0, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,251 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,251 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2015-04-17 13:01:40,265 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:01:40,265 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:01:40,271 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:01:40,271 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 13:01:40,271 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 13:01:40,271 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:01:40,271 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 4, used: 0, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,271 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,271 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2015-04-17 13:01:40,286 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:01:40,286 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:01:40,291 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:01:40,291 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 13:01:40,291 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 13:01:40,291 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:01:40,291 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 1, used: 0, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,291 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:01:40,291 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2015-04-17 13:01:40,291 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-e2a60958 FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2015-04-17 13:01:40,294 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Checking suitable pools for volume (Id, Type): (44,ROOT)
- 2015-04-17 13:01:40,294 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) We need to allocate new storagepool for this volume
- 2015-04-17 13:01:40,294 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 13:01:40,296 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (secstorage-1:ctx-e2a60958) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 13:01:40,297 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-e2a60958) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 13:01:40,297 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-e2a60958) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 13:01:40,299 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-e2a60958) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 13:01:40,302 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-e2a60958) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 13:01:40,304 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (secstorage-1:ctx-e2a60958) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 13:01:40,312 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-e2a60958) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 13:01:40,320 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-e2a60958) Checking pool: 1 for volume allocation [Vol[44|vm=44|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 13:01:40,321 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-e2a60958) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 13:01:40,321 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 13:01:40,321 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Checking if host: 5 can access any suitable storage pool for volume: ROOT
- 2015-04-17 13:01:40,322 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Host: 5 can access pool: 1
- 2015-04-17 13:01:40,323 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Found a potential host id: 5 name: cloud-host2.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 13:01:40,324 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-e2a60958) Returning Deployment Destination: Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(5)-Storage(Volume(44|ROOT-->Pool(1))]
- 2015-04-17 13:01:40,324 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Deployment found - P0=VM[SecondaryStorageVm|s-44-VM], P0=Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(5)-Storage(Volume(44|ROOT-->Pool(1))]
- 2015-04-17 13:01:40,343 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 5 host id before state transition: null
- 2015-04-17 13:01:40,358 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:01:40,358 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) We are allocating VM, increasing the used capacity of this host:5
- 2015-04-17 13:01:40,358 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2015-04-17 13:01:40,358 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 536870912
- 2015-04-17 13:01:40,358 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) CPU STATS after allocation: for host: 5, old used: 0, old reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used:500, reserved:0; requested cpu:500,alloc_from_last:false
- 2015-04-17 13:01:40,358 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) RAM STATS after allocation: for host: 5, old used: 0, old reserved: 0, total: 130926600192; new used: 536870912, reserved: 0; requested mem: 536870912,alloc_from_last:false
- 2015-04-17 13:01:40,365 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) VM is being created in podId: 1
- 2015-04-17 13:01:40,374 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Network id=200 is already implemented
- 2015-04-17 13:01:40,418 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Network id=202 is already implemented
- 2015-04-17 13:01:40,474 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Network id=201 is already implemented
- 2015-04-17 13:01:40,518 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-e2a60958) Allocated a nic NicProfile[174-44-6d208657-bc2f-4158-81b8-77fa8c141b07-10.3.4.174-null for VM[SecondaryStorageVm|s-44-VM]
- 2015-04-17 13:01:40,533 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Network id=203 is already implemented
- 2015-04-17 13:01:40,581 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-e2a60958) Allocated a nic NicProfile[175-44-6d208657-bc2f-4158-81b8-77fa8c141b07-10.3.4.169-null for VM[SecondaryStorageVm|s-44-VM]
- 2015-04-17 13:01:40,593 DEBUG [o.a.c.e.o.VolumeOrchestrator] (secstorage-1:ctx-e2a60958) Checking if we need to prepare 1 volumes for VM[SecondaryStorageVm|s-44-VM]
- 2015-04-17 13:01:40,618 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-e2a60958) template 1 is already in store:1, type:Image
- 2015-04-17 13:01:40,631 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-e2a60958) template 1 is already in store:1, type:Primary
- 2015-04-17 13:01:40,634 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-e2a60958) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 258
- 2015-04-17 13:01:40,645 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-e2a60958) Acquire lock on VMTemplateStoragePool 258 with timeout 3600 seconds
- 2015-04-17 13:01:41,331 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-354:ctx-347895c1) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-0170372b-9f29-43e1-892c-3ad40efc1073
- 2015-04-17 13:01:41,332 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-354:ctx-347895c1) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:01:41,332 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-354:ctx-347895c1) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:01:41,333 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-354:ctx-347895c1) Seq 3-944373852: Response Received:
- 2015-04-17 13:01:41,333 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-354:ctx-347895c1) Seq 3-944373852: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:41,379 DEBUG [c.c.a.t.Request] (AgentManager-Handler-10:null) Seq 2-34930785: Executing: { Cmd , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:01:41,380 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-97:ctx-2992215f) Seq 2-34930785: Executing request
- 2015-04-17 13:01:41,492 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-97:ctx-2992215f) VM does not exist on XenServer34da61e1-04e7-40e2-b8f4-40c0157dca28
- 2015-04-17 13:01:41,492 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-97:ctx-2992215f) Seq 2-34930785: Response Received:
- 2015-04-17 13:01:41,492 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-97:ctx-2992215f) Seq 2-34930785: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:42,098 DEBUG [c.c.a.t.Request] (AgentManager-Handler-11:null) Seq 2-34930786: Executing: { Cmd , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:01:42,098 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-226:ctx-62a7e2d0) Seq 2-34930786: Executing request
- 2015-04-17 13:01:42,565 DEBUG [c.c.u.d.DbUtil] (consoleproxy-1:ctx-562b675f) GET_LOCK() timed out on lock : consoleproxy.scan.lock
- 2015-04-17 13:01:44,262 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-226:ctx-62a7e2d0) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-c4eaee97-f2cb-4a42-bb50-f6f76d10b419
- 2015-04-17 13:01:44,262 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-226:ctx-62a7e2d0) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:01:44,262 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-226:ctx-62a7e2d0) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:01:44,263 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-226:ctx-62a7e2d0) Seq 2-34930786: Response Received:
- 2015-04-17 13:01:44,264 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-226:ctx-62a7e2d0) Seq 2-34930786: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:44,313 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null) Seq 5-634060905: Executing: { Cmd , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:01:44,313 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-218:ctx-3ab547b9) Seq 5-634060905: Executing request
- 2015-04-17 13:01:44,431 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-218:ctx-3ab547b9) VM does not exist on XenServer6b4ea60d-1501-446c-9507-86b9bd3dc8d6
- 2015-04-17 13:01:44,431 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-218:ctx-3ab547b9) Seq 5-634060905: Response Received:
- 2015-04-17 13:01:44,431 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-218:ctx-3ab547b9) Seq 5-634060905: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:45,011 DEBUG [c.c.a.t.Request] (AgentManager-Handler-13:null) Seq 3-944373853: Executing: { Cmd , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:01:45,012 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-245:ctx-9079bf19) Seq 3-944373853: Executing request
- 2015-04-17 13:01:45,652 INFO [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-e2a60958) Unable to acquire lock on VMTemplateStoragePool 258
- 2015-04-17 13:01:45,655 ERROR [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Failed to start instance VM[SecondaryStorageVm|s-44-VM]
- com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock on VMTemplateStoragePool: 258
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:460)
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:604)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1192)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:261)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:694)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1278)
- at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123)
- at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
- at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
- at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
- at com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
- 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.runAndReset(FutureTask.java:304)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- 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-04-17 13:01:45,664 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Cleaning up resources for the vm VM[SecondaryStorageVm|s-44-VM] in Starting state
- 2015-04-17 13:01:45,669 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-e2a60958) Seq 5-1311506519: Sending { Cmd , MgmtId: 50788518005399, via: 5(cloud-host2.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-44-VM","wait":0}}] }
- 2015-04-17 13:01:45,669 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-e2a60958) Seq 5-1311506519: Executing: { Cmd , MgmtId: 50788518005399, via: 5(cloud-host2.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-44-VM","wait":0}}] }
- 2015-04-17 13:01:45,669 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-246:ctx-7aeda456) Seq 5-1311506519: Executing request
- 2015-04-17 13:01:45,775 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-246:ctx-7aeda456) VM does not exist on XenServer6b4ea60d-1501-446c-9507-86b9bd3dc8d6
- 2015-04-17 13:01:45,775 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-246:ctx-7aeda456) Seq 5-1311506519: Response Received:
- 2015-04-17 13:01:45,775 DEBUG [c.c.a.t.Request] (DirectAgent-246:ctx-7aeda456) Seq 5-1311506519: Processing: { Ans: , MgmtId: 50788518005399, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 13:01:45,775 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-e2a60958) Seq 5-1311506519: Received: { Ans: , MgmtId: 50788518005399, via: 5, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 13:01:45,797 DEBUG [c.c.n.g.ControlNetworkGuru] (secstorage-1:ctx-e2a60958) Released nic: NicProfile[173-44-null-null-null
- 2015-04-17 13:01:45,817 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-e2a60958) Releasing ip address for reservationId=6d208657-bc2f-4158-81b8-77fa8c141b07, instance=174
- 2015-04-17 13:01:45,818 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-e2a60958) Released nic: NicProfile[174-44-null-null-null
- 2015-04-17 13:01:45,839 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-e2a60958) Releasing ip address for reservationId=6d208657-bc2f-4158-81b8-77fa8c141b07, instance=175
- 2015-04-17 13:01:45,840 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-e2a60958) Released nic: NicProfile[175-44-null-null-null
- 2015-04-17 13:01:45,850 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Successfully released network resources for the vm VM[SecondaryStorageVm|s-44-VM]
- 2015-04-17 13:01:45,850 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Successfully cleanued up resources for the vm VM[SecondaryStorageVm|s-44-VM] in Starting state
- 2015-04-17 13:01:45,868 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 5
- 2015-04-17 13:01:45,881 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:01:45,881 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 13:01:45,881 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) release cpu from host: 5, old used: 500,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 13:01:45,881 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) release mem from host: 5, old used: 536870912,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 13:01:45,888 WARN [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-e2a60958) Exception while trying to start secondary storage vm
- com.cloud.exception.AgentUnavailableException: Resource [Host:5] is unreachable: Host 5: Unable to start instance due to Unable to acquire lock on VMTemplateStoragePool: 258
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1073)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:261)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:694)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1278)
- at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123)
- at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
- at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
- at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
- at com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
- 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.runAndReset(FutureTask.java:304)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- 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)
- Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock on VMTemplateStoragePool: 258
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:460)
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:604)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1192)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
- ... 23 more
- 2015-04-17 13:01:45,891 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-e2a60958) Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 44, will recycle it and start a new one
- 2015-04-17 13:01:45,918 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) VM is already stopped: VM[SecondaryStorageVm|s-44-VM]
- 2015-04-17 13:01:45,934 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-e2a60958) VM state transitted from :Stopped to Expunging with event: ExpungeOperationvm's original host id: null new host id: null host id before state transition: null
- 2015-04-17 13:01:45,935 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Destroying vm VM[SecondaryStorageVm|s-44-VM]
- 2015-04-17 13:01:45,935 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Cleaning up NICS
- 2015-04-17 13:01:45,935 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Cleaning network for vm: 44
- 2015-04-17 13:01:45,958 DEBUG [c.c.n.g.PublicNetworkGuru] (secstorage-1:ctx-e2a60958) public network deallocate network: networkId: 200, ip: 10.3.1.6
- 2015-04-17 13:01:45,970 DEBUG [c.c.n.g.PublicNetworkGuru] (secstorage-1:ctx-e2a60958) Deallocated nic: NicProfile[172-44-null-null-null
- 2015-04-17 13:01:45,978 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Removed nic id=172
- 2015-04-17 13:01:45,981 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Revoving nic secondary ip entry ...
- 2015-04-17 13:01:45,997 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Removed nic id=173
- 2015-04-17 13:01:46,000 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Revoving nic secondary ip entry ...
- 2015-04-17 13:01:46,028 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Removed nic id=174
- 2015-04-17 13:01:46,030 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Revoving nic secondary ip entry ...
- 2015-04-17 13:01:46,095 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Removed nic id=175
- 2015-04-17 13:01:46,097 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-e2a60958) Revoving nic secondary ip entry ...
- 2015-04-17 13:01:46,098 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Cleaning up hypervisor data structures (ex. SRs in XenServer) for managed storage
- 2015-04-17 13:01:46,101 DEBUG [o.a.c.e.o.VolumeOrchestrator] (secstorage-1:ctx-e2a60958) Cleaning storage for vm: 44
- 2015-04-17 13:01:46,133 INFO [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-e2a60958) Expunge volume with no data store specified
- 2015-04-17 13:01:46,138 INFO [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-e2a60958) Volume 44 is not referred anywhere, remove it from volumes table
- 2015-04-17 13:01:46,164 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-e2a60958) Expunged VM[SecondaryStorageVm|s-44-VM]
- 2015-04-17 13:01:46,176 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-e2a60958) Primary secondary storage is not even started, wait until next turn
- 2015-04-17 13:01:47,147 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-245:ctx-9079bf19) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-4b376c14-1866-43f3-9fa4-76ce5671695c
- 2015-04-17 13:01:47,148 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-245:ctx-9079bf19) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:01:47,148 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-245:ctx-9079bf19) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:01:47,149 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-245:ctx-9079bf19) Seq 3-944373853: Response Received:
- 2015-04-17 13:01:47,149 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-245:ctx-9079bf19) Seq 3-944373853: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:47,201 DEBUG [c.c.a.t.Request] (AgentManager-Handler-14:null) Seq 3-944373854: Executing: { Cmd , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:01:47,202 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-150:ctx-09be65da) Seq 3-944373854: Executing request
- 2015-04-17 13:01:47,273 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-150:ctx-09be65da) VM does not exist on XenServer23e67e4d-e952-40f3-a646-3a4e782d2db1
- 2015-04-17 13:01:47,273 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-150:ctx-09be65da) Seq 3-944373854: Response Received:
- 2015-04-17 13:01:47,273 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-150:ctx-09be65da) Seq 3-944373854: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:01:49,533 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-4ed0b943) Found 0 routers to update status.
- 2015-04-17 13:01:49,536 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-4ed0b943) Found 0 networks to update RvR status.
- 2015-04-17 13:01:50,839 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-64185389) StorageCollector is running...
- 2015-04-17 13:01:50,848 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-64185389) There is no secondary storage VM for secondary storage host secStorage
- 2015-04-17 13:01:50,854 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-386:ctx-74bc4b7d) Seq 1-847970389: Executing request
- 2015-04-17 13:01:51,470 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-386:ctx-74bc4b7d) Seq 1-847970389: Response Received:
- 2015-04-17 13:01:51,470 DEBUG [c.c.a.t.Request] (StatsCollector-3:ctx-64185389) Seq 1-847970389: Received: { Ans: , MgmtId: 50788518005399, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
- 2015-04-17 13:02:03,150 DEBUG [c.c.a.t.Request] (AgentManager-Handler-15:null) Seq 2-34930787: Executing: { Cmd , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:02:03,151 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-92:ctx-5163c66a) Seq 2-34930787: Executing request
- 2015-04-17 13:02:05,326 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-92:ctx-5163c66a) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-dee945ab-784a-473e-a23d-344d0eff67db
- 2015-04-17 13:02:05,326 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-92:ctx-5163c66a) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:02:05,326 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-92:ctx-5163c66a) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:02:05,327 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-92:ctx-5163c66a) Seq 2-34930787: Response Received:
- 2015-04-17 13:02:05,328 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-92:ctx-5163c66a) Seq 2-34930787: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:05,374 DEBUG [c.c.a.t.Request] (AgentManager-Handler-1:null) Seq 5-634060906: Executing: { Cmd , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:02:05,375 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-147:ctx-63ddacad) Seq 5-634060906: Executing request
- 2015-04-17 13:02:05,481 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-147:ctx-63ddacad) VM does not exist on XenServer6b4ea60d-1501-446c-9507-86b9bd3dc8d6
- 2015-04-17 13:02:05,481 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-147:ctx-63ddacad) Seq 5-634060906: Response Received:
- 2015-04-17 13:02:05,481 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-147:ctx-63ddacad) Seq 5-634060906: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:06,077 DEBUG [c.c.a.t.Request] (AgentManager-Handler-2:null) Seq 1-171769953: Executing: { Cmd , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:02:06,077 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-151:ctx-73a7a8b2) Seq 1-171769953: Executing request
- 2015-04-17 13:02:08,246 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-151:ctx-73a7a8b2) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-8ed9690b-4fc4-4ed0-bfad-2ce84aaf0113
- 2015-04-17 13:02:08,246 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-151:ctx-73a7a8b2) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:02:08,246 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-151:ctx-73a7a8b2) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:02:08,247 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-151:ctx-73a7a8b2) Seq 1-171769953: Response Received:
- 2015-04-17 13:02:08,247 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-151:ctx-73a7a8b2) Seq 1-171769953: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:08,292 DEBUG [c.c.a.t.Request] (AgentManager-Handler-3:null) Seq 2-34930788: Executing: { Cmd , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:02:08,293 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-100:ctx-47a9ea5d) Seq 2-34930788: Executing request
- 2015-04-17 13:02:08,343 DEBUG [c.c.a.t.Request] (AgentManager-Handler-4:null) Seq 1-171769954: Executing: { Cmd , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-45-VM","wait":0}}] }
- 2015-04-17 13:02:08,343 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-163:ctx-10241df7) Seq 1-171769954: Executing request
- 2015-04-17 13:02:08,404 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-100:ctx-47a9ea5d) VM does not exist on XenServer34da61e1-04e7-40e2-b8f4-40c0157dca28
- 2015-04-17 13:02:08,404 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-100:ctx-47a9ea5d) Seq 2-34930788: Response Received:
- 2015-04-17 13:02:08,405 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-100:ctx-47a9ea5d) Seq 2-34930788: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:08,473 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-163:ctx-10241df7) VM does not exist on XenServer0083e31e-13d1-4e07-96a4-3594d789e1d8
- 2015-04-17 13:02:08,473 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-163:ctx-10241df7) Seq 1-171769954: Response Received:
- 2015-04-17 13:02:08,473 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-163:ctx-10241df7) Seq 1-171769954: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:08,657 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-9:ctx-cf3b8bba) Seq 4-327286885: Executing request
- 2015-04-17 13:02:08,980 DEBUG [c.c.a.t.Request] (AgentManager-Handler-6:null) Seq 2-34930789: Executing: { Cmd , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:02:08,980 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-106:ctx-7ad7ae69) Seq 2-34930789: Executing request
- 2015-04-17 13:02:09,252 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-9:ctx-cf3b8bba) Seq 4-327286885: Response Received:
- 2015-04-17 13:02:09,252 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-9:ctx-cf3b8bba) Seq 4-327286885: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:09,464 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-385:ctx-395c9f12) Ping from 1(cloud-host3.cgg.gov.in)
- 2015-04-17 13:02:10,070 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-1b0c075f) Zone 1 is ready to launch secondary storage VM
- 2015-04-17 13:02:10,081 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-1b0c075f) No running secondary storage vms found in datacenter id=1, starting one
- 2015-04-17 13:02:10,110 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-1b0c075f) Found a stopped secondary storage vm, bring it up to running pool. secStorageVm vm id : 45
- 2015-04-17 13:02:10,139 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) VM state transitted from :Stopped to Starting with event: StartRequestedvm's original host id: null new host id: null host id before state transition: null
- 2015-04-17 13:02:10,139 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Successfully transitioned to start state for VM[SecondaryStorageVm|s-45-VM] reservation id = 7696e2db-252b-4226-bf70-d9dffd01f134
- 2015-04-17 13:02:10,146 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Trying to deploy VM, vm has dcId: 1 and podId: 1
- 2015-04-17 13:02:10,146 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Deploy avoids pods: null, clusters: null, hosts: null
- 2015-04-17 13:02:10,154 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Deploy avoids pods: null, clusters: null, hosts: null
- 2015-04-17 13:02:10,156 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@5ba591e2
- 2015-04-17 13:02:10,156 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 536870912
- 2015-04-17 13:02:10,156 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 13:02:10,156 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-1b0c075f) Searching resources only under specified Pod: 1
- 2015-04-17 13:02:10,156 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-1b0c075f) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2015-04-17 13:02:10,173 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 13:02:10,173 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 13:02:10,180 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-4-Routing], Host[-5-Routing], Host[-3-Routing], Host[-2-Routing], Host[-1-Routing]]
- 2015-04-17 13:02:10,195 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-4-Routing], Host[-5-Routing], Host[-3-Routing], Host[-2-Routing], Host[-1-Routing]]
- 2015-04-17 13:02:10,195 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
- 2015-04-17 13:02:10,209 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:02:10,210 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:02:10,214 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:02:10,214 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 13:02:10,214 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 13:02:10,214 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:02:10,215 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 4, used: 0, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,215 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,215 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2015-04-17 13:02:10,228 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:02:10,228 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:02:10,233 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:02:10,233 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 13:02:10,233 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 13:02:10,233 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:02:10,233 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 5, used: 0, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,233 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,233 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2015-04-17 13:02:10,247 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:02:10,247 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:02:10,252 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:02:10,252 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 13:02:10,252 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 13:02:10,252 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:02:10,252 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 3, used: 0, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,252 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,252 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2015-04-17 13:02:10,267 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:02:10,267 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:02:10,272 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:02:10,272 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 13:02:10,272 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 13:02:10,272 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:02:10,272 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 2, used: 0, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,272 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,272 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2015-04-17 13:02:10,288 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 13:02:10,288 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 13:02:10,293 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:02:10,293 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2015-04-17 13:02:10,293 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Free RAM: 129852858368 , Requested RAM: 536870912
- 2015-04-17 13:02:10,293 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 13:02:10,293 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 1, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,293 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 1073741824, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 13:02:10,293 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2015-04-17 13:02:10,293 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-1b0c075f FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2015-04-17 13:02:10,296 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Checking suitable pools for volume (Id, Type): (45,ROOT)
- 2015-04-17 13:02:10,296 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) We need to allocate new storagepool for this volume
- 2015-04-17 13:02:10,296 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 13:02:10,298 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (secstorage-1:ctx-1b0c075f) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 13:02:10,298 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-1b0c075f) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 13:02:10,298 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-1b0c075f) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 13:02:10,301 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-1b0c075f) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 13:02:10,303 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-1b0c075f) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 13:02:10,306 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (secstorage-1:ctx-1b0c075f) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 13:02:10,314 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-1b0c075f) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 13:02:10,322 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-1b0c075f) Checking pool: 1 for volume allocation [Vol[45|vm=45|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 13:02:10,322 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-1b0c075f) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 13:02:10,322 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 13:02:10,322 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Checking if host: 4 can access any suitable storage pool for volume: ROOT
- 2015-04-17 13:02:10,323 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Host: 4 can access pool: 1
- 2015-04-17 13:02:10,324 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Found a potential host id: 4 name: cloud-host9.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 13:02:10,326 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-1b0c075f) Returning Deployment Destination: Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(4)-Storage(Volume(45|ROOT-->Pool(1))]
- 2015-04-17 13:02:10,327 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Deployment found - P0=VM[SecondaryStorageVm|s-45-VM], P0=Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(4)-Storage(Volume(45|ROOT-->Pool(1))]
- 2015-04-17 13:02:10,345 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 4 host id before state transition: null
- 2015-04-17 13:02:10,360 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:02:10,360 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) We are allocating VM, increasing the used capacity of this host:4
- 2015-04-17 13:02:10,360 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2015-04-17 13:02:10,360 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 536870912
- 2015-04-17 13:02:10,361 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) CPU STATS after allocation: for host: 4, old used: 0, old reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used:500, reserved:0; requested cpu:500,alloc_from_last:false
- 2015-04-17 13:02:10,361 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) RAM STATS after allocation: for host: 4, old used: 0, old reserved: 0, total: 130926600192; new used: 536870912, reserved: 0; requested mem: 536870912,alloc_from_last:false
- 2015-04-17 13:02:10,367 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) VM is being created in podId: 1
- 2015-04-17 13:02:10,376 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Network id=200 is already implemented
- 2015-04-17 13:02:10,420 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Network id=202 is already implemented
- 2015-04-17 13:02:10,475 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Network id=201 is already implemented
- 2015-04-17 13:02:10,494 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-166:ctx-cff20bfa) Seq 1-847970307: Executing request
- 2015-04-17 13:02:10,526 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-1b0c075f) Allocated a nic NicProfile[178-45-7696e2db-252b-4226-bf70-d9dffd01f134-10.3.4.191-null for VM[SecondaryStorageVm|s-45-VM]
- 2015-04-17 13:02:10,541 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Network id=203 is already implemented
- 2015-04-17 13:02:10,588 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-1b0c075f) Allocated a nic NicProfile[179-45-7696e2db-252b-4226-bf70-d9dffd01f134-10.3.4.164-null for VM[SecondaryStorageVm|s-45-VM]
- 2015-04-17 13:02:10,603 DEBUG [o.a.c.e.o.VolumeOrchestrator] (secstorage-1:ctx-1b0c075f) Checking if we need to prepare 1 volumes for VM[SecondaryStorageVm|s-45-VM]
- 2015-04-17 13:02:10,608 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-166:ctx-cff20bfa) Seq 1-847970307: Response Received:
- 2015-04-17 13:02:10,609 DEBUG [c.c.a.t.Request] (DirectAgent-166:ctx-cff20bfa) Seq 1-847970307: Processing: { Ans: , MgmtId: 50788518005399, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 13:02:10,631 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-1b0c075f) template 1 is already in store:1, type:Image
- 2015-04-17 13:02:10,643 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-1b0c075f) template 1 is already in store:1, type:Primary
- 2015-04-17 13:02:10,645 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-1b0c075f) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 263
- 2015-04-17 13:02:10,656 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-1b0c075f) Acquire lock on VMTemplateStoragePool 263 with timeout 3600 seconds
- 2015-04-17 13:02:11,140 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-106:ctx-7ad7ae69) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-29526b68-e6c2-482a-8142-f1f3937d3a6a
- 2015-04-17 13:02:11,140 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-106:ctx-7ad7ae69) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:02:11,140 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-106:ctx-7ad7ae69) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:02:11,141 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-106:ctx-7ad7ae69) Seq 2-34930789: Response Received:
- 2015-04-17 13:02:11,141 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-106:ctx-7ad7ae69) Seq 2-34930789: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:11,198 DEBUG [c.c.a.t.Request] (AgentManager-Handler-7:null) Seq 1-171769955: Executing: { Cmd , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:02:11,198 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-103:ctx-2a98fc62) Seq 1-171769955: Executing request
- 2015-04-17 13:02:11,305 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-103:ctx-2a98fc62) VM does not exist on XenServer0083e31e-13d1-4e07-96a4-3594d789e1d8
- 2015-04-17 13:02:11,305 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-103:ctx-2a98fc62) Seq 1-171769955: Response Received:
- 2015-04-17 13:02:11,306 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-103:ctx-2a98fc62) Seq 1-171769955: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:11,856 DEBUG [c.c.a.t.Request] (AgentManager-Handler-8:null) Seq 5-634060907: Executing: { Cmd , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:02:11,857 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-62:ctx-e8153e47) Seq 5-634060907: Executing request
- 2015-04-17 13:02:12,565 DEBUG [c.c.u.d.DbUtil] (consoleproxy-1:ctx-e4b7f9c8) GET_LOCK() timed out on lock : consoleproxy.scan.lock
- 2015-04-17 13:02:14,014 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-62:ctx-e8153e47) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-c53f45f0-e902-4d2f-8294-3ef2098b18d2
- 2015-04-17 13:02:14,014 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-62:ctx-e8153e47) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:02:14,015 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-62:ctx-e8153e47) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:02:14,015 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-62:ctx-e8153e47) Seq 5-634060907: Response Received:
- 2015-04-17 13:02:14,016 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-62:ctx-e8153e47) Seq 5-634060907: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:14,063 DEBUG [c.c.a.t.Request] (AgentManager-Handler-9:null) Seq 3-944373855: Executing: { Cmd , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:02:14,063 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-374:ctx-9e76542f) Seq 3-944373855: Executing request
- 2015-04-17 13:02:14,148 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-374:ctx-9e76542f) VM does not exist on XenServer23e67e4d-e952-40f3-a646-3a4e782d2db1
- 2015-04-17 13:02:14,148 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-374:ctx-9e76542f) Seq 3-944373855: Response Received:
- 2015-04-17 13:02:14,149 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-374:ctx-9e76542f) Seq 3-944373855: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:14,780 DEBUG [c.c.a.t.Request] (AgentManager-Handler-10:null) Seq 1-171769956: Executing: { Cmd , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:02:14,780 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-415:ctx-5358d21e) Seq 1-171769956: Executing request
- 2015-04-17 13:02:15,664 INFO [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-1b0c075f) Unable to acquire lock on VMTemplateStoragePool 263
- 2015-04-17 13:02:15,667 ERROR [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Failed to start instance VM[SecondaryStorageVm|s-45-VM]
- com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock on VMTemplateStoragePool: 263
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:460)
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:604)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1192)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:261)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:694)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1278)
- at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123)
- at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
- at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
- at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
- at com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
- 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.runAndReset(FutureTask.java:304)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- 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-04-17 13:02:15,675 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Cleaning up resources for the vm VM[SecondaryStorageVm|s-45-VM] in Starting state
- 2015-04-17 13:02:15,681 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-1b0c075f) Seq 4-819986514: Sending { Cmd , MgmtId: 50788518005399, via: 4(cloud-host9.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-45-VM","wait":0}}] }
- 2015-04-17 13:02:15,682 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-1b0c075f) Seq 4-819986514: Executing: { Cmd , MgmtId: 50788518005399, via: 4(cloud-host9.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-45-VM","wait":0}}] }
- 2015-04-17 13:02:15,682 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-90:ctx-ec5761ef) Seq 4-819986514: Executing request
- 2015-04-17 13:02:15,788 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-90:ctx-ec5761ef) VM does not exist on XenServer1d86cc04-ef64-48d9-b00c-734c21144945
- 2015-04-17 13:02:15,788 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-90:ctx-ec5761ef) Seq 4-819986514: Response Received:
- 2015-04-17 13:02:15,788 DEBUG [c.c.a.t.Request] (DirectAgent-90:ctx-ec5761ef) Seq 4-819986514: Processing: { Ans: , MgmtId: 50788518005399, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 13:02:15,788 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-1b0c075f) Seq 4-819986514: Received: { Ans: , MgmtId: 50788518005399, via: 4, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 13:02:15,811 DEBUG [c.c.n.g.ControlNetworkGuru] (secstorage-1:ctx-1b0c075f) Released nic: NicProfile[177-45-null-null-null
- 2015-04-17 13:02:15,830 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-1b0c075f) Releasing ip address for reservationId=7696e2db-252b-4226-bf70-d9dffd01f134, instance=178
- 2015-04-17 13:02:15,831 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-1b0c075f) Released nic: NicProfile[178-45-null-null-null
- 2015-04-17 13:02:15,852 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-1b0c075f) Releasing ip address for reservationId=7696e2db-252b-4226-bf70-d9dffd01f134, instance=179
- 2015-04-17 13:02:15,853 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-1b0c075f) Released nic: NicProfile[179-45-null-null-null
- 2015-04-17 13:02:15,864 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Successfully released network resources for the vm VM[SecondaryStorageVm|s-45-VM]
- 2015-04-17 13:02:15,864 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Successfully cleanued up resources for the vm VM[SecondaryStorageVm|s-45-VM] in Starting state
- 2015-04-17 13:02:15,884 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 4
- 2015-04-17 13:02:15,897 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 13:02:15,897 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 13:02:15,898 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) release cpu from host: 4, old used: 1000,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 13:02:15,898 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) release mem from host: 4, old used: 1610612736,reserved: 0, total: 130926600192; new used: 1073741824,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 13:02:15,905 WARN [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-1b0c075f) Exception while trying to start secondary storage vm
- com.cloud.exception.AgentUnavailableException: Resource [Host:4] is unreachable: Host 4: Unable to start instance due to Unable to acquire lock on VMTemplateStoragePool: 263
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1073)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:261)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:694)
- at com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1278)
- at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123)
- at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
- at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
- at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
- at com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
- 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.runAndReset(FutureTask.java:304)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- 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)
- Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock on VMTemplateStoragePool: 263
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:460)
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:604)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1192)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
- ... 23 more
- 2015-04-17 13:02:15,907 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-1b0c075f) Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 45, will recycle it and start a new one
- 2015-04-17 13:02:15,941 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) VM is already stopped: VM[SecondaryStorageVm|s-45-VM]
- 2015-04-17 13:02:15,963 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-1b0c075f) VM state transitted from :Stopped to Expunging with event: ExpungeOperationvm's original host id: null new host id: null host id before state transition: null
- 2015-04-17 13:02:15,963 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Destroying vm VM[SecondaryStorageVm|s-45-VM]
- 2015-04-17 13:02:15,963 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Cleaning up NICS
- 2015-04-17 13:02:15,963 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Cleaning network for vm: 45
- 2015-04-17 13:02:15,986 DEBUG [c.c.n.g.PublicNetworkGuru] (secstorage-1:ctx-1b0c075f) public network deallocate network: networkId: 200, ip: 10.3.1.6
- 2015-04-17 13:02:15,998 DEBUG [c.c.n.g.PublicNetworkGuru] (secstorage-1:ctx-1b0c075f) Deallocated nic: NicProfile[176-45-null-null-null
- 2015-04-17 13:02:16,006 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Removed nic id=176
- 2015-04-17 13:02:16,010 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Revoving nic secondary ip entry ...
- 2015-04-17 13:02:16,026 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Removed nic id=177
- 2015-04-17 13:02:16,028 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Revoving nic secondary ip entry ...
- 2015-04-17 13:02:16,056 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Removed nic id=178
- 2015-04-17 13:02:16,058 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Revoving nic secondary ip entry ...
- 2015-04-17 13:02:16,082 DEBUG [c.c.s.StatsCollector] (StatsCollector-1:ctx-7335c244) HostStatsCollector is running...
- 2015-04-17 13:02:16,087 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Removed nic id=179
- 2015-04-17 13:02:16,090 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-1b0c075f) Revoving nic secondary ip entry ...
- 2015-04-17 13:02:16,092 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Cleaning up hypervisor data structures (ex. SRs in XenServer) for managed storage
- 2015-04-17 13:02:16,096 DEBUG [o.a.c.e.o.VolumeOrchestrator] (secstorage-1:ctx-1b0c075f) Cleaning storage for vm: 45
- 2015-04-17 13:02:16,099 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-159:ctx-da3de641) Seq 1-847970390: Executing request
- 2015-04-17 13:02:16,126 INFO [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-1b0c075f) Expunge volume with no data store specified
- 2015-04-17 13:02:16,131 INFO [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-1b0c075f) Volume 45 is not referred anywhere, remove it from volumes table
- 2015-04-17 13:02:16,156 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-1b0c075f) Expunged VM[SecondaryStorageVm|s-45-VM]
- 2015-04-17 13:02:16,169 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-1b0c075f) Primary secondary storage is not even started, wait until next turn
- 2015-04-17 13:02:16,406 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-159:ctx-da3de641) Seq 1-847970390: Response Received:
- 2015-04-17 13:02:16,406 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-7335c244) Seq 1-847970390: Received: { Ans: , MgmtId: 50788518005399, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 13:02:16,419 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-91:ctx-178d3380) Seq 2-856817751: Executing request
- 2015-04-17 13:02:16,721 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-91:ctx-178d3380) Seq 2-856817751: Response Received:
- 2015-04-17 13:02:16,721 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-7335c244) Seq 2-856817751: Received: { Ans: , MgmtId: 50788518005399, via: 2, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 13:02:16,735 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-148:ctx-059cafe6) Seq 3-599130196: Executing request
- 2015-04-17 13:02:16,939 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-148:ctx-059cafe6) Seq 3-599130196: Response Received:
- 2015-04-17 13:02:16,939 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-7335c244) Seq 3-599130196: Received: { Ans: , MgmtId: 50788518005399, via: 3, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 13:02:16,957 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-96:ctx-129a61d9) Seq 4-819986515: Executing request
- 2015-04-17 13:02:16,958 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-415:ctx-5358d21e) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-b8479457-5fd8-4b71-9a3d-9b1614304220
- 2015-04-17 13:02:16,958 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-415:ctx-5358d21e) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:02:16,958 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-415:ctx-5358d21e) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:02:16,960 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-415:ctx-5358d21e) Seq 1-171769956: Response Received:
- 2015-04-17 13:02:16,961 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-415:ctx-5358d21e) Seq 1-171769956: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:17,016 DEBUG [c.c.a.t.Request] (AgentManager-Handler-11:null) Seq 4-327286886: Executing: { Cmd , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:02:17,016 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-104:ctx-aca515e6) Seq 4-327286886: Executing request
- 2015-04-17 13:02:17,151 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-104:ctx-aca515e6) VM does not exist on XenServer1d86cc04-ef64-48d9-b00c-734c21144945
- 2015-04-17 13:02:17,151 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-104:ctx-aca515e6) Seq 4-327286886: Response Received:
- 2015-04-17 13:02:17,151 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-104:ctx-aca515e6) Seq 4-327286886: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:17,262 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-96:ctx-129a61d9) Seq 4-819986515: Response Received:
- 2015-04-17 13:02:17,263 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-7335c244) Seq 4-819986515: Received: { Ans: , MgmtId: 50788518005399, via: 4, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 13:02:17,275 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-250:ctx-0310abd0) Seq 5-1311506520: Executing request
- 2015-04-17 13:02:17,572 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-250:ctx-0310abd0) Seq 5-1311506520: Response Received:
- 2015-04-17 13:02:17,573 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-7335c244) Seq 5-1311506520: Received: { Ans: , MgmtId: 50788518005399, via: 5, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 13:02:19,384 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-be08365f) External devices stats collector is running...
- 2015-04-17 13:02:19,411 DEBUG [c.c.s.s.SnapshotSchedulerImpl] (SnapshotPollTask:ctx-807b6023) Snapshot scheduler.poll is being called at 2015-04-17 07:32:19 GMT
- 2015-04-17 13:02:19,414 DEBUG [c.c.s.s.SnapshotSchedulerImpl] (SnapshotPollTask:ctx-807b6023) Got 0 snapshots to be executed at 2015-04-17 07:32:19 GMT
- 2015-04-17 13:02:19,526 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:ctx-da8a3994) Found 0 running routers.
- 2015-04-17 13:02:19,533 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-fdf33d4a) Found 0 routers to update status.
- 2015-04-17 13:02:19,538 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-fdf33d4a) Found 0 networks to update RvR status.
- 2015-04-17 13:02:19,555 INFO [c.c.h.HighAvailabilityManagerImpl] (HA-1:ctx-07e51808) checking health of usage server
- 2015-04-17 13:02:19,574 INFO [c.c.n.v.VpcManagerImpl] (VpcChecker-1:ctx-cb8869f7) Found 0 removed VPCs to cleanup
- 2015-04-17 13:02:19,623 DEBUG [c.c.h.HighAvailabilityManagerImpl] (HA-1:ctx-07e51808) usage server running? false, heartbeat: null
- 2015-04-17 13:02:19,624 WARN [o.a.c.alerts] (HA-1:ctx-07e51808) alertType:: 13 // dataCenterId:: 0 // podId:: 0 // clusterId:: null // message:: No usage server process running
- 2015-04-17 13:02:19,629 DEBUG [c.c.a.AlertManagerImpl] (HA-1:ctx-07e51808) Have already sent: 1 emails for alert type '13' -- skipping send email
- 2015-04-17 13:02:24,410 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-c612b8bd) Resetting hosts suitable for reconnect
- 2015-04-17 13:02:24,413 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-c612b8bd) Completed resetting hosts suitable for reconnect
- 2015-04-17 13:02:24,413 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-c612b8bd) Acquiring hosts for clusters already owned by this management server
- 2015-04-17 13:02:24,416 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-c612b8bd) Completed acquiring hosts for clusters already owned by this management server
- 2015-04-17 13:02:24,416 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-c612b8bd) Acquiring hosts for clusters not owned by any management server
- 2015-04-17 13:02:24,417 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-c612b8bd) Completed acquiring hosts for clusters not owned by any management server
- 2015-04-17 13:02:26,600 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-165:ctx-f429a3f7) Seq 1-171769957: Executing request
- 2015-04-17 13:02:26,910 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-165:ctx-f429a3f7) Seq 1-171769957: Response Received:
- 2015-04-17 13:02:26,910 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-165:ctx-f429a3f7) Seq 1-171769957: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:26,939 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-152:ctx-bd3c77c7) Seq 2-34930790: Executing request
- 2015-04-17 13:02:27,240 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-152:ctx-bd3c77c7) Seq 2-34930790: Response Received:
- 2015-04-17 13:02:27,241 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-152:ctx-bd3c77c7) Seq 2-34930790: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:27,267 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-14:ctx-a931ba6b) Seq 3-944373856: Executing request
- 2015-04-17 13:02:27,367 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-383:ctx-0d3cfc5b) Ping from 2(cloud-host10.cgg.gov.in)
- 2015-04-17 13:02:27,550 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-14:ctx-a931ba6b) Seq 3-944373856: Response Received:
- 2015-04-17 13:02:27,550 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-14:ctx-a931ba6b) Seq 3-944373856: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:27,565 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-162:ctx-ec13f72a) Ping from 3(cloud-host1.cgg.gov.in)
- 2015-04-17 13:02:27,571 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-402:ctx-f39c3709) Seq 4-327286887: Executing request
- 2015-04-17 13:02:27,759 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-410:ctx-b4514f4e) Ping from 4(cloud-host9.cgg.gov.in)
- 2015-04-17 13:02:27,955 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-402:ctx-f39c3709) Seq 4-327286887: Response Received:
- 2015-04-17 13:02:27,955 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-402:ctx-f39c3709) Seq 4-327286887: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:27,981 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-413:ctx-6120217c) Seq 5-634060908: Executing request
- 2015-04-17 13:02:28,299 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-413:ctx-6120217c) Seq 5-634060908: Response Received:
- 2015-04-17 13:02:28,299 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-413:ctx-6120217c) Seq 5-634060908: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:28,833 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-45:ctx-e743f542) Ping from 5(cloud-host2.cgg.gov.in)
- 2015-04-17 13:02:28,941 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-263:ctx-1eb9caed) Seq 3-599130116: Executing request
- 2015-04-17 13:02:29,144 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-263:ctx-1eb9caed) Seq 3-599130116: Response Received:
- 2015-04-17 13:02:29,145 DEBUG [c.c.a.t.Request] (DirectAgent-263:ctx-1eb9caed) Seq 3-599130116: Processing: { Ans: , MgmtId: 50788518005399, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] }
- 2015-04-17 13:02:29,248 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-414:ctx-5afc6b36) Seq 2-856817668: Executing request
- 2015-04-17 13:02:29,368 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-414:ctx-5afc6b36) Seq 2-856817668: Response Received:
- 2015-04-17 13:02:29,368 DEBUG [c.c.a.t.Request] (DirectAgent-414:ctx-5afc6b36) Seq 2-856817668: Processing: { Ans: , MgmtId: 50788518005399, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 13:02:29,529 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-101:ctx-63671cd2) Seq 4-819986436: Executing request
- 2015-04-17 13:02:29,572 DEBUG [c.c.n.l.LBHealthCheckManagerImpl] (LBHealthCheck-1:ctx-f678eab7) LB HealthCheck Manager is running and getting the updates from LB providers and updating service status
- 2015-04-17 13:02:29,595 DEBUG [c.c.n.l.LBHealthCheckManagerImpl] (LBHealthCheck-1:ctx-f678eab7) LB HealthCheck Manager is running and getting the updates from LB providers and updating service status
- 2015-04-17 13:02:29,645 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-101:ctx-63671cd2) Seq 4-819986436: Response Received:
- 2015-04-17 13:02:29,646 DEBUG [c.c.a.t.Request] (DirectAgent-101:ctx-63671cd2) Seq 4-819986436: Processing: { Ans: , MgmtId: 50788518005399, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 13:02:30,893 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-262:ctx-af08d962) Seq 5-1311506436: Executing request
- 2015-04-17 13:02:31,016 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-262:ctx-af08d962) Seq 5-1311506436: Response Received:
- 2015-04-17 13:02:31,016 DEBUG [c.c.a.t.Request] (DirectAgent-262:ctx-af08d962) Seq 5-1311506436: Processing: { Ans: , MgmtId: 50788518005399, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 13:02:33,160 DEBUG [c.c.a.t.Request] (AgentManager-Handler-2:null) Seq 1-171769958: Executing: { Cmd , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:02:33,161 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-403:ctx-1720425d) Seq 1-171769958: Executing request
- 2015-04-17 13:02:35,141 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-293e80a8) VmStatsCollector is running...
- 2015-04-17 13:02:35,328 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-403:ctx-1720425d) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-f8864f12-0bd2-4a12-ba80-e04363877ab5
- 2015-04-17 13:02:35,328 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-403:ctx-1720425d) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 13:02:35,328 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-403:ctx-1720425d) Catch Exception com.cloud.utils.exception.CloudRuntimeException for template + due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
- at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
- at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
- at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
- at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
- at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
- 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-04-17 13:02:35,329 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-403:ctx-1720425d) Seq 1-171769958: Response Received:
- 2015-04-17 13:02:35,329 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-403:ctx-1720425d) Seq 1-171769958: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:35,382 DEBUG [c.c.a.t.Request] (AgentManager-Handler-3:null) Seq 3-944373857: Executing: { Cmd , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 13:02:35,383 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-408:ctx-404192fb) Seq 3-944373857: Executing request
- 2015-04-17 13:02:35,456 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-408:ctx-404192fb) VM does not exist on XenServer23e67e4d-e952-40f3-a646-3a4e782d2db1
- 2015-04-17 13:02:35,456 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-408:ctx-404192fb) Seq 3-944373857: Response Received:
- 2015-04-17 13:02:35,456 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-408:ctx-404192fb) Seq 3-944373857: MgmtId 46618217624527: Resp: Routing to peer
- 2015-04-17 13:02:36,066 DEBUG [c.c.a.t.Request] (AgentManager-Handler-4:null) Seq 1-171769959: Executing: { Cmd , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.3.4.40/ibm/CloudSecondary","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"297f8c6c-e439-11e4-b2f4-8e87d1b74cef","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-1","id":1,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-1","port":0,"url":"PreSetup://localhost//CloudStore-1/?ROLE=Primary&STOREUUID=CloudStore-1"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] }
- 2015-04-17 13:02:36,067 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-4:ctx-f75073e6) Seq 1-171769959: Executing request
Advertisement
Add Comment
Please, Sign In to add comment