Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- volume
- 2015-04-17 16:26:13,125 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 16:26:13,127 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 16:26:13,127 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 16:26:13,127 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:13,130 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 16:26:13,132 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 16:26:13,135 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 16:26:13,143 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 16:26:13,151 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Checking pool: 1 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 16:26:13,151 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 16:26:13,151 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 16:26:13,151 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Checking if host: 5 can access any suitable storage pool for volume: ROOT
- 2015-04-17 16:26:13,152 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Host: 5 can access pool: 1
- 2015-04-17 16:26:13,153 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Found a potential host id: 5 name: cloud-host3.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 16:26:13,155 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) 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(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:13,155 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Deployment found - P0=VM[ConsoleProxy|v-1-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(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:13,177 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 5 host id before state transition: 2
- 2015-04-17 16:26:13,189 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:13,189 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 16:26:13,189 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) release cpu from host: 2, old used: 500,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:13,189 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) release mem from host: 2, old used: 1073741824,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:13,212 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:13,212 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) We are allocating VM, increasing the used capacity of this host:5
- 2015-04-17 16:26:13,212 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2015-04-17 16:26:13,212 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 1073741824
- 2015-04-17 16:26:13,212 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) 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 16:26:13,213 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) RAM STATS after allocation: for host: 5, old used: 0, old reserved: 0, total: 130926600192; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2015-04-17 16:26:13,220 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) VM is being created in podId: 1
- 2015-04-17 16:26:13,229 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Network id=200 is already implemented
- 2015-04-17 16:26:13,276 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Network id=202 is already implemented
- 2015-04-17 16:26:13,332 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Network id=201 is already implemented
- 2015-04-17 16:26:13,380 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-6fd77ab2) Allocated a nic NicProfile[3-1-9e96f6c9-9799-4d8c-811e-103e40d7ce6d-10.3.4.115-null for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:13,394 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:13,418 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-6fd77ab2) template 1 is already in store:1, type:Image
- 2015-04-17 16:26:13,429 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-6fd77ab2) Not found (templateId:1poolId:1) in template_spool_ref, persisting it
- 2015-04-17 16:26:13,443 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-6fd77ab2) template 1 is already in store:1, type:Primary
- 2015-04-17 16:26:13,445 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-6fd77ab2) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 151
- 2015-04-17 16:26:13,457 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-6fd77ab2) Acquire lock on VMTemplateStoragePool 151 with timeout 3600 seconds
- 2015-04-17 16:26:13,460 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-6fd77ab2) lock is acquired for VMTemplateStoragePool 151
- 2015-04-17 16:26:13,473 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-6fd77ab2) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2015-04-17 16:26:13,494 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 2-1843462230: Sending { Cmd , MgmtId: 46618217624527, via: 2(cloud-host1.cgg.gov.in), 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 16:26:13,495 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 2-1843462230: Executing: { Cmd , MgmtId: 46618217624527, via: 2(cloud-host1.cgg.gov.in), 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 16:26:13,495 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-434:ctx-d12c96fb) Seq 2-1843462230: Executing request
- 2015-04-17 16:26:13,947 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-51:ctx-5e2eb97a) Seq 2-751304730: Executing request
- 2015-04-17 16:26:14,486 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-51:ctx-5e2eb97a) Seq 2-751304730: Response Received:
- 2015-04-17 16:26:14,487 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-51:ctx-5e2eb97a) Seq 2-751304730: MgmtId 50788518005399: Resp: Routing to peer
- 2015-04-17 16:26:15,029 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-254ca65b) Found 0 routers to update status.
- 2015-04-17 16:26:15,032 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-254ca65b) Found 0 networks to update RvR status.
- 2015-04-17 16:26:15,620 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-434:ctx-d12c96fb) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-f1833f1a-a1e2-471a-8120-f6a1f360e07c
- 2015-04-17 16:26:15,621 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-434:ctx-d12c96fb) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 16:26:15,621 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-434:ctx-d12c96fb) 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 16:26:15,622 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-434:ctx-d12c96fb) Seq 2-1843462230: Response Received:
- 2015-04-17 16:26:15,622 DEBUG [c.c.a.t.Request] (DirectAgent-434:ctx-d12c96fb) Seq 2-1843462230: Processing: { Ans: , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"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","wait":0}}] }
- 2015-04-17 16:26:15,622 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 2-1843462230: Received: { Ans: , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2015-04-17 16:26:15,643 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-6fd77ab2) releasing lock for VMTemplateStoragePool 151
- 2015-04-17 16:26:15,644 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-6fd77ab2) Was unable to find lock for the key template_spool_ref151 and thread id 2071784721
- 2015-04-17 16:26:15,644 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Unable to create Vol[1|vm=1|ROOT]: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
- 2015-04-17 16:26:15,644 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]: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
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
- 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.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
- 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 16:26:15,652 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:15,662 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 5-1993146459: Sending { Cmd , MgmtId: 46618217624527, via: 5(cloud-host3.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:15,663 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 5-1993146459: Executing: { Cmd , MgmtId: 46618217624527, via: 5(cloud-host3.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:15,663 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-187:ctx-686aefeb) Seq 5-1993146459: Executing request
- 2015-04-17 16:26:15,770 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-187:ctx-686aefeb) VM does not exist on XenServer0083e31e-13d1-4e07-96a4-3594d789e1d8
- 2015-04-17 16:26:15,770 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-187:ctx-686aefeb) Seq 5-1993146459: Response Received:
- 2015-04-17 16:26:15,771 DEBUG [c.c.a.t.Request] (DirectAgent-187:ctx-686aefeb) Seq 5-1993146459: Processing: { Ans: , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 16:26:15,771 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 5-1993146459: Received: { Ans: , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 16:26:15,794 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-6fd77ab2) Released nic: NicProfile[2-1-null-null-null
- 2015-04-17 16:26:15,814 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-6fd77ab2) Releasing ip address for reservationId=9e96f6c9-9799-4d8c-811e-103e40d7ce6d, instance=3
- 2015-04-17 16:26:15,815 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-6fd77ab2) Released nic: NicProfile[3-1-null-null-null
- 2015-04-17 16:26:15,824 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:15,824 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:15,831 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Deploy avoids pods: null, clusters: null, hosts: [1, 2, 3, 5]
- 2015-04-17 16:26:15,834 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@4f7533d2
- 2015-04-17 16:26:15,834 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2015-04-17 16:26:15,834 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 16:26:15,834 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-6fd77ab2) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:15,834 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-6fd77ab2) 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 16:26:15,852 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 16:26:15,852 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:15,860 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-2-Routing], Host[-1-Routing], Host[-3-Routing], Host[-5-Routing], Host[-4-Routing]]
- 2015-04-17 16:26:15,874 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-2-Routing], Host[-1-Routing], Host[-3-Routing], Host[-5-Routing], Host[-4-Routing]]
- 2015-04-17 16:26:15,874 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2015-04-17 16:26:15,874 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host name: cloud-host1.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:15,874 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host name: cloud-host2.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:15,874 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host name: cloud-host9.cgg.gov.in, hostId: 3 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:15,874 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host name: cloud-host3.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:15,888 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:15,888 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:15,894 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:15,894 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2015-04-17 16:26:15,894 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Free RAM: 130389729280 , Requested RAM: 1073741824
- 2015-04-17 16:26:15,894 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:15,894 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 4, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:15,894 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 536870912, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:15,894 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2015-04-17 16:26:15,894 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host Allocator returning 1 suitable hosts
- 2015-04-17 16:26:15,897 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2015-04-17 16:26:15,897 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) We need to allocate new storagepool for this volume
- 2015-04-17 16:26:15,897 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 16:26:15,899 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 16:26:15,899 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 16:26:15,899 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:15,902 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 16:26:15,905 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 16:26:15,908 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 16:26:15,916 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 16:26:15,925 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Checking pool: 1 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 16:26:15,925 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-6fd77ab2) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 16:26:15,925 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 16:26:15,925 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Checking if host: 4 can access any suitable storage pool for volume: ROOT
- 2015-04-17 16:26:15,926 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Host: 4 can access pool: 1
- 2015-04-17 16:26:15,927 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Found a potential host id: 4 name: cloud-host10.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 16:26:15,929 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) 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(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:15,929 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Deployment found - P0=VM[ConsoleProxy|v-1-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(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:15,954 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 4 host id before state transition: 5
- 2015-04-17 16:26:15,967 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:15,967 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 16:26:15,967 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) 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 16:26:15,967 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) release mem from host: 5, old used: 1073741824,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:15,990 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:15,990 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) We are allocating VM, increasing the used capacity of this host:4
- 2015-04-17 16:26:15,990 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Current Used CPU: 500 , Free CPU:87500 ,Requested CPU: 500
- 2015-04-17 16:26:15,990 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Current Used RAM: 536870912 , Free RAM:130389729280 ,Requested RAM: 1073741824
- 2015-04-17 16:26:15,991 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) CPU STATS after allocation: for host: 4, old used: 500, old reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used:1000, reserved:0; requested cpu:500,alloc_from_last:false
- 2015-04-17 16:26:15,991 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) RAM STATS after allocation: for host: 4, old used: 536870912, old reserved: 0, total: 130926600192; new used: 1610612736, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2015-04-17 16:26:15,999 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) VM is being created in podId: 1
- 2015-04-17 16:26:16,015 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Network id=200 is already implemented
- 2015-04-17 16:26:16,060 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Network id=202 is already implemented
- 2015-04-17 16:26:16,117 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Network id=201 is already implemented
- 2015-04-17 16:26:16,165 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-6fd77ab2) Allocated a nic NicProfile[3-1-9e96f6c9-9799-4d8c-811e-103e40d7ce6d-10.3.4.115-null for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:16,179 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:16,205 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-6fd77ab2) template 1 is already in store:1, type:Image
- 2015-04-17 16:26:16,215 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-6fd77ab2) Not found (templateId:1poolId:1) in template_spool_ref, persisting it
- 2015-04-17 16:26:16,227 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-6fd77ab2) template 1 is already in store:1, type:Primary
- 2015-04-17 16:26:16,230 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-6fd77ab2) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 152
- 2015-04-17 16:26:16,242 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-6fd77ab2) Acquire lock on VMTemplateStoragePool 152 with timeout 3600 seconds
- 2015-04-17 16:26:16,246 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-6fd77ab2) lock is acquired for VMTemplateStoragePool 152
- 2015-04-17 16:26:16,261 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-6fd77ab2) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2015-04-17 16:26:16,283 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 3-1753874532: Sending { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), 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 16:26:16,285 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 3-1753874532: Executing: { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), 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 16:26:16,285 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-299:ctx-8a3a375d) Seq 3-1753874532: Executing request
- 2015-04-17 16:26:16,819 DEBUG [c.c.a.t.Request] (AgentManager-Handler-1:null) Seq 4-551616534: Executing: { Cmd , MgmtId: 50788518005399, via: 4, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-32-VM","wait":0}}] }
- 2015-04-17 16:26:16,819 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-453:ctx-a2ce69b7) Seq 4-551616534: Executing request
- 2015-04-17 16:26:16,932 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-453:ctx-a2ce69b7) VM does not exist on XenServer34da61e1-04e7-40e2-b8f4-40c0157dca28
- 2015-04-17 16:26:16,937 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-453:ctx-a2ce69b7) Seq 4-551616534: Response Received:
- 2015-04-17 16:26:16,937 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-453:ctx-a2ce69b7) Seq 4-551616534: MgmtId 50788518005399: Resp: Routing to peer
- 2015-04-17 16:26:18,451 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-299:ctx-8a3a375d) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-27cde6dd-435b-4317-8e2c-3afcf84bf7e4
- 2015-04-17 16:26:18,456 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-299:ctx-8a3a375d) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 16:26:18,456 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-299:ctx-8a3a375d) 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 16:26:18,457 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-299:ctx-8a3a375d) Seq 3-1753874532: Response Received:
- 2015-04-17 16:26:18,458 DEBUG [c.c.a.t.Request] (DirectAgent-299:ctx-8a3a375d) Seq 3-1753874532: Processing: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"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","wait":0}}] }
- 2015-04-17 16:26:18,458 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 3-1753874532: Received: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2015-04-17 16:26:18,479 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-6fd77ab2) releasing lock for VMTemplateStoragePool 152
- 2015-04-17 16:26:18,480 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-6fd77ab2) Was unable to find lock for the key template_spool_ref152 and thread id 2071784721
- 2015-04-17 16:26:18,480 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-6fd77ab2) Unable to create Vol[1|vm=1|ROOT]: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
- 2015-04-17 16:26:18,480 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]: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
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
- 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.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
- 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 16:26:18,488 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:18,494 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 4-283115608: Sending { Cmd , MgmtId: 46618217624527, via: 4(cloud-host10.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:18,494 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 4-283115608: Executing: { Cmd , MgmtId: 46618217624527, via: 4(cloud-host10.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:18,495 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-463:ctx-f08b72c6) Seq 4-283115608: Executing request
- 2015-04-17 16:26:18,601 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-463:ctx-f08b72c6) VM does not exist on XenServer34da61e1-04e7-40e2-b8f4-40c0157dca28
- 2015-04-17 16:26:18,601 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-463:ctx-f08b72c6) Seq 4-283115608: Response Received:
- 2015-04-17 16:26:18,601 DEBUG [c.c.a.t.Request] (DirectAgent-463:ctx-f08b72c6) Seq 4-283115608: Processing: { Ans: , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 16:26:18,601 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-6fd77ab2) Seq 4-283115608: Received: { Ans: , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 16:26:18,625 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-6fd77ab2) Released nic: NicProfile[2-1-null-null-null
- 2015-04-17 16:26:18,646 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-6fd77ab2) Releasing ip address for reservationId=9e96f6c9-9799-4d8c-811e-103e40d7ce6d, instance=3
- 2015-04-17 16:26:18,647 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-6fd77ab2) Released nic: NicProfile[3-1-null-null-null
- 2015-04-17 16:26:18,655 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:18,655 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:18,664 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Deploy avoids pods: null, clusters: null, hosts: [1, 2, 3, 4, 5]
- 2015-04-17 16:26:18,666 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@4f7533d2
- 2015-04-17 16:26:18,666 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2015-04-17 16:26:18,666 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 16:26:18,666 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-6fd77ab2) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:18,666 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-6fd77ab2) 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 16:26:18,685 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 16:26:18,685 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:18,692 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-2-Routing], Host[-1-Routing], Host[-5-Routing], Host[-4-Routing], Host[-3-Routing]]
- 2015-04-17 16:26:18,706 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-2-Routing], Host[-1-Routing], Host[-5-Routing], Host[-4-Routing], Host[-3-Routing]]
- 2015-04-17 16:26:18,707 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2015-04-17 16:26:18,707 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host name: cloud-host1.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:18,707 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host name: cloud-host2.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:18,707 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host name: cloud-host3.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:18,707 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:18,707 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host name: cloud-host9.cgg.gov.in, hostId: 3 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:18,707 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-6fd77ab2 FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
- 2015-04-17 16:26:18,707 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) No suitable hosts found
- 2015-04-17 16:26:18,707 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) No suitable hosts found under this Cluster: 1
- 2015-04-17 16:26:18,710 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Could not find suitable Deployment Destination for this VM under any clusters, returning.
- 2015-04-17 16:26:18,711 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-6fd77ab2) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:18,711 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-6fd77ab2) 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 16:26:18,719 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-6fd77ab2) Removing from the clusterId list these clusters from avoid set: [1]
- 2015-04-17 16:26:18,719 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-6fd77ab2) No clusters found after removing disabled clusters and clusters in avoid list, returning.
- 2015-04-17 16:26:18,741 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) 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 16:26:18,755 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:18,755 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 16:26:18,755 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) release cpu from host: 4, old used: 500,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:18,755 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-6fd77ab2) release mem from host: 4, old used: 1073741824,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:18,764 WARN [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-6fd77ab2) Exception while trying to start console proxy
- com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-1-VM]Scope=interface com.cloud.dc.DataCenter; id=1
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:922)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
- 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 16:26:20,295 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-e6a5c971) Resetting hosts suitable for reconnect
- 2015-04-17 16:26:20,298 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-e6a5c971) Completed resetting hosts suitable for reconnect
- 2015-04-17 16:26:20,298 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-e6a5c971) Acquiring hosts for clusters already owned by this management server
- 2015-04-17 16:26:20,301 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-e6a5c971) Completed acquiring hosts for clusters already owned by this management server
- 2015-04-17 16:26:20,301 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-e6a5c971) Acquiring hosts for clusters not owned by any management server
- 2015-04-17 16:26:20,302 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-e6a5c971) Completed acquiring hosts for clusters not owned by any management server
- 2015-04-17 16:26:21,873 DEBUG [c.c.s.StatsCollector] (StatsCollector-1:ctx-fe2354bc) HostStatsCollector is running...
- 2015-04-17 16:26:21,892 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-464:ctx-816f2084) Seq 1-439550049: Executing request
- 2015-04-17 16:26:22,210 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-464:ctx-816f2084) Seq 1-439550049: Response Received:
- 2015-04-17 16:26:22,210 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-fe2354bc) Seq 1-439550049: Received: { Ans: , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 16:26:22,226 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-465:ctx-b7769a17) Seq 2-1843462231: Executing request
- 2015-04-17 16:26:22,409 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-465:ctx-b7769a17) Seq 2-1843462231: Response Received:
- 2015-04-17 16:26:22,410 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-fe2354bc) Seq 2-1843462231: Received: { Ans: , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 16:26:22,425 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-466:ctx-166afe3f) Seq 3-1753874533: Executing request
- 2015-04-17 16:26:22,725 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-466:ctx-166afe3f) Seq 3-1753874533: Response Received:
- 2015-04-17 16:26:22,725 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-fe2354bc) Seq 3-1753874533: Received: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 16:26:22,740 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-467:ctx-b399f89a) Seq 4-283115609: Executing request
- 2015-04-17 16:26:22,873 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-104:ctx-014be2df) Ping from 2(cloud-host1.cgg.gov.in)
- 2015-04-17 16:26:23,124 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-467:ctx-b399f89a) Seq 4-283115609: Response Received:
- 2015-04-17 16:26:23,124 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-fe2354bc) Seq 4-283115609: Received: { Ans: , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 16:26:23,133 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-468:ctx-91988f81) Seq 5-1993146460: Executing request
- 2015-04-17 16:26:23,137 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-305:ctx-8698e96f) Ping from 3(cloud-host9.cgg.gov.in)
- 2015-04-17 16:26:23,470 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-196:ctx-3ee71d8e) Ping from 4(cloud-host10.cgg.gov.in)
- 2015-04-17 16:26:23,539 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-468:ctx-91988f81) Seq 5-1993146460: Response Received:
- 2015-04-17 16:26:23,540 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-fe2354bc) Seq 5-1993146460: Received: { Ans: , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2015-04-17 16:26:24,073 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-469:ctx-fce91f84) Seq 2-1843462149: Executing request
- 2015-04-17 16:26:24,271 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-469:ctx-fce91f84) Seq 2-1843462149: Response Received:
- 2015-04-17 16:26:24,272 DEBUG [c.c.a.t.Request] (DirectAgent-469:ctx-fce91f84) Seq 2-1843462149: Processing: { Ans: , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] }
- 2015-04-17 16:26:24,587 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-307:ctx-595098ae) Ping from 5(cloud-host3.cgg.gov.in)
- 2015-04-17 16:26:24,695 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-470:ctx-41f7f736) Seq 3-1753874437: Executing request
- 2015-04-17 16:26:24,813 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-470:ctx-41f7f736) Seq 3-1753874437: Response Received:
- 2015-04-17 16:26:24,813 DEBUG [c.c.a.t.Request] (DirectAgent-470:ctx-41f7f736) Seq 3-1753874437: Processing: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 16:26:25,119 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-13:ctx-996ab745) Seq 4-283115525: Executing request
- 2015-04-17 16:26:25,232 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-13:ctx-996ab745) Seq 4-283115525: Response Received:
- 2015-04-17 16:26:25,232 DEBUG [c.c.a.t.Request] (DirectAgent-13:ctx-996ab745) Seq 4-283115525: Processing: { Ans: , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 16:26:26,484 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-471:ctx-242f119d) Seq 5-1993146373: Executing request
- 2015-04-17 16:26:26,608 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-471:ctx-242f119d) Seq 5-1993146373: Response Received:
- 2015-04-17 16:26:26,608 DEBUG [c.c.a.t.Request] (DirectAgent-471:ctx-242f119d) Seq 5-1993146373: Processing: { Ans: , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 16:26:28,563 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-472:ctx-6360657b) Seq 1-315228192: Executing request
- 2015-04-17 16:26:28,884 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-472:ctx-6360657b) Seq 1-315228192: Response Received:
- 2015-04-17 16:26:28,884 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-472:ctx-6360657b) Seq 1-315228192: MgmtId 50788518005399: Resp: Routing to peer
- 2015-04-17 16:26:28,917 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-309:ctx-5ca29ebe) Seq 2-751304731: Executing request
- 2015-04-17 16:26:29,108 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-309:ctx-5ca29ebe) Seq 2-751304731: Response Received:
- 2015-04-17 16:26:29,109 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-309:ctx-5ca29ebe) Seq 2-751304731: MgmtId 50788518005399: Resp: Routing to peer
- 2015-04-17 16:26:29,141 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-84:ctx-d747e6aa) Seq 3-1314127894: Executing request
- 2015-04-17 16:26:29,466 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-84:ctx-d747e6aa) Seq 3-1314127894: Response Received:
- 2015-04-17 16:26:29,466 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-84:ctx-d747e6aa) Seq 3-1314127894: MgmtId 50788518005399: Resp: Routing to peer
- 2015-04-17 16:26:29,500 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-44:ctx-f193e308) Seq 4-551616535: Executing request
- 2015-04-17 16:26:29,816 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-44:ctx-f193e308) Seq 4-551616535: Response Received:
- 2015-04-17 16:26:29,817 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-44:ctx-f193e308) Seq 4-551616535: MgmtId 50788518005399: Resp: Routing to peer
- 2015-04-17 16:26:29,847 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-311:ctx-817c9435) Seq 5-749666325: Executing request
- 2015-04-17 16:26:30,153 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-311:ctx-817c9435) Seq 5-749666325: Response Received:
- 2015-04-17 16:26:30,154 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-311:ctx-817c9435) Seq 5-749666325: MgmtId 50788518005399: Resp: Routing to peer
- 2015-04-17 16:26:30,454 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-474:ctx-76c607e1) Ping from 1(cloud-host2.cgg.gov.in)
- 2015-04-17 16:26:31,426 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-477:ctx-f7e5c538) Seq 1-439549956: Executing request
- 2015-04-17 16:26:31,544 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-477:ctx-f7e5c538) Seq 1-439549956: Response Received:
- 2015-04-17 16:26:31,544 DEBUG [c.c.a.t.Request] (DirectAgent-477:ctx-f7e5c538) Seq 1-439549956: Processing: { Ans: , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
- 2015-04-17 16:26:34,394 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-9ae426f7) Zone 1 is ready to launch console proxy
- 2015-04-17 16:26:34,394 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-9ae426f7) Expand console proxy standby capacity for zone CGG-CLOUD-ZONE
- 2015-04-17 16:26:34,405 INFO [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-9ae426f7) Found a stopped console proxy, bring it up to running pool. proxy vm id : 1
- 2015-04-17 16:26:34,441 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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 16:26:34,441 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully transitioned to start state for VM[ConsoleProxy|v-1-VM] reservation id = 3f6bfca8-6c31-4d67-a2a0-d9312e19a522
- 2015-04-17 16:26:34,450 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to deploy VM, vm has dcId: 1 and podId: 1
- 2015-04-17 16:26:34,450 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deploy avoids pods: null, clusters: null, hosts: null
- 2015-04-17 16:26:34,460 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deploy avoids pods: null, clusters: null, hosts: null
- 2015-04-17 16:26:34,463 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@4f7533d2
- 2015-04-17 16:26:34,463 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2015-04-17 16:26:34,463 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 16:26:34,463 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:34,463 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) 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 16:26:34,482 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 16:26:34,482 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:34,489 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-4-Routing], Host[-3-Routing], Host[-1-Routing], Host[-2-Routing], Host[-5-Routing]]
- 2015-04-17 16:26:34,505 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-4-Routing], Host[-3-Routing], Host[-1-Routing], Host[-2-Routing], Host[-5-Routing]]
- 2015-04-17 16:26:34,505 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2015-04-17 16:26:34,518 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:34,518 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:34,524 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:34,524 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:34,524 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:34,524 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:34,524 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:34,524 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:34,524 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2015-04-17 16:26:34,538 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:34,538 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:34,542 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:34,542 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:34,542 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:34,542 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:34,542 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:34,542 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:34,542 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2015-04-17 16:26:34,552 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:34,552 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:34,555 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:34,555 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:34,555 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:34,555 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:34,555 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:34,555 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:34,555 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2015-04-17 16:26:34,565 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:34,565 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:34,569 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:34,569 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:34,569 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:34,569 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:34,569 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:34,569 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:34,569 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2015-04-17 16:26:34,582 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:34,582 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:34,587 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:34,587 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:34,587 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:34,587 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:34,587 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:34,587 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:34,587 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2015-04-17 16:26:34,587 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2015-04-17 16:26:34,590 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2015-04-17 16:26:34,590 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) We need to allocate new storagepool for this volume
- 2015-04-17 16:26:34,590 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 16:26:34,593 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 16:26:34,593 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 16:26:34,593 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:34,596 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 16:26:34,598 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 16:26:34,601 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 16:26:34,609 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 16:26:34,618 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool: 1 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 16:26:34,618 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 16:26:34,618 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 16:26:34,618 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking if host: 4 can access any suitable storage pool for volume: ROOT
- 2015-04-17 16:26:34,619 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Host: 4 can access pool: 1
- 2015-04-17 16:26:34,620 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Found a potential host id: 4 name: cloud-host10.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 16:26:34,622 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:34,622 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deployment found - P0=VM[ConsoleProxy|v-1-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(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:34,641 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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 16:26:34,657 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:34,657 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) We are allocating VM, increasing the used capacity of this host:4
- 2015-04-17 16:26:34,657 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2015-04-17 16:26:34,657 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 1073741824
- 2015-04-17 16:26:34,657 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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 16:26:34,657 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) RAM STATS after allocation: for host: 4, old used: 0, old reserved: 0, total: 130926600192; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2015-04-17 16:26:34,665 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM is being created in podId: 1
- 2015-04-17 16:26:34,674 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=200 is already implemented
- 2015-04-17 16:26:34,720 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=202 is already implemented
- 2015-04-17 16:26:34,780 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=201 is already implemented
- 2015-04-17 16:26:34,834 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Allocated a nic NicProfile[3-1-3f6bfca8-6c31-4d67-a2a0-d9312e19a522-10.3.4.199-null for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:34,848 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:34,848 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-f7031e2e) Zone 1 is ready to launch secondary storage VM
- 2015-04-17 16:26:34,860 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-f7031e2e) No running secondary storage vms found in datacenter id=1, starting one
- 2015-04-17 16:26:34,872 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-f7031e2e) No stopped secondary storage vm is available, need to allocate a new secondary storage vm
- 2015-04-17 16:26:34,877 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Image
- 2015-04-17 16:26:34,877 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-f7031e2e) Assign secondary storage vm from a newly started instance for request from data center : 1
- 2015-04-17 16:26:34,887 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9ae426f7) Not found (templateId:1poolId:1) in template_spool_ref, persisting it
- 2015-04-17 16:26:34,900 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Primary
- 2015-04-17 16:26:34,903 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Found existing network configuration for offering [Network Offering [1-Public-System-Public-Network]: Ntwk[200|Public|1]
- 2015-04-17 16:26:34,903 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Releasing lock for Acct[444824f0-e439-11e4-b2f4-8e87d1b74cef-system]
- 2015-04-17 16:26:34,904 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 153
- 2015-04-17 16:26:34,916 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Found existing network configuration for offering [Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3]
- 2015-04-17 16:26:34,916 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Releasing lock for Acct[444824f0-e439-11e4-b2f4-8e87d1b74cef-system]
- 2015-04-17 16:26:34,918 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Acquire lock on VMTemplateStoragePool 153 with timeout 3600 seconds
- 2015-04-17 16:26:34,922 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) lock is acquired for VMTemplateStoragePool 153
- 2015-04-17 16:26:34,922 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Found existing network configuration for offering [Network Offering [2-Management-System-Management-Network]: Ntwk[201|Management|2]
- 2015-04-17 16:26:34,922 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Releasing lock for Acct[444824f0-e439-11e4-b2f4-8e87d1b74cef-system]
- 2015-04-17 16:26:34,928 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Found existing network configuration for offering [Network Offering [4-Storage-System-Storage-Network]: Ntwk[203|Storage|4]
- 2015-04-17 16:26:34,928 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Releasing lock for Acct[444824f0-e439-11e4-b2f4-8e87d1b74cef-system]
- 2015-04-17 16:26:34,935 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9ae426f7) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2015-04-17 16:26:34,959 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 3-1753874534: Sending { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), 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 16:26:34,959 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 3-1753874534: Executing: { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), 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 16:26:34,960 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-313:ctx-10d974ee) Seq 3-1753874534: Executing request
- 2015-04-17 16:26:34,974 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Allocating entries for VM: VM[SecondaryStorageVm|s-33-VM]
- 2015-04-17 16:26:34,980 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Allocating nics for VM[SecondaryStorageVm|s-33-VM]
- 2015-04-17 16:26:34,982 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Allocating nic for vm VM[SecondaryStorageVm|s-33-VM] in network Ntwk[200|Public|1] with requested profile NicProfile[0-0-null-null-null
- 2015-04-17 16:26:35,011 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Allocating nic for vm VM[SecondaryStorageVm|s-33-VM] in network Ntwk[202|Control|3] with requested profile null
- 2015-04-17 16:26:35,026 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Allocating nic for vm VM[SecondaryStorageVm|s-33-VM] in network Ntwk[201|Management|2] with requested profile null
- 2015-04-17 16:26:35,049 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Allocating nic for vm VM[SecondaryStorageVm|s-33-VM] in network Ntwk[203|Storage|4] with requested profile null
- 2015-04-17 16:26:35,073 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Allocating disks for VM[SecondaryStorageVm|s-33-VM]
- 2015-04-17 16:26:35,088 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Allocation completed for VM: VM[SecondaryStorageVm|s-33-VM]
- 2015-04-17 16:26:35,108 DEBUG [c.c.a.SecondaryStorageVmAlertAdapter] (secstorage-1:ctx-f7031e2e) received secondary storage vm alert
- 2015-04-17 16:26:35,108 DEBUG [c.c.a.SecondaryStorageVmAlertAdapter] (secstorage-1:ctx-f7031e2e) New secondary storage vm created, zone: CGG-CLOUD-ZONE, secStorageVm: s-33-VM, public IP: null, private IP: null
- 2015-04-17 16:26:35,145 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) 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 16:26:35,145 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Successfully transitioned to start state for VM[SecondaryStorageVm|s-33-VM] reservation id = 40b537fe-2625-49fe-bdfe-55758da77455
- 2015-04-17 16:26:35,155 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Trying to deploy VM, vm has dcId: 1 and podId: null
- 2015-04-17 16:26:35,155 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Deploy avoids pods: null, clusters: null, hosts: null
- 2015-04-17 16:26:35,164 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Deploy avoids pods: null, clusters: null, hosts: null
- 2015-04-17 16:26:35,166 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@4f7533d2
- 2015-04-17 16:26:35,166 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 500, requested ram: 536870912
- 2015-04-17 16:26:35,166 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 16:26:35,167 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-f7031e2e) Searching all possible resources under this Zone: 1
- 2015-04-17 16:26:35,169 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-f7031e2e) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
- 2015-04-17 16:26:35,186 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 16:26:35,187 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:35,195 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-3-Routing], Host[-5-Routing], Host[-1-Routing], Host[-2-Routing], Host[-4-Routing]]
- 2015-04-17 16:26:35,209 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-3-Routing], Host[-5-Routing], Host[-1-Routing], Host[-2-Routing], Host[-4-Routing]]
- 2015-04-17 16:26:35,209 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
- 2015-04-17 16:26:35,223 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:35,223 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:35,228 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:35,228 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:35,228 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 16:26:35,228 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:35,228 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e 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 16:26:35,228 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e 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 16:26:35,228 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2015-04-17 16:26:35,242 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:35,242 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:35,247 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:35,247 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:35,247 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 16:26:35,247 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:35,247 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e 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 16:26:35,247 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e 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 16:26:35,247 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2015-04-17 16:26:35,261 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:35,261 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:35,266 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:35,266 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:35,266 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 16:26:35,266 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:35,266 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e 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 16:26:35,266 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e 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 16:26:35,266 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2015-04-17 16:26:35,280 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:35,280 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:35,285 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:35,285 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:35,285 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2015-04-17 16:26:35,285 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:35,285 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e 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 16:26:35,285 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e 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 16:26:35,285 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2015-04-17 16:26:35,300 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:35,300 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:35,305 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:35,305 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2015-04-17 16:26:35,305 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Free RAM: 129852858368 , Requested RAM: 536870912
- 2015-04-17 16:26:35,305 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:35,305 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 4, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:35,305 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 1073741824, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:35,305 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2015-04-17 16:26:35,305 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-f7031e2e FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2015-04-17 16:26:35,308 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Checking suitable pools for volume (Id, Type): (33,ROOT)
- 2015-04-17 16:26:35,308 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) We need to allocate new storagepool for this volume
- 2015-04-17 16:26:35,308 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 16:26:35,310 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (secstorage-1:ctx-f7031e2e) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 16:26:35,310 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-f7031e2e) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 16:26:35,310 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-f7031e2e) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:35,314 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-f7031e2e) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 16:26:35,317 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-f7031e2e) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 16:26:35,320 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (secstorage-1:ctx-f7031e2e) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 16:26:35,327 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-f7031e2e) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 16:26:35,337 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-f7031e2e) Checking pool: 1 for volume allocation [Vol[33|vm=33|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 16:26:35,337 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-f7031e2e) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 16:26:35,337 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 16:26:35,337 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Checking if host: 3 can access any suitable storage pool for volume: ROOT
- 2015-04-17 16:26:35,338 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Host: 3 can access pool: 1
- 2015-04-17 16:26:35,339 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) Found a potential host id: 3 name: cloud-host9.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 16:26:35,341 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-f7031e2e) 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(3)-Storage(Volume(33|ROOT-->Pool(1))]
- 2015-04-17 16:26:35,341 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Deployment found - P0=VM[SecondaryStorageVm|s-33-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(3)-Storage(Volume(33|ROOT-->Pool(1))]
- 2015-04-17 16:26:35,360 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 3 host id before state transition: null
- 2015-04-17 16:26:35,378 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:35,378 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) We are allocating VM, increasing the used capacity of this host:3
- 2015-04-17 16:26:35,378 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2015-04-17 16:26:35,378 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 536870912
- 2015-04-17 16:26:35,378 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) CPU STATS after allocation: for host: 3, 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 16:26:35,378 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) RAM STATS after allocation: for host: 3, old used: 0, old reserved: 0, total: 130926600192; new used: 536870912, reserved: 0; requested mem: 536870912,alloc_from_last:false
- 2015-04-17 16:26:35,386 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) VM is being created in podId: 1
- 2015-04-17 16:26:35,396 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Network id=200 is already implemented
- 2015-04-17 16:26:35,445 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Network id=202 is already implemented
- 2015-04-17 16:26:35,499 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Network id=201 is already implemented
- 2015-04-17 16:26:35,549 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-f7031e2e) Allocated a nic NicProfile[130-33-40b537fe-2625-49fe-bdfe-55758da77455-10.3.4.111-null for VM[SecondaryStorageVm|s-33-VM]
- 2015-04-17 16:26:35,564 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-f7031e2e) Network id=203 is already implemented
- 2015-04-17 16:26:35,614 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-f7031e2e) Allocated a nic NicProfile[131-33-40b537fe-2625-49fe-bdfe-55758da77455-10.3.4.137-null for VM[SecondaryStorageVm|s-33-VM]
- 2015-04-17 16:26:35,627 DEBUG [o.a.c.e.o.VolumeOrchestrator] (secstorage-1:ctx-f7031e2e) Checking if we need to prepare 1 volumes for VM[SecondaryStorageVm|s-33-VM]
- 2015-04-17 16:26:35,651 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-f7031e2e) template 1 is already in store:1, type:Image
- 2015-04-17 16:26:35,664 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-f7031e2e) template 1 is already in store:1, type:Primary
- 2015-04-17 16:26:35,667 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-f7031e2e) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 153
- 2015-04-17 16:26:35,678 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-f7031e2e) Acquire lock on VMTemplateStoragePool 153 with timeout 3600 seconds
- 2015-04-17 16:26:37,130 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-313:ctx-10d974ee) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-3ceef8dc-f5af-49be-9361-1d908b4e9879
- 2015-04-17 16:26:37,136 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-313:ctx-10d974ee) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 16:26:37,136 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-313:ctx-10d974ee) 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 16:26:37,137 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-313:ctx-10d974ee) Seq 3-1753874534: Response Received:
- 2015-04-17 16:26:37,137 DEBUG [c.c.a.t.Request] (DirectAgent-313:ctx-10d974ee) Seq 3-1753874534: Processing: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"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","wait":0}}] }
- 2015-04-17 16:26:37,138 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 3-1753874534: Received: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2015-04-17 16:26:37,155 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) releasing lock for VMTemplateStoragePool 153
- 2015-04-17 16:26:37,156 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9ae426f7) Was unable to find lock for the key template_spool_ref153 and thread id 2071784721
- 2015-04-17 16:26:37,156 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Unable to create Vol[1|vm=1|ROOT]: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
- 2015-04-17 16:26:37,156 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]: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
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
- 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.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
- 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 16:26:37,162 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:37,167 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 4-283115610: Sending { Cmd , MgmtId: 46618217624527, via: 4(cloud-host10.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:37,167 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 4-283115610: Executing: { Cmd , MgmtId: 46618217624527, via: 4(cloud-host10.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:37,167 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-479:ctx-7b485667) Seq 4-283115610: Executing request
- 2015-04-17 16:26:37,281 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-479:ctx-7b485667) VM does not exist on XenServer34da61e1-04e7-40e2-b8f4-40c0157dca28
- 2015-04-17 16:26:37,282 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-479:ctx-7b485667) Seq 4-283115610: Response Received:
- 2015-04-17 16:26:37,282 DEBUG [c.c.a.t.Request] (DirectAgent-479:ctx-7b485667) Seq 4-283115610: Processing: { Ans: , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 16:26:37,282 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 4-283115610: Received: { Ans: , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 16:26:37,300 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[2-1-null-null-null
- 2015-04-17 16:26:37,317 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9ae426f7) Releasing ip address for reservationId=3f6bfca8-6c31-4d67-a2a0-d9312e19a522, instance=3
- 2015-04-17 16:26:37,318 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[3-1-null-null-null
- 2015-04-17 16:26:37,327 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:37,327 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:37,333 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deploy avoids pods: null, clusters: null, hosts: [4]
- 2015-04-17 16:26:37,336 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@4f7533d2
- 2015-04-17 16:26:37,336 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2015-04-17 16:26:37,336 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 16:26:37,336 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:37,336 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) 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 16:26:37,354 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 16:26:37,355 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:37,363 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-2-Routing], Host[-3-Routing], Host[-4-Routing], Host[-1-Routing], Host[-5-Routing]]
- 2015-04-17 16:26:37,379 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-2-Routing], Host[-3-Routing], Host[-4-Routing], Host[-1-Routing], Host[-5-Routing]]
- 2015-04-17 16:26:37,379 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2015-04-17 16:26:37,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:37,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:37,396 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:37,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:37,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:37,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:37,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:37,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:37,397 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2015-04-17 16:26:37,410 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:37,410 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:37,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:37,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2015-04-17 16:26:37,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130389729280 , Requested RAM: 1073741824
- 2015-04-17 16:26:37,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:37,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 3, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:37,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 536870912, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:37,416 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2015-04-17 16:26:37,416 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:37,431 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:37,432 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:37,436 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:37,437 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:37,437 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:37,437 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:37,437 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:37,437 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:37,437 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2015-04-17 16:26:37,450 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:37,450 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:37,456 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:37,456 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:37,456 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:37,456 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:37,456 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:37,456 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:37,456 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2015-04-17 16:26:37,456 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host Allocator returning 4 suitable hosts
- 2015-04-17 16:26:37,459 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2015-04-17 16:26:37,459 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) We need to allocate new storagepool for this volume
- 2015-04-17 16:26:37,459 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 16:26:37,461 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 16:26:37,462 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 16:26:37,462 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:37,464 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 16:26:37,467 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 16:26:37,470 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 16:26:37,478 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 16:26:37,488 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool: 1 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 16:26:37,488 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 16:26:37,488 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 16:26:37,488 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking if host: 2 can access any suitable storage pool for volume: ROOT
- 2015-04-17 16:26:37,489 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Host: 2 can access pool: 1
- 2015-04-17 16:26:37,490 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Found a potential host id: 2 name: cloud-host1.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 16:26:37,492 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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(2)-Storage(Volume(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:37,492 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deployment found - P0=VM[ConsoleProxy|v-1-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(2)-Storage(Volume(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:37,512 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 2 host id before state transition: 4
- 2015-04-17 16:26:37,525 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:37,525 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 16:26:37,525 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) release cpu from host: 4, old used: 500,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:37,525 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) release mem from host: 4, old used: 1073741824,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:37,547 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:37,547 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) We are allocating VM, increasing the used capacity of this host:2
- 2015-04-17 16:26:37,547 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2015-04-17 16:26:37,547 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 1073741824
- 2015-04-17 16:26:37,547 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) CPU STATS after allocation: for host: 2, 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 16:26:37,547 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) RAM STATS after allocation: for host: 2, old used: 0, old reserved: 0, total: 130926600192; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2015-04-17 16:26:37,554 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM is being created in podId: 1
- 2015-04-17 16:26:37,563 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=200 is already implemented
- 2015-04-17 16:26:37,610 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=202 is already implemented
- 2015-04-17 16:26:37,669 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=201 is already implemented
- 2015-04-17 16:26:37,716 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Allocated a nic NicProfile[3-1-3f6bfca8-6c31-4d67-a2a0-d9312e19a522-10.3.4.133-null for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:37,729 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:37,754 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Image
- 2015-04-17 16:26:37,764 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9ae426f7) Not found (templateId:1poolId:1) in template_spool_ref, persisting it
- 2015-04-17 16:26:37,779 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Primary
- 2015-04-17 16:26:37,782 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 154
- 2015-04-17 16:26:37,794 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Acquire lock on VMTemplateStoragePool 154 with timeout 3600 seconds
- 2015-04-17 16:26:37,797 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) lock is acquired for VMTemplateStoragePool 154
- 2015-04-17 16:26:37,810 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9ae426f7) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2015-04-17 16:26:37,832 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 5-1993146461: Sending { Cmd , MgmtId: 46618217624527, via: 5(cloud-host3.cgg.gov.in), 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 16:26:37,832 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 5-1993146461: Executing: { Cmd , MgmtId: 46618217624527, via: 5(cloud-host3.cgg.gov.in), 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 16:26:37,833 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-480:ctx-5c1b21df) Seq 5-1993146461: Executing request
- 2015-04-17 16:26:39,996 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-480:ctx-5c1b21df) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-fb5929c2-3a1c-446c-86bc-6280082f9adf
- 2015-04-17 16:26:39,997 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-480:ctx-5c1b21df) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 16:26:39,998 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-480:ctx-5c1b21df) 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 16:26:39,999 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-480:ctx-5c1b21df) Seq 5-1993146461: Response Received:
- 2015-04-17 16:26:39,999 DEBUG [c.c.a.t.Request] (DirectAgent-480:ctx-5c1b21df) Seq 5-1993146461: Processing: { Ans: , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"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","wait":0}}] }
- 2015-04-17 16:26:39,999 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 5-1993146461: Received: { Ans: , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2015-04-17 16:26:40,023 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) releasing lock for VMTemplateStoragePool 154
- 2015-04-17 16:26:40,024 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9ae426f7) Was unable to find lock for the key template_spool_ref154 and thread id 2071784721
- 2015-04-17 16:26:40,024 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Unable to create Vol[1|vm=1|ROOT]: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
- 2015-04-17 16:26:40,024 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]: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
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
- 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.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
- 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 16:26:40,032 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:40,038 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 2-1843462232: Sending { Cmd , MgmtId: 46618217624527, via: 2(cloud-host1.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:40,038 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 2-1843462232: Executing: { Cmd , MgmtId: 46618217624527, via: 2(cloud-host1.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:40,039 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-481:ctx-c12847b6) Seq 2-1843462232: Executing request
- 2015-04-17 16:26:40,119 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-481:ctx-c12847b6) VM does not exist on XenServer23e67e4d-e952-40f3-a646-3a4e782d2db1
- 2015-04-17 16:26:40,119 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-481:ctx-c12847b6) Seq 2-1843462232: Response Received:
- 2015-04-17 16:26:40,119 DEBUG [c.c.a.t.Request] (DirectAgent-481:ctx-c12847b6) Seq 2-1843462232: Processing: { Ans: , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 16:26:40,119 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 2-1843462232: Received: { Ans: , MgmtId: 46618217624527, via: 2, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 16:26:40,143 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[2-1-null-null-null
- 2015-04-17 16:26:40,167 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9ae426f7) Releasing ip address for reservationId=3f6bfca8-6c31-4d67-a2a0-d9312e19a522, instance=3
- 2015-04-17 16:26:40,169 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[3-1-null-null-null
- 2015-04-17 16:26:40,179 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:40,180 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:40,193 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deploy avoids pods: null, clusters: null, hosts: [2, 4]
- 2015-04-17 16:26:40,195 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@4f7533d2
- 2015-04-17 16:26:40,195 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2015-04-17 16:26:40,195 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 16:26:40,196 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:40,196 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) 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 16:26:40,217 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 16:26:40,217 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:40,225 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-4-Routing], Host[-5-Routing], Host[-2-Routing], Host[-1-Routing], Host[-3-Routing]]
- 2015-04-17 16:26:40,249 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-4-Routing], Host[-5-Routing], Host[-2-Routing], Host[-1-Routing], Host[-3-Routing]]
- 2015-04-17 16:26:40,249 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2015-04-17 16:26:40,249 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:40,266 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:40,266 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:40,273 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:40,273 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:40,273 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:40,273 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:40,273 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:40,273 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:40,273 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2015-04-17 16:26:40,274 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host1.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:40,290 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:40,290 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:40,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:40,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:40,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:40,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:40,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:40,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:40,294 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2015-04-17 16:26:40,307 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:40,307 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:40,318 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:40,318 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2015-04-17 16:26:40,318 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130389729280 , Requested RAM: 1073741824
- 2015-04-17 16:26:40,318 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:40,318 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 3, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:40,318 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 536870912, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:40,318 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2015-04-17 16:26:40,318 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host Allocator returning 3 suitable hosts
- 2015-04-17 16:26:40,323 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2015-04-17 16:26:40,323 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) We need to allocate new storagepool for this volume
- 2015-04-17 16:26:40,323 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 16:26:40,325 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 16:26:40,325 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 16:26:40,325 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:40,328 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 16:26:40,331 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 16:26:40,333 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 16:26:40,343 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 16:26:40,354 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool: 1 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 16:26:40,354 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 16:26:40,354 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 16:26:40,354 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking if host: 5 can access any suitable storage pool for volume: ROOT
- 2015-04-17 16:26:40,355 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Host: 5 can access pool: 1
- 2015-04-17 16:26:40,357 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Found a potential host id: 5 name: cloud-host3.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 16:26:40,358 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:40,358 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deployment found - P0=VM[ConsoleProxy|v-1-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(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:40,386 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 5 host id before state transition: 2
- 2015-04-17 16:26:40,401 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:40,401 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 16:26:40,401 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) release cpu from host: 2, old used: 500,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:40,401 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) release mem from host: 2, old used: 1073741824,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:40,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:40,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) We are allocating VM, increasing the used capacity of this host:5
- 2015-04-17 16:26:40,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2015-04-17 16:26:40,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 1073741824
- 2015-04-17 16:26:40,427 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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 16:26:40,427 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) RAM STATS after allocation: for host: 5, old used: 0, old reserved: 0, total: 130926600192; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2015-04-17 16:26:40,434 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM is being created in podId: 1
- 2015-04-17 16:26:40,444 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=200 is already implemented
- 2015-04-17 16:26:40,490 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=202 is already implemented
- 2015-04-17 16:26:40,548 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=201 is already implemented
- 2015-04-17 16:26:40,597 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Allocated a nic NicProfile[3-1-3f6bfca8-6c31-4d67-a2a0-d9312e19a522-10.3.4.141-null for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:40,610 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:40,636 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Image
- 2015-04-17 16:26:40,645 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9ae426f7) Not found (templateId:1poolId:1) in template_spool_ref, persisting it
- 2015-04-17 16:26:40,657 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Primary
- 2015-04-17 16:26:40,659 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 155
- 2015-04-17 16:26:40,671 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Acquire lock on VMTemplateStoragePool 155 with timeout 3600 seconds
- 2015-04-17 16:26:40,675 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) lock is acquired for VMTemplateStoragePool 155
- 2015-04-17 16:26:40,683 INFO [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-f7031e2e) Unable to acquire lock on VMTemplateStoragePool 153
- 2015-04-17 16:26:40,686 ERROR [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Failed to start instance VM[SecondaryStorageVm|s-33-VM]
- com.cloud.utils.exception.CloudRuntimeException: Unable to acquire lock on VMTemplateStoragePool: 153
- 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 16:26:40,688 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9ae426f7) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2015-04-17 16:26:40,694 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Cleaning up resources for the vm VM[SecondaryStorageVm|s-33-VM] in Starting state
- 2015-04-17 16:26:40,699 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-f7031e2e) Seq 3-1753874535: Sending { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-33-VM","wait":0}}] }
- 2015-04-17 16:26:40,699 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-f7031e2e) Seq 3-1753874535: Executing: { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-33-VM","wait":0}}] }
- 2015-04-17 16:26:40,699 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-482:ctx-e29afe01) Seq 3-1753874535: Executing request
- 2015-04-17 16:26:40,715 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 1-439550050: Sending { Cmd , MgmtId: 46618217624527, via: 1(cloud-host2.cgg.gov.in), 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 16:26:40,715 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 1-439550050: Executing: { Cmd , MgmtId: 46618217624527, via: 1(cloud-host2.cgg.gov.in), 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 16:26:40,716 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-133:ctx-2e20e732) Seq 1-439550050: Executing request
- 2015-04-17 16:26:40,810 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-482:ctx-e29afe01) VM does not exist on XenServer1d86cc04-ef64-48d9-b00c-734c21144945
- 2015-04-17 16:26:40,810 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-482:ctx-e29afe01) Seq 3-1753874535: Response Received:
- 2015-04-17 16:26:40,810 DEBUG [c.c.a.t.Request] (DirectAgent-482:ctx-e29afe01) Seq 3-1753874535: Processing: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 16:26:40,810 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-f7031e2e) Seq 3-1753874535: Received: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 16:26:40,837 DEBUG [c.c.n.g.ControlNetworkGuru] (secstorage-1:ctx-f7031e2e) Released nic: NicProfile[129-33-null-null-null
- 2015-04-17 16:26:40,856 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-f7031e2e) Releasing ip address for reservationId=40b537fe-2625-49fe-bdfe-55758da77455, instance=130
- 2015-04-17 16:26:40,857 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-f7031e2e) Released nic: NicProfile[130-33-null-null-null
- 2015-04-17 16:26:40,879 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-f7031e2e) Releasing ip address for reservationId=40b537fe-2625-49fe-bdfe-55758da77455, instance=131
- 2015-04-17 16:26:40,880 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-f7031e2e) Released nic: NicProfile[131-33-null-null-null
- 2015-04-17 16:26:40,890 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Successfully released network resources for the vm VM[SecondaryStorageVm|s-33-VM]
- 2015-04-17 16:26:40,890 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-f7031e2e) Successfully cleanued up resources for the vm VM[SecondaryStorageVm|s-33-VM] in Starting state
- 2015-04-17 16:26:40,920 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 3
- 2015-04-17 16:26:40,933 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:40,933 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 16:26:40,934 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) release cpu from host: 3, old used: 500,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:40,934 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-f7031e2e) release mem from host: 3, old used: 536870912,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:40,943 WARN [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-f7031e2e) Exception while trying to start secondary storage vm
- com.cloud.exception.AgentUnavailableException: Resource [Host:3] is unreachable: Host 3: Unable to start instance due to Unable to acquire lock on VMTemplateStoragePool: 153
- 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: 153
- 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 16:26:40,945 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-f7031e2e) Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 33, will recycle it and start a new one
- 2015-04-17 16:26:40,945 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-f7031e2e) Primary secondary storage is not even started, wait until next turn
- 2015-04-17 16:26:42,889 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-133:ctx-2e20e732) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-c17f4cce-ba59-4b04-90d1-e7cf11793fc2
- 2015-04-17 16:26:42,889 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-133:ctx-2e20e732) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 16:26:42,889 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-133:ctx-2e20e732) 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 16:26:42,890 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-133:ctx-2e20e732) Seq 1-439550050: Response Received:
- 2015-04-17 16:26:42,891 DEBUG [c.c.a.t.Request] (DirectAgent-133:ctx-2e20e732) Seq 1-439550050: Processing: { Ans: , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"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","wait":0}}] }
- 2015-04-17 16:26:42,891 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 1-439550050: Received: { Ans: , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2015-04-17 16:26:42,912 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) releasing lock for VMTemplateStoragePool 155
- 2015-04-17 16:26:42,913 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9ae426f7) Was unable to find lock for the key template_spool_ref155 and thread id 2071784721
- 2015-04-17 16:26:42,913 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Unable to create Vol[1|vm=1|ROOT]: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
- 2015-04-17 16:26:42,913 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]: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
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
- 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.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
- 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 16:26:42,932 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:42,937 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 5-1993146462: Sending { Cmd , MgmtId: 46618217624527, via: 5(cloud-host3.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:42,938 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 5-1993146462: Executing: { Cmd , MgmtId: 46618217624527, via: 5(cloud-host3.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:42,938 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-484:ctx-1ce85103) Seq 5-1993146462: Executing request
- 2015-04-17 16:26:43,050 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-484:ctx-1ce85103) VM does not exist on XenServer0083e31e-13d1-4e07-96a4-3594d789e1d8
- 2015-04-17 16:26:43,050 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-484:ctx-1ce85103) Seq 5-1993146462: Response Received:
- 2015-04-17 16:26:43,050 DEBUG [c.c.a.t.Request] (DirectAgent-484:ctx-1ce85103) Seq 5-1993146462: Processing: { Ans: , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 16:26:43,050 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 5-1993146462: Received: { Ans: , MgmtId: 46618217624527, via: 5, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 16:26:43,074 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[2-1-null-null-null
- 2015-04-17 16:26:43,092 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9ae426f7) Releasing ip address for reservationId=3f6bfca8-6c31-4d67-a2a0-d9312e19a522, instance=3
- 2015-04-17 16:26:43,093 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[3-1-null-null-null
- 2015-04-17 16:26:43,104 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:43,104 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:43,111 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deploy avoids pods: null, clusters: null, hosts: [2, 4, 5]
- 2015-04-17 16:26:43,113 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@4f7533d2
- 2015-04-17 16:26:43,113 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2015-04-17 16:26:43,113 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 16:26:43,113 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:43,113 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) 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 16:26:43,131 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 16:26:43,131 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:43,138 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-1-Routing], Host[-4-Routing], Host[-3-Routing], Host[-5-Routing], Host[-2-Routing]]
- 2015-04-17 16:26:43,154 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-1-Routing], Host[-4-Routing], Host[-3-Routing], Host[-5-Routing], Host[-2-Routing]]
- 2015-04-17 16:26:43,154 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2015-04-17 16:26:43,168 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:43,168 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:43,174 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:43,174 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:43,174 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:43,174 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:43,174 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:43,174 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:43,174 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2015-04-17 16:26:43,174 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:43,188 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:43,188 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:43,194 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:43,194 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:43,194 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:43,194 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:43,194 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:43,194 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:43,194 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2015-04-17 16:26:43,194 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host3.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:43,194 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host1.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:43,194 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host Allocator returning 2 suitable hosts
- 2015-04-17 16:26:43,197 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2015-04-17 16:26:43,197 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) We need to allocate new storagepool for this volume
- 2015-04-17 16:26:43,197 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 16:26:43,199 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 16:26:43,199 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 16:26:43,199 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:43,205 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 16:26:43,208 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 16:26:43,210 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 16:26:43,219 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 16:26:43,228 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool: 1 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 16:26:43,228 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 16:26:43,228 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 16:26:43,228 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking if host: 1 can access any suitable storage pool for volume: ROOT
- 2015-04-17 16:26:43,229 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Host: 1 can access pool: 1
- 2015-04-17 16:26:43,230 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Found a potential host id: 1 name: cloud-host2.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 16:26:43,232 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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(1)-Storage(Volume(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:43,232 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deployment found - P0=VM[ConsoleProxy|v-1-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(1)-Storage(Volume(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:43,256 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 1 host id before state transition: 5
- 2015-04-17 16:26:43,269 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:43,269 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 16:26:43,269 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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 16:26:43,269 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) release mem from host: 5, old used: 1073741824,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:43,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:43,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) We are allocating VM, increasing the used capacity of this host:1
- 2015-04-17 16:26:43,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2015-04-17 16:26:43,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 1073741824
- 2015-04-17 16:26:43,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) CPU STATS after allocation: for host: 1, 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 16:26:43,294 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) RAM STATS after allocation: for host: 1, old used: 0, old reserved: 0, total: 130926600192; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2015-04-17 16:26:43,302 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM is being created in podId: 1
- 2015-04-17 16:26:43,310 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=200 is already implemented
- 2015-04-17 16:26:43,360 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=202 is already implemented
- 2015-04-17 16:26:43,418 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=201 is already implemented
- 2015-04-17 16:26:43,469 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Allocated a nic NicProfile[3-1-3f6bfca8-6c31-4d67-a2a0-d9312e19a522-10.3.4.170-null for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:43,482 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:43,506 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Image
- 2015-04-17 16:26:43,515 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9ae426f7) Not found (templateId:1poolId:1) in template_spool_ref, persisting it
- 2015-04-17 16:26:43,528 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Primary
- 2015-04-17 16:26:43,531 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 156
- 2015-04-17 16:26:43,544 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Acquire lock on VMTemplateStoragePool 156 with timeout 3600 seconds
- 2015-04-17 16:26:43,547 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) lock is acquired for VMTemplateStoragePool 156
- 2015-04-17 16:26:43,561 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9ae426f7) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2015-04-17 16:26:43,582 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 3-1753874536: Sending { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), 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 16:26:43,583 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 3-1753874536: Executing: { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), 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 16:26:43,583 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-485:ctx-c1c9774c) Seq 3-1753874536: Executing request
- 2015-04-17 16:26:45,029 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-8ff0dfa0) Found 0 routers to update status.
- 2015-04-17 16:26:45,033 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-8ff0dfa0) Found 0 networks to update RvR status.
- 2015-04-17 16:26:45,750 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-485:ctx-c1c9774c) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-cced1a95-70e4-4198-8543-573334c1a395
- 2015-04-17 16:26:45,751 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-485:ctx-c1c9774c) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 16:26:45,751 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-485:ctx-c1c9774c) 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 16:26:45,752 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-485:ctx-c1c9774c) Seq 3-1753874536: Response Received:
- 2015-04-17 16:26:45,752 DEBUG [c.c.a.t.Request] (DirectAgent-485:ctx-c1c9774c) Seq 3-1753874536: Processing: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"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","wait":0}}] }
- 2015-04-17 16:26:45,752 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 3-1753874536: Received: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2015-04-17 16:26:45,771 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) releasing lock for VMTemplateStoragePool 156
- 2015-04-17 16:26:45,772 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9ae426f7) Was unable to find lock for the key template_spool_ref156 and thread id 2071784721
- 2015-04-17 16:26:45,772 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Unable to create Vol[1|vm=1|ROOT]: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
- 2015-04-17 16:26:45,772 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]: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
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
- 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.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
- 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 16:26:45,780 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:45,786 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 1-439550051: Sending { Cmd , MgmtId: 46618217624527, via: 1(cloud-host2.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:45,786 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 1-439550051: Executing: { Cmd , MgmtId: 46618217624527, via: 1(cloud-host2.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:45,787 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-321:ctx-7fca1d00) Seq 1-439550051: Executing request
- 2015-04-17 16:26:45,890 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-321:ctx-7fca1d00) VM does not exist on XenServer6b4ea60d-1501-446c-9507-86b9bd3dc8d6
- 2015-04-17 16:26:45,890 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-321:ctx-7fca1d00) Seq 1-439550051: Response Received:
- 2015-04-17 16:26:45,890 DEBUG [c.c.a.t.Request] (DirectAgent-321:ctx-7fca1d00) Seq 1-439550051: Processing: { Ans: , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 16:26:45,890 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 1-439550051: Received: { Ans: , MgmtId: 46618217624527, via: 1, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 16:26:45,913 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[2-1-null-null-null
- 2015-04-17 16:26:45,935 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9ae426f7) Releasing ip address for reservationId=3f6bfca8-6c31-4d67-a2a0-d9312e19a522, instance=3
- 2015-04-17 16:26:45,936 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[3-1-null-null-null
- 2015-04-17 16:26:45,944 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:45,944 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:45,951 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deploy avoids pods: null, clusters: null, hosts: [1, 2, 4, 5]
- 2015-04-17 16:26:45,954 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@4f7533d2
- 2015-04-17 16:26:45,954 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2015-04-17 16:26:45,954 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 16:26:45,954 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:45,954 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) 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 16:26:45,971 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 16:26:45,971 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:45,978 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-4-Routing], Host[-1-Routing], Host[-3-Routing], Host[-2-Routing], Host[-5-Routing]]
- 2015-04-17 16:26:45,992 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-4-Routing], Host[-1-Routing], Host[-3-Routing], Host[-2-Routing], Host[-5-Routing]]
- 2015-04-17 16:26:45,992 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2015-04-17 16:26:45,992 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:45,993 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host2.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:46,008 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2015-04-17 16:26:46,008 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2015-04-17 16:26:46,017 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:46,017 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2015-04-17 16:26:46,017 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2015-04-17 16:26:46,017 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2015-04-17 16:26:46,017 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 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 16:26:46,017 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2015-04-17 16:26:46,017 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2015-04-17 16:26:46,017 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host1.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:46,017 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host3.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:46,017 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host Allocator returning 1 suitable hosts
- 2015-04-17 16:26:46,020 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2015-04-17 16:26:46,020 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) We need to allocate new storagepool for this volume
- 2015-04-17 16:26:46,020 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Calling StoragePoolAllocators to find suitable pools
- 2015-04-17 16:26:46,023 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2015-04-17 16:26:46,023 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator looking for storage pool
- 2015-04-17 16:26:46,023 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Looking for pools in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:46,026 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Found pools matching tags: [Pool[1|PreSetup]]
- 2015-04-17 16:26:46,028 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Removing pool Pool[1|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2015-04-17 16:26:46,031 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) Checking if storage pool is suitable, name: null ,poolId: 1
- 2015-04-17 16:26:46,039 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool 1 for storage, totalSize: 1649254858752, usedBytes: 25165824, usedPct: 1.5258905478710012E-5, disable threshold: 0.85
- 2015-04-17 16:26:46,048 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking pool: 1 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2015-04-17 16:26:46,048 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9ae426f7) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2015-04-17 16:26:46,048 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2015-04-17 16:26:46,048 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking if host: 3 can access any suitable storage pool for volume: ROOT
- 2015-04-17 16:26:46,049 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Host: 3 can access pool: 1
- 2015-04-17 16:26:46,051 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Found a potential host id: 3 name: cloud-host9.cgg.gov.in and associated storage pools for this VM
- 2015-04-17 16:26:46,052 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) 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(3)-Storage(Volume(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:46,052 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deployment found - P0=VM[ConsoleProxy|v-1-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(3)-Storage(Volume(1|ROOT-->Pool(1))]
- 2015-04-17 16:26:46,073 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 3 host id before state transition: 1
- 2015-04-17 16:26:46,086 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:46,086 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 16:26:46,086 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) release cpu from host: 1, old used: 500,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:46,086 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) release mem from host: 1, old used: 1073741824,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:46,109 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:46,109 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) We are allocating VM, increasing the used capacity of this host:3
- 2015-04-17 16:26:46,109 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2015-04-17 16:26:46,109 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 1073741824
- 2015-04-17 16:26:46,109 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) CPU STATS after allocation: for host: 3, 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 16:26:46,109 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) RAM STATS after allocation: for host: 3, old used: 0, old reserved: 0, total: 130926600192; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2015-04-17 16:26:46,116 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM is being created in podId: 1
- 2015-04-17 16:26:46,126 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=200 is already implemented
- 2015-04-17 16:26:46,173 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=202 is already implemented
- 2015-04-17 16:26:46,233 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9ae426f7) Network id=201 is already implemented
- 2015-04-17 16:26:46,279 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Allocated a nic NicProfile[3-1-3f6bfca8-6c31-4d67-a2a0-d9312e19a522-10.3.4.105-null for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:46,291 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:46,319 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Image
- 2015-04-17 16:26:46,332 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9ae426f7) Not found (templateId:1poolId:1) in template_spool_ref, persisting it
- 2015-04-17 16:26:46,344 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9ae426f7) template 1 is already in store:1, type:Primary
- 2015-04-17 16:26:46,347 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Found template routing-1 in storage pool 1 with VMTemplateStoragePool id: 157
- 2015-04-17 16:26:46,358 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) Acquire lock on VMTemplateStoragePool 157 with timeout 3600 seconds
- 2015-04-17 16:26:46,363 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) lock is acquired for VMTemplateStoragePool 157
- 2015-04-17 16:26:46,375 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9ae426f7) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2015-04-17 16:26:46,395 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 4-283115611: Sending { Cmd , MgmtId: 46618217624527, via: 4(cloud-host10.cgg.gov.in), 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 16:26:46,396 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 4-283115611: Executing: { Cmd , MgmtId: 46618217624527, via: 4(cloud-host10.cgg.gov.in), 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 16:26:46,397 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-487:ctx-52fb845e) Seq 4-283115611: Executing request
- 2015-04-17 16:26:46,865 DEBUG [c.c.a.t.Request] (AgentManager-Handler-7:null) Seq 4-551616536: Executing: { Cmd , MgmtId: 50788518005399, via: 4, Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-33-VM","wait":0}}] }
- 2015-04-17 16:26:46,866 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-488:ctx-2407bdcb) Seq 4-551616536: Executing request
- 2015-04-17 16:26:46,973 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-488:ctx-2407bdcb) VM does not exist on XenServer34da61e1-04e7-40e2-b8f4-40c0157dca28
- 2015-04-17 16:26:46,973 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-488:ctx-2407bdcb) Seq 4-551616536: Response Received:
- 2015-04-17 16:26:46,974 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-488:ctx-2407bdcb) Seq 4-551616536: MgmtId 50788518005399: Resp: Routing to peer
- 2015-04-17 16:26:48,552 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-487:ctx-52fb845e) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-e1398a47-8e4b-4395-b955-4f81c9c1cc5c
- 2015-04-17 16:26:48,552 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-487:ctx-52fb845e) can not create vdi in sr 30d8270b-b490-28e7-af7e-35875f0a1d31
- 2015-04-17 16:26:48,552 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-487:ctx-52fb845e) 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 16:26:48,553 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-487:ctx-52fb845e) Seq 4-283115611: Response Received:
- 2015-04-17 16:26:48,553 DEBUG [c.c.a.t.Request] (DirectAgent-487:ctx-52fb845e) Seq 4-283115611: Processing: { Ans: , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"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","wait":0}}] }
- 2015-04-17 16:26:48,554 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 4-283115611: Received: { Ans: , MgmtId: 46618217624527, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2015-04-17 16:26:48,572 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9ae426f7) releasing lock for VMTemplateStoragePool 157
- 2015-04-17 16:26:48,573 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9ae426f7) Was unable to find lock for the key template_spool_ref157 and thread id 2071784721
- 2015-04-17 16:26:48,573 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9ae426f7) Unable to create Vol[1|vm=1|ROOT]: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
- 2015-04-17 16:26:48,573 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]: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
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
- 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.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
- 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 16:26:48,582 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:48,588 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 3-1753874537: Sending { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:48,588 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 3-1753874537: Executing: { Cmd , MgmtId: 46618217624527, via: 3(cloud-host9.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] }
- 2015-04-17 16:26:48,588 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-489:ctx-87fc6062) Seq 3-1753874537: Executing request
- 2015-04-17 16:26:48,696 INFO [c.c.h.x.r.CitrixResourceBase] (DirectAgent-489:ctx-87fc6062) VM does not exist on XenServer1d86cc04-ef64-48d9-b00c-734c21144945
- 2015-04-17 16:26:48,696 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-489:ctx-87fc6062) Seq 3-1753874537: Response Received:
- 2015-04-17 16:26:48,696 DEBUG [c.c.a.t.Request] (DirectAgent-489:ctx-87fc6062) Seq 3-1753874537: Processing: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2015-04-17 16:26:48,696 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9ae426f7) Seq 3-1753874537: Received: { Ans: , MgmtId: 46618217624527, via: 3, Ver: v1, Flags: 10, { StopAnswer } }
- 2015-04-17 16:26:48,718 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[2-1-null-null-null
- 2015-04-17 16:26:48,737 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9ae426f7) Releasing ip address for reservationId=3f6bfca8-6c31-4d67-a2a0-d9312e19a522, instance=3
- 2015-04-17 16:26:48,738 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9ae426f7) Released nic: NicProfile[3-1-null-null-null
- 2015-04-17 16:26:48,746 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2015-04-17 16:26:48,747 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9ae426f7) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2015-04-17 16:26:48,754 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Deploy avoids pods: null, clusters: null, hosts: [1, 2, 3, 4, 5]
- 2015-04-17 16:26:48,756 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@4f7533d2
- 2015-04-17 16:26:48,756 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2015-04-17 16:26:48,756 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Is ROOT volume READY (pool already allocated)?: No
- 2015-04-17 16:26:48,756 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:48,756 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) 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 16:26:48,773 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Checking resources in Cluster: 1 under Pod: 1
- 2015-04-17 16:26:48,773 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2015-04-17 16:26:48,781 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 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 16:26:48,797 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 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 16:26:48,797 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2015-04-17 16:26:48,797 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:48,797 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host3.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:48,797 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host9.cgg.gov.in, hostId: 3 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:48,797 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host1.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:48,797 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host name: cloud-host2.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2015-04-17 16:26:48,797 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9ae426f7 FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
- 2015-04-17 16:26:48,797 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) No suitable hosts found
- 2015-04-17 16:26:48,797 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) No suitable hosts found under this Cluster: 1
- 2015-04-17 16:26:48,800 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9ae426f7) Could not find suitable Deployment Destination for this VM under any clusters, returning.
- 2015-04-17 16:26:48,801 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) Searching resources only under specified Pod: 1
- 2015-04-17 16:26:48,801 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) 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 16:26:48,809 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) Removing from the clusterId list these clusters from avoid set: [1]
- 2015-04-17 16:26:48,809 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9ae426f7) No clusters found after removing disabled clusters and clusters in avoid list, returning.
- 2015-04-17 16:26:48,829 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 3
- 2015-04-17 16:26:48,844 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2015-04-17 16:26:48,844 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2015-04-17 16:26:48,844 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) release cpu from host: 3, old used: 500,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:48,844 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9ae426f7) release mem from host: 3, old used: 1073741824,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2015-04-17 16:26:48,853 WARN [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-9ae426f7) Exception while trying to start console proxy
- com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[ConsoleProxy|v-1-VM]Scope=interface com.cloud.dc.DataCenter; id=1
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:922)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
- at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
- at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
- at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
- 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)
Advertisement
Add Comment
Please, Sign In to add comment