Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===START=== 10.3.4.7 -- GET apiKey=BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg&command=listConfigurations&name=default.page.size&response=json&signature=xMOA0z46ZSJhwIOZ/GLVd1IlyjE%3D
- 2014-11-26 23:57:49,161 DEBUG [c.c.a.ApiServer] (catalina-exec-25:ctx-158f8382 ctx-b96daffa) apiKey does not map to a valid user -- ignoring request, apiKey: BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg
- 2014-11-26 23:57:49,162 DEBUG [c.c.a.ApiServlet] (catalina-exec-25:ctx-158f8382 ctx-b96daffa) ===END=== 10.3.4.7 -- GET apiKey=BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg&command=listConfigurations&name=default.page.size&response=json&signature=xMOA0z46ZSJhwIOZ/GLVd1IlyjE%3D
- 2014-11-26 23:57:49,162 DEBUG [c.c.a.ApiServer] (catalina-exec-9:ctx-e28adc04 ctx-97fd9e18) apiKey does not map to a valid user -- ignoring request, apiKey: BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg
- 2014-11-26 23:57:49,163 DEBUG [c.c.a.ApiServlet] (catalina-exec-9:ctx-e28adc04 ctx-97fd9e18) ===END=== 10.3.4.7 -- GET apiKey=BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg&command=listConfigurations&name=default.page.size&response=json&signature=xMOA0z46ZSJhwIOZ/GLVd1IlyjE%3D
- 2014-11-26 23:57:50,787 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null) Seq 2-2114716024: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:57:50,788 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-eaef1096) Seq 2-2114716024: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:57:50,811 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-eaef1096) releasing lock for VMTemplateStoragePool 659
- 2014-11-26 23:57:50,811 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-eaef1096) Was unable to find lock for the key template_spool_ref659 and thread id 1994469474
- 2014-11-26 23:57:50,812 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-eaef1096) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:57:50,812 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:57:50,820 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:57:50,830 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-eaef1096) Seq 3-1990132096: Forwarding Seq 3-1990132096: { Cmd , MgmtId: 226850023912365, via: 3(cloud-host8.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:57:50,909 DEBUG [c.c.a.t.Request] (AgentManager-Handler-13:null) Seq 3-1990132096: Processing: { Ans: , MgmtId: 226850023912365, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:57:50,909 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-eaef1096) Seq 3-1990132096: Received: { Ans: , MgmtId: 226850023912365, via: 3, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:57:50,935 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-eaef1096) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:57:50,956 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-eaef1096) Releasing ip address for reservationId=fdb32e4f-3c58-4819-92a7-f6b17b3af5d9, instance=3
- 2014-11-26 23:57:50,957 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-eaef1096) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:57:50,965 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:57:50,965 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:57:50,974 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Deploy avoids pods: null, clusters: null, hosts: [1, 3, 4, 5]
- 2014-11-26 23:57:50,977 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:57:50,977 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:57:50,977 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:57:50,977 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-eaef1096) Searching resources only under specified Pod: 1
- 2014-11-26 23:57:50,977 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-eaef1096) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:57:51,000 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:57:51,000 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:57:51,010 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-3-Routing], Host[-4-Routing], Host[-1-Routing], Host[-2-Routing], Host[-5-Routing]]
- 2014-11-26 23:57:51,031 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-3-Routing], Host[-4-Routing], Host[-1-Routing], Host[-2-Routing], Host[-5-Routing]]
- 2014-11-26 23:57:51,031 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:57:51,031 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host name: cloud-host8.cgg.gov.in, hostId: 3 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:57:51,031 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host name: cloud-host9.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:57:51,031 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host name: cloud-host6.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:57:51,048 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:57:51,048 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:57:51,055 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:57:51,055 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:57:51,055 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:57:51,055 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:57:51,055 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096 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
- 2014-11-26 23:57:51,055 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:57:51,055 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2014-11-26 23:57:51,055 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:57:51,055 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host Allocator returning 1 suitable hosts
- 2014-11-26 23:57:51,059 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:57:51,059 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) We need to allocate new storagepool for this volume
- 2014-11-26 23:57:51,059 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:57:51,062 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-eaef1096) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:57:51,062 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-eaef1096) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:57:51,062 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-eaef1096) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:57:51,066 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-eaef1096) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:57:51,069 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-eaef1096) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:57:51,072 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-eaef1096) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:57:51,082 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-eaef1096) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:57:51,091 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-eaef1096) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:57:51,091 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-eaef1096) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:57:51,091 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:57:51,092 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Checking if host: 2 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:57:51,093 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Host: 2 can access pool: 2
- 2014-11-26 23:57:51,094 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Found a potential host id: 2 name: cloud-host10.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:57:51,096 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) 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(2))]
- 2014-11-26 23:57:51,096 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) 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(2))]
- 2014-11-26 23:57:51,123 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 2 host id before state transition: 3
- 2014-11-26 23:57:51,138 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:57:51,138 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:57:51,138 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) release cpu from host: 3, old used: 1000,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:57:51,138 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) release mem from host: 3, old used: 1610612736,reserved: 0, total: 132226129920; new used: 536870912,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:57:51,162 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:57:51,162 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) We are allocating VM, increasing the used capacity of this host:2
- 2014-11-26 23:57:51,162 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:57:51,162 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:57:51,162 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) 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
- 2014-11-26 23:57:51,162 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) RAM STATS after allocation: for host: 2, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:57:51,169 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) VM is being created in podId: 1
- 2014-11-26 23:57:51,178 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-eaef1096) Network id=200 is already implemented
- 2014-11-26 23:57:51,192 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-aa276462) Found 0 routers to update status.
- 2014-11-26 23:57:51,195 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-aa276462) Found 0 networks to update RvR status.
- 2014-11-26 23:57:51,230 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-eaef1096) Network id=202 is already implemented
- 2014-11-26 23:57:51,292 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-eaef1096) Network id=201 is already implemented
- 2014-11-26 23:57:51,346 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-eaef1096) Allocated a nic NicProfile[3-1-fdb32e4f-3c58-4819-92a7-f6b17b3af5d9-10.3.4.159-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:57:51,360 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-eaef1096) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:57:51,391 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-eaef1096) template 1 is already in store:1, type:Image
- 2014-11-26 23:57:51,404 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-eaef1096) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:57:51,418 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-eaef1096) template 1 is already in store:2, type:Primary
- 2014-11-26 23:57:51,421 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-eaef1096) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 660
- 2014-11-26 23:57:51,438 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-eaef1096) Acquire lock on VMTemplateStoragePool 660 with timeout 3600 seconds
- 2014-11-26 23:57:51,442 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-eaef1096) lock is acquired for VMTemplateStoragePool 660
- 2014-11-26 23:57:51,455 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-eaef1096) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:57:51,479 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-eaef1096) Seq 2-2114716025: Forwarding Seq 2-2114716025: { Cmd , MgmtId: 226850023912365, via: 2(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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:57:54,552 DEBUG [c.c.a.t.Request] (AgentManager-Handler-14:null) Seq 2-2114716025: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:57:54,552 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-eaef1096) Seq 2-2114716025: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:57:54,573 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-eaef1096) releasing lock for VMTemplateStoragePool 660
- 2014-11-26 23:57:54,574 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-eaef1096) Was unable to find lock for the key template_spool_ref660 and thread id 1994469474
- 2014-11-26 23:57:54,575 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-eaef1096) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:57:54,575 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:57:54,583 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:57:54,593 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-eaef1096) Seq 2-2114716026: Forwarding Seq 2-2114716026: { Cmd , MgmtId: 226850023912365, via: 2(cloud-host10.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:57:54,626 DEBUG [c.c.s.StatsCollector] (StatsCollector-1:ctx-c31795d1) HostStatsCollector is running...
- 2014-11-26 23:57:54,655 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-c31795d1) Seq 1-619512182: Forwarding null to 68995168937102
- 2014-11-26 23:57:54,699 DEBUG [c.c.a.t.Request] (AgentManager-Handler-15:null) Seq 2-2114716026: Processing: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:57:54,699 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-eaef1096) Seq 2-2114716026: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:57:54,725 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-eaef1096) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:57:54,745 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-eaef1096) Releasing ip address for reservationId=fdb32e4f-3c58-4819-92a7-f6b17b3af5d9, instance=3
- 2014-11-26 23:57:54,747 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-eaef1096) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:57:54,757 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:57:54,757 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-eaef1096) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:57:54,766 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Deploy avoids pods: null, clusters: null, hosts: [1, 2, 3, 4, 5]
- 2014-11-26 23:57:54,769 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:57:54,769 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:57:54,769 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:57:54,769 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-eaef1096) Searching resources only under specified Pod: 1
- 2014-11-26 23:57:54,769 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-eaef1096) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:57:54,791 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:57:54,791 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:57:54,800 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-2-Routing], Host[-3-Routing], Host[-1-Routing], Host[-5-Routing], Host[-4-Routing]]
- 2014-11-26 23:57:54,818 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-2-Routing], Host[-3-Routing], Host[-1-Routing], Host[-5-Routing], Host[-4-Routing]]
- 2014-11-26 23:57:54,819 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:57:54,819 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:57:54,819 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host name: cloud-host8.cgg.gov.in, hostId: 3 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:57:54,819 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host name: cloud-host6.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:57:54,819 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:57:54,819 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host name: cloud-host9.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:57:54,819 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-eaef1096 FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
- 2014-11-26 23:57:54,819 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) No suitable hosts found
- 2014-11-26 23:57:54,819 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) No suitable hosts found under this Cluster: 1
- 2014-11-26 23:57:54,822 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-eaef1096) Could not find suitable Deployment Destination for this VM under any clusters, returning.
- 2014-11-26 23:57:54,823 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-eaef1096) Searching resources only under specified Pod: 1
- 2014-11-26 23:57:54,823 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-eaef1096) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:57:54,832 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-eaef1096) Removing from the clusterId list these clusters from avoid set: [1]
- 2014-11-26 23:57:54,832 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-eaef1096) No clusters found after removing disabled clusters and clusters in avoid list, returning.
- 2014-11-26 23:57:54,859 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 2
- 2014-11-26 23:57:54,874 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:57:54,874 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:57:54,874 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) 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
- 2014-11-26 23:57:54,874 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-eaef1096) release mem from host: 2, old used: 1073741824,reserved: 0, total: 132226129920; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:57:54,881 WARN [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-eaef1096) 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:921)
- 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)
- 2014-11-26 23:57:54,970 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-c31795d1) Seq 1-619512182: Received: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:57:54,992 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-c31795d1) Seq 2-2114716027: Forwarding null to 68995168937102
- 2014-11-26 23:57:55,292 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-c31795d1) Seq 2-2114716027: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:57:55,308 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-c31795d1) Seq 3-1990132097: Forwarding null to 68995168937102
- 2014-11-26 23:57:55,496 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-c31795d1) Seq 3-1990132097: Received: { Ans: , MgmtId: 226850023912365, via: 3, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:57:55,516 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-c31795d1) Seq 4-853737850: Forwarding null to 68995168937102
- 2014-11-26 23:57:55,822 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-c31795d1) Seq 4-853737850: Received: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:57:55,846 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-c31795d1) Seq 5-1497235804: Forwarding null to 68995168937102
- 2014-11-26 23:57:56,149 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-c31795d1) Seq 5-1497235804: Received: { Ans: , MgmtId: 226850023912365, via: 5, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:58:08,058 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-b2a79760) VmStatsCollector is running...
- 2014-11-26 23:58:09,235 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-4137fc8f) Zone 1 is ready to launch console proxy
- 2014-11-26 23:58:09,236 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-4137fc8f) Expand console proxy standby capacity for zone CGG-Zone1
- 2014-11-26 23:58:09,248 INFO [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-4137fc8f) Found a stopped console proxy, bring it up to running pool. proxy vm id : 1
- 2014-11-26 23:58:09,286 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:09,286 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully transitioned to start state for VM[ConsoleProxy|v-1-VM] reservation id = a27d6142-4790-45a5-8db3-b7fba5d810d0
- 2014-11-26 23:58:09,292 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to deploy VM, vm has dcId: 1 and podId: 1
- 2014-11-26 23:58:09,292 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:58:09,302 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:58:09,304 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:09,304 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:09,304 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:09,305 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:09,305 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:09,323 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:09,324 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:09,334 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-5-Routing], Host[-2-Routing], Host[-3-Routing], Host[-4-Routing], Host[-1-Routing]]
- 2014-11-26 23:58:09,353 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-5-Routing], Host[-2-Routing], Host[-3-Routing], Host[-4-Routing], Host[-1-Routing]]
- 2014-11-26 23:58:09,353 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:09,359 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-af4b2363) Zone 1 is ready to launch secondary storage VM
- 2014-11-26 23:58:09,369 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,369 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,370 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-af4b2363) No running secondary storage vms found in datacenter id=1, starting one
- 2014-11-26 23:58:09,375 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,375 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:09,375 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:09,375 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,376 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:09,376 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,376 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2014-11-26 23:58:09,382 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-af4b2363) No stopped secondary storage vm is available, need to allocate a new secondary storage vm
- 2014-11-26 23:58:09,387 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-af4b2363) Assign secondary storage vm from a newly started instance for request from data center : 1
- 2014-11-26 23:58:09,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:09,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:09,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:09,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,397 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2014-11-26 23:58:09,411 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Found existing network configuration for offering [Network Offering [1-Public-System-Public-Network]: Ntwk[200|Public|1]
- 2014-11-26 23:58:09,411 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:58:09,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,417 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,419 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Found existing network configuration for offering [Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3]
- 2014-11-26 23:58:09,419 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:58:09,423 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,423 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:09,423 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:09,423 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,423 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:09,423 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,423 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:09,427 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Found existing network configuration for offering [Network Offering [2-Management-System-Management-Network]: Ntwk[201|Management|2]
- 2014-11-26 23:58:09,427 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:58:09,434 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Found existing network configuration for offering [Network Offering [4-Storage-System-Storage-Network]: Ntwk[203|Storage|4]
- 2014-11-26 23:58:09,434 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:58:09,439 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,439 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,444 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,444 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:09,444 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:09,444 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,444 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:09,444 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,445 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:09,458 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,458 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,463 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,463 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:09,463 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2014-11-26 23:58:09,463 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,463 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:09,463 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,463 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:09,463 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2014-11-26 23:58:09,466 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:09,466 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:09,466 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:09,469 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:09,469 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:09,469 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:09,471 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:09,473 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:09,475 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:09,481 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:09,484 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Allocating entries for VM: VM[SecondaryStorageVm|s-134-VM]
- 2014-11-26 23:58:09,488 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:09,488 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:09,488 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:09,488 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking if host: 5 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:09,489 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Host: 5 can access pool: 2
- 2014-11-26 23:58:09,490 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Allocating nics for VM[SecondaryStorageVm|s-134-VM]
- 2014-11-26 23:58:09,490 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Found a potential host id: 5 name: cloud-host7.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:09,491 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:09,491 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:09,492 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Allocating nic for vm VM[SecondaryStorageVm|s-134-VM] in network Ntwk[200|Public|1] with requested profile NicProfile[0-0-null-null-null
- 2014-11-26 23:58:09,509 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 5 host id before state transition: null
- 2014-11-26 23:58:09,517 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Allocating nic for vm VM[SecondaryStorageVm|s-134-VM] in network Ntwk[202|Control|3] with requested profile null
- 2014-11-26 23:58:09,523 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,523 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) We are allocating VM, increasing the used capacity of this host:5
- 2014-11-26 23:58:09,523 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:09,523 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:58:09,523 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:09,523 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) RAM STATS after allocation: for host: 5, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:58:09,530 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) VM is being created in podId: 1
- 2014-11-26 23:58:09,530 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Allocating nic for vm VM[SecondaryStorageVm|s-134-VM] in network Ntwk[201|Management|2] with requested profile null
- 2014-11-26 23:58:09,537 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=200 is already implemented
- 2014-11-26 23:58:09,553 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Allocating nic for vm VM[SecondaryStorageVm|s-134-VM] in network Ntwk[203|Storage|4] with requested profile null
- 2014-11-26 23:58:09,572 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Allocating disks for VM[SecondaryStorageVm|s-134-VM]
- 2014-11-26 23:58:09,581 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Allocation completed for VM: VM[SecondaryStorageVm|s-134-VM]
- 2014-11-26 23:58:09,584 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=202 is already implemented
- 2014-11-26 23:58:09,603 DEBUG [c.c.a.SecondaryStorageVmAlertAdapter] (secstorage-1:ctx-af4b2363) received secondary storage vm alert
- 2014-11-26 23:58:09,603 DEBUG [c.c.a.SecondaryStorageVmAlertAdapter] (secstorage-1:ctx-af4b2363) New secondary storage vm created, zone: CGG-Zone1, secStorageVm: s-134-VM, public IP: null, private IP: null
- 2014-11-26 23:58:09,634 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) 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
- 2014-11-26 23:58:09,634 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Successfully transitioned to start state for VM[SecondaryStorageVm|s-134-VM] reservation id = 062563ba-e3b6-47ab-96b9-dfb284286b3b
- 2014-11-26 23:58:09,649 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Trying to deploy VM, vm has dcId: 1 and podId: null
- 2014-11-26 23:58:09,649 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:58:09,654 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=201 is already implemented
- 2014-11-26 23:58:09,666 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:58:09,668 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:09,668 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 500, requested ram: 536870912
- 2014-11-26 23:58:09,668 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:09,668 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-af4b2363) Searching all possible resources under this Zone: 1
- 2014-11-26 23:58:09,671 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-af4b2363) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
- 2014-11-26 23:58:09,688 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:09,688 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:09,695 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-4-Routing], Host[-2-Routing], Host[-1-Routing], Host[-3-Routing], Host[-5-Routing]]
- 2014-11-26 23:58:09,705 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Allocated a nic NicProfile[3-1-a27d6142-4790-45a5-8db3-b7fba5d810d0-10.3.4.186-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:09,713 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-4-Routing], Host[-2-Routing], Host[-1-Routing], Host[-3-Routing], Host[-5-Routing]]
- 2014-11-26 23:58:09,713 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
- 2014-11-26 23:58:09,716 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:09,728 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,728 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,733 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,733 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:09,733 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 536870912
- 2014-11-26 23:58:09,733 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,733 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 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
- 2014-11-26 23:58:09,733 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,733 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:09,740 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:09,748 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,748 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,750 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-4137fc8f) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:09,754 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,755 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:09,755 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 536870912
- 2014-11-26 23:58:09,755 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,755 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 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
- 2014-11-26 23:58:09,755 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,755 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2014-11-26 23:58:09,762 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:09,765 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 661
- 2014-11-26 23:58:09,776 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,776 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,778 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Acquire lock on VMTemplateStoragePool 661 with timeout 3600 seconds
- 2014-11-26 23:58:09,781 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,781 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:09,781 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2014-11-26 23:58:09,781 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,781 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 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
- 2014-11-26 23:58:09,781 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,781 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:09,782 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) lock is acquired for VMTemplateStoragePool 661
- 2014-11-26 23:58:09,793 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-4137fc8f) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:09,796 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,796 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,801 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,801 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:09,801 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 536870912
- 2014-11-26 23:58:09,801 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,801 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 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
- 2014-11-26 23:58:09,801 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,801 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:09,816 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:09,816 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:09,817 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 2-2114716028: Forwarding Seq 2-2114716028: { Cmd , MgmtId: 226850023912365, via: 2(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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:09,822 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,822 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2014-11-26 23:58:09,822 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Free RAM: 131152388096 , Requested RAM: 536870912
- 2014-11-26 23:58:09,822 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:09,822 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 5, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,822 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 1073741824, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:09,822 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2014-11-26 23:58:09,822 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-af4b2363 FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2014-11-26 23:58:09,825 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Checking suitable pools for volume (Id, Type): (134,ROOT)
- 2014-11-26 23:58:09,825 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:09,825 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:09,828 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (secstorage-1:ctx-af4b2363) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:09,828 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-af4b2363) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:09,828 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-af4b2363) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:09,831 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-af4b2363) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:09,834 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-af4b2363) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:09,837 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (secstorage-1:ctx-af4b2363) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:09,845 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-af4b2363) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:09,853 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-af4b2363) Checking pool: 2 for volume allocation [Vol[134|vm=134|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:09,853 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-af4b2363) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:09,853 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:09,853 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Checking if host: 4 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:09,854 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Host: 4 can access pool: 2
- 2014-11-26 23:58:09,855 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) Found a potential host id: 4 name: cloud-host9.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:09,857 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-af4b2363) 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(134|ROOT-->Pool(2))]
- 2014-11-26 23:58:09,857 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Deployment found - P0=VM[SecondaryStorageVm|s-134-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(134|ROOT-->Pool(2))]
- 2014-11-26 23:58:09,877 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) 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
- 2014-11-26 23:58:09,894 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:09,894 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) We are allocating VM, increasing the used capacity of this host:4
- 2014-11-26 23:58:09,894 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:09,894 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 536870912
- 2014-11-26 23:58:09,894 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) 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
- 2014-11-26 23:58:09,894 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) RAM STATS after allocation: for host: 4, old used: 0, old reserved: 0, total: 132226129920; new used: 536870912, reserved: 0; requested mem: 536870912,alloc_from_last:false
- 2014-11-26 23:58:09,901 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) VM is being created in podId: 1
- 2014-11-26 23:58:09,910 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Network id=200 is already implemented
- 2014-11-26 23:58:09,959 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Network id=202 is already implemented
- 2014-11-26 23:58:10,026 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Network id=201 is already implemented
- 2014-11-26 23:58:10,075 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-af4b2363) Allocated a nic NicProfile[534-134-062563ba-e3b6-47ab-96b9-dfb284286b3b-10.3.4.187-null for VM[SecondaryStorageVm|s-134-VM]
- 2014-11-26 23:58:10,091 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-af4b2363) Network id=203 is already implemented
- 2014-11-26 23:58:10,142 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-af4b2363) Allocated a nic NicProfile[535-134-062563ba-e3b6-47ab-96b9-dfb284286b3b-10.3.4.150-null for VM[SecondaryStorageVm|s-134-VM]
- 2014-11-26 23:58:10,154 DEBUG [o.a.c.e.o.VolumeOrchestrator] (secstorage-1:ctx-af4b2363) Checking if we need to prepare 1 volumes for VM[SecondaryStorageVm|s-134-VM]
- 2014-11-26 23:58:10,180 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-af4b2363) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:10,192 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-af4b2363) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:10,195 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-af4b2363) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 661
- 2014-11-26 23:58:10,205 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-af4b2363) Acquire lock on VMTemplateStoragePool 661 with timeout 3600 seconds
- 2014-11-26 23:58:11,995 DEBUG [c.c.a.t.Request] (AgentManager-Handler-6:null) Seq 2-2114716028: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:11,996 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 2-2114716028: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:12,020 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) releasing lock for VMTemplateStoragePool 661
- 2014-11-26 23:58:12,021 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-4137fc8f) Was unable to find lock for the key template_spool_ref661 and thread id 1994469474
- 2014-11-26 23:58:12,021 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:12,021 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:12,029 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:12,038 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 5-1497235805: Forwarding Seq 5-1497235805: { Cmd , MgmtId: 226850023912365, via: 5(cloud-host7.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:12,149 DEBUG [c.c.a.t.Request] (AgentManager-Handler-7:null) Seq 5-1497235805: Processing: { Ans: , MgmtId: 226850023912365, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:12,149 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 5-1497235805: Received: { Ans: , MgmtId: 226850023912365, via: 5, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:12,173 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:12,191 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-4137fc8f) Releasing ip address for reservationId=a27d6142-4790-45a5-8db3-b7fba5d810d0, instance=3
- 2014-11-26 23:58:12,192 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:12,201 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:12,201 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:12,209 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Deploy avoids pods: null, clusters: null, hosts: [5]
- 2014-11-26 23:58:12,211 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:12,211 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:12,211 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:12,211 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:12,211 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:12,230 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:12,230 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:12,238 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-2-Routing], Host[-5-Routing], Host[-3-Routing], Host[-1-Routing], Host[-4-Routing]]
- 2014-11-26 23:58:12,255 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-2-Routing], Host[-5-Routing], Host[-3-Routing], Host[-1-Routing], Host[-4-Routing]]
- 2014-11-26 23:58:12,255 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:12,269 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:12,269 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:12,277 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:12,277 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:12,277 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:12,277 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:12,277 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:12,277 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:12,277 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2014-11-26 23:58:12,277 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:12,291 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:12,291 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:12,296 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:12,297 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:12,297 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:12,297 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:12,297 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:12,297 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:12,297 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:12,311 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:12,311 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:12,316 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:12,316 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:12,316 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2014-11-26 23:58:12,316 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:12,316 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:12,316 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:12,316 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:12,330 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:12,330 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:12,335 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:12,335 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2014-11-26 23:58:12,335 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 131689259008 , Requested RAM: 1073741824
- 2014-11-26 23:58:12,335 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:12,335 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:12,335 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 536870912, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:12,335 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:12,335 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host Allocator returning 4 suitable hosts
- 2014-11-26 23:58:12,339 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:12,339 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:12,339 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:12,341 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:12,341 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:12,341 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:12,344 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:12,348 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:12,351 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:12,358 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:12,367 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:12,367 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:12,367 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:12,367 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking if host: 2 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:12,368 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Host: 2 can access pool: 2
- 2014-11-26 23:58:12,369 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Found a potential host id: 2 name: cloud-host10.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:12,371 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:12,371 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:12,393 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 2 host id before state transition: 5
- 2014-11-26 23:58:12,406 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:12,406 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:58:12,406 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:12,406 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) release mem from host: 5, old used: 1073741824,reserved: 0, total: 132226129920; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:12,429 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:12,429 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) We are allocating VM, increasing the used capacity of this host:2
- 2014-11-26 23:58:12,429 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:12,429 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:58:12,429 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:12,429 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) RAM STATS after allocation: for host: 2, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:58:12,436 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) VM is being created in podId: 1
- 2014-11-26 23:58:12,445 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=200 is already implemented
- 2014-11-26 23:58:12,497 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=202 is already implemented
- 2014-11-26 23:58:12,557 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=201 is already implemented
- 2014-11-26 23:58:12,608 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Allocated a nic NicProfile[3-1-a27d6142-4790-45a5-8db3-b7fba5d810d0-10.3.4.131-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:12,621 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:12,649 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:12,659 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-4137fc8f) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:12,672 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:12,675 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 662
- 2014-11-26 23:58:12,688 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Acquire lock on VMTemplateStoragePool 662 with timeout 3600 seconds
- 2014-11-26 23:58:12,691 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) lock is acquired for VMTemplateStoragePool 662
- 2014-11-26 23:58:12,713 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-4137fc8f) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:12,735 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 1-619512183: Forwarding Seq 1-619512183: { Cmd , MgmtId: 226850023912365, via: 1(cloud-host6.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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:14,908 DEBUG [c.c.a.t.Request] (AgentManager-Handler-8:null) Seq 1-619512183: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:14,908 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 1-619512183: Received: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:14,928 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) releasing lock for VMTemplateStoragePool 662
- 2014-11-26 23:58:14,929 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-4137fc8f) Was unable to find lock for the key template_spool_ref662 and thread id 1994469474
- 2014-11-26 23:58:14,929 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:14,929 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:14,937 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:14,946 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 2-2114716029: Forwarding Seq 2-2114716029: { Cmd , MgmtId: 226850023912365, via: 2(cloud-host10.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:15,056 DEBUG [c.c.a.t.Request] (AgentManager-Handler-9:null) Seq 2-2114716029: Processing: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:15,056 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 2-2114716029: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:15,082 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:15,102 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-4137fc8f) Releasing ip address for reservationId=a27d6142-4790-45a5-8db3-b7fba5d810d0, instance=3
- 2014-11-26 23:58:15,104 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:15,114 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:15,114 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:15,122 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Deploy avoids pods: null, clusters: null, hosts: [2, 5]
- 2014-11-26 23:58:15,124 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:15,124 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:15,124 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:15,125 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:15,125 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:15,145 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:15,145 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:15,152 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-1-Routing], Host[-5-Routing], Host[-3-Routing], Host[-4-Routing], Host[-2-Routing]]
- 2014-11-26 23:58:15,168 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-1-Routing], Host[-5-Routing], Host[-3-Routing], Host[-4-Routing], Host[-2-Routing]]
- 2014-11-26 23:58:15,168 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:15,182 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:15,182 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:15,188 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:15,188 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:15,188 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2014-11-26 23:58:15,188 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:15,188 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:15,188 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:15,188 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:15,188 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:15,203 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:15,203 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:15,209 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:15,209 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:15,209 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:15,209 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:15,209 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:15,209 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:15,209 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:15,211 INFO [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-af4b2363) Unable to acquire lock on VMTemplateStoragePool 661
- 2014-11-26 23:58:15,213 ERROR [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Failed to start instance VM[SecondaryStorageVm|s-134-VM]
- java.lang.NullPointerException
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:454)
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:603)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1190)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:15,221 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Cleaning up resources for the vm VM[SecondaryStorageVm|s-134-VM] in Starting state
- 2014-11-26 23:58:15,228 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:15,228 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:15,228 DEBUG [c.c.a.m.ClusteredAgentAttache] (secstorage-1:ctx-af4b2363) Seq 4-853737851: Forwarding Seq 4-853737851: { Cmd , MgmtId: 226850023912365, via: 4(cloud-host9.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-134-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:15,234 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:15,234 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2014-11-26 23:58:15,234 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 131689259008 , Requested RAM: 1073741824
- 2014-11-26 23:58:15,234 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:15,234 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:15,234 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 536870912, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:15,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:15,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:15,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host Allocator returning 3 suitable hosts
- 2014-11-26 23:58:15,237 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:15,237 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:15,237 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:15,240 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:15,240 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:15,240 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:15,243 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:15,246 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:15,249 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:15,258 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:15,266 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:15,266 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:15,266 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:15,266 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking if host: 1 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:15,267 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Host: 1 can access pool: 2
- 2014-11-26 23:58:15,269 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Found a potential host id: 1 name: cloud-host6.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:15,270 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:15,271 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:15,293 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 1 host id before state transition: 2
- 2014-11-26 23:58:15,308 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:15,308 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:58:15,308 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:15,308 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) release mem from host: 2, old used: 1073741824,reserved: 0, total: 132226129920; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:15,332 DEBUG [c.c.a.t.Request] (AgentManager-Handler-10:null) Seq 4-853737851: Processing: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:15,332 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-af4b2363) Seq 4-853737851: Received: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:15,339 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:15,339 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) We are allocating VM, increasing the used capacity of this host:1
- 2014-11-26 23:58:15,339 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:15,339 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 1073741824
- 2014-11-26 23:58:15,339 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:15,339 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:15,346 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) VM is being created in podId: 1
- 2014-11-26 23:58:15,354 DEBUG [c.c.n.g.ControlNetworkGuru] (secstorage-1:ctx-af4b2363) Released nic: NicProfile[533-134-null-null-null
- 2014-11-26 23:58:15,357 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=200 is already implemented
- 2014-11-26 23:58:15,371 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-af4b2363) Releasing ip address for reservationId=062563ba-e3b6-47ab-96b9-dfb284286b3b, instance=534
- 2014-11-26 23:58:15,372 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-af4b2363) Released nic: NicProfile[534-134-null-null-null
- 2014-11-26 23:58:15,391 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-af4b2363) Releasing ip address for reservationId=062563ba-e3b6-47ab-96b9-dfb284286b3b, instance=535
- 2014-11-26 23:58:15,392 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-af4b2363) Released nic: NicProfile[535-134-null-null-null
- 2014-11-26 23:58:15,399 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Successfully released network resources for the vm VM[SecondaryStorageVm|s-134-VM]
- 2014-11-26 23:58:15,399 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-af4b2363) Successfully cleanued up resources for the vm VM[SecondaryStorageVm|s-134-VM] in Starting state
- 2014-11-26 23:58:15,412 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=202 is already implemented
- 2014-11-26 23:58:15,420 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) 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
- 2014-11-26 23:58:15,433 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:15,433 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:58:15,433 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) 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
- 2014-11-26 23:58:15,433 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-af4b2363) release mem from host: 4, old used: 536870912,reserved: 0, total: 132226129920; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:15,440 WARN [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-af4b2363) Exception while trying to start secondary storage vm
- com.cloud.exception.AgentUnavailableException: Resource [Host:4] is unreachable: Host 4: Unable to start instance due to null
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1072)
- 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: java.lang.NullPointerException
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:454)
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:603)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1190)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- ... 23 more
- 2014-11-26 23:58:15,442 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-af4b2363) Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 134, will recycle it and start a new one
- 2014-11-26 23:58:15,442 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-af4b2363) Primary secondary storage is not even started, wait until next turn
- 2014-11-26 23:58:15,477 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=201 is already implemented
- 2014-11-26 23:58:15,526 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Allocated a nic NicProfile[3-1-a27d6142-4790-45a5-8db3-b7fba5d810d0-10.3.4.133-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:15,538 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:15,564 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:15,574 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-4137fc8f) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:15,588 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:15,590 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 663
- 2014-11-26 23:58:15,602 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Acquire lock on VMTemplateStoragePool 663 with timeout 3600 seconds
- 2014-11-26 23:58:15,605 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) lock is acquired for VMTemplateStoragePool 663
- 2014-11-26 23:58:15,619 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-4137fc8f) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:15,645 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 4-853737852: Forwarding Seq 4-853737852: { Cmd , MgmtId: 226850023912365, via: 4(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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:17,809 DEBUG [c.c.a.t.Request] (AgentManager-Handler-11:null) Seq 4-853737852: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:17,809 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 4-853737852: Received: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:17,834 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) releasing lock for VMTemplateStoragePool 663
- 2014-11-26 23:58:17,835 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-4137fc8f) Was unable to find lock for the key template_spool_ref663 and thread id 1994469474
- 2014-11-26 23:58:17,835 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:17,835 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:17,844 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:17,853 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 1-619512184: Forwarding Seq 1-619512184: { Cmd , MgmtId: 226850023912365, via: 1(cloud-host6.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:17,963 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null) Seq 1-619512184: Processing: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:17,963 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 1-619512184: Received: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:17,989 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:18,017 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-4137fc8f) Releasing ip address for reservationId=a27d6142-4790-45a5-8db3-b7fba5d810d0, instance=3
- 2014-11-26 23:58:18,018 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:18,029 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:18,029 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:18,039 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Deploy avoids pods: null, clusters: null, hosts: [1, 2, 5]
- 2014-11-26 23:58:18,041 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:18,041 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:18,042 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:18,042 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:18,042 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:18,064 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:18,065 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:18,073 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-5-Routing], Host[-3-Routing], Host[-1-Routing], Host[-2-Routing], Host[-4-Routing]]
- 2014-11-26 23:58:18,092 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-5-Routing], Host[-3-Routing], Host[-1-Routing], Host[-2-Routing], Host[-4-Routing]]
- 2014-11-26 23:58:18,092 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:18,092 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:18,109 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:18,109 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:18,115 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:18,115 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:18,115 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:18,115 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:18,116 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:18,116 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:18,116 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:18,116 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host6.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:18,116 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:18,133 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:18,133 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:18,139 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:18,139 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:18,140 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:18,140 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:18,140 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:18,140 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:18,140 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:18,140 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host Allocator returning 2 suitable hosts
- 2014-11-26 23:58:18,143 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:18,143 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:18,143 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:18,146 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:18,146 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:18,146 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:18,149 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:18,152 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:18,155 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:18,164 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:18,172 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:18,172 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:18,172 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:18,172 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking if host: 3 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:18,173 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Host: 3 can access pool: 2
- 2014-11-26 23:58:18,174 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Found a potential host id: 3 name: cloud-host8.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:18,176 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:18,176 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:18,199 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:18,214 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:18,214 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2014-11-26 23:58:18,214 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:18,214 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) release mem from host: 1, old used: 1073741824,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:18,240 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:18,240 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) We are allocating VM, increasing the used capacity of this host:3
- 2014-11-26 23:58:18,240 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:18,240 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:58:18,240 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:18,240 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) RAM STATS after allocation: for host: 3, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:58:18,247 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) VM is being created in podId: 1
- 2014-11-26 23:58:18,258 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=200 is already implemented
- 2014-11-26 23:58:18,313 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=202 is already implemented
- 2014-11-26 23:58:18,377 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=201 is already implemented
- 2014-11-26 23:58:18,430 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Allocated a nic NicProfile[3-1-a27d6142-4790-45a5-8db3-b7fba5d810d0-10.3.4.101-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:18,445 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:18,473 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:18,483 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-4137fc8f) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:18,498 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:18,501 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 664
- 2014-11-26 23:58:18,513 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Acquire lock on VMTemplateStoragePool 664 with timeout 3600 seconds
- 2014-11-26 23:58:18,517 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) lock is acquired for VMTemplateStoragePool 664
- 2014-11-26 23:58:18,531 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-4137fc8f) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:18,557 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 1-619512185: Forwarding Seq 1-619512185: { Cmd , MgmtId: 226850023912365, via: 1(cloud-host6.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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:20,726 DEBUG [c.c.a.t.Request] (AgentManager-Handler-13:null) Seq 1-619512185: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:20,726 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 1-619512185: Received: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:20,750 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) releasing lock for VMTemplateStoragePool 664
- 2014-11-26 23:58:20,750 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-4137fc8f) Was unable to find lock for the key template_spool_ref664 and thread id 1994469474
- 2014-11-26 23:58:20,751 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:20,751 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:20,760 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:20,770 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 3-1990132098: Forwarding Seq 3-1990132098: { Cmd , MgmtId: 226850023912365, via: 3(cloud-host8.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:20,849 DEBUG [c.c.a.t.Request] (AgentManager-Handler-14:null) Seq 3-1990132098: Processing: { Ans: , MgmtId: 226850023912365, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:20,849 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 3-1990132098: Received: { Ans: , MgmtId: 226850023912365, via: 3, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:20,875 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:20,904 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-4137fc8f) Releasing ip address for reservationId=a27d6142-4790-45a5-8db3-b7fba5d810d0, instance=3
- 2014-11-26 23:58:20,906 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:20,917 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:20,917 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:20,926 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Deploy avoids pods: null, clusters: null, hosts: [1, 2, 3, 5]
- 2014-11-26 23:58:20,929 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:20,929 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:20,929 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:20,929 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:20,929 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:20,950 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:20,950 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:20,960 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-2-Routing], Host[-3-Routing], Host[-1-Routing], Host[-5-Routing], Host[-4-Routing]]
- 2014-11-26 23:58:20,977 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-2-Routing], Host[-3-Routing], Host[-1-Routing], Host[-5-Routing], Host[-4-Routing]]
- 2014-11-26 23:58:20,977 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:20,977 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:20,977 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host8.cgg.gov.in, hostId: 3 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:20,977 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host6.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:20,977 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:20,994 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:20,994 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:21,000 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:21,000 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:21,000 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:21,000 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:21,000 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f 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
- 2014-11-26 23:58:21,000 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:21,000 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:21,000 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host Allocator returning 1 suitable hosts
- 2014-11-26 23:58:21,004 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:21,004 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:21,004 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:21,011 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:21,011 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:21,011 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:21,016 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:21,019 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:21,022 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:21,031 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:21,041 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:21,041 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-4137fc8f) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:21,041 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:21,041 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking if host: 4 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:21,042 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Host: 4 can access pool: 2
- 2014-11-26 23:58:21,043 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Found a potential host id: 4 name: cloud-host9.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:21,045 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:21,045 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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(2))]
- 2014-11-26 23:58:21,071 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 4 host id before state transition: 3
- 2014-11-26 23:58:21,086 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:21,086 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:58:21,086 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) release cpu from host: 3, old used: 1000,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:21,086 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) release mem from host: 3, old used: 1610612736,reserved: 0, total: 132226129920; new used: 536870912,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:21,113 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:21,113 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) We are allocating VM, increasing the used capacity of this host:4
- 2014-11-26 23:58:21,113 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:21,113 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:58:21,113 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:21,113 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) RAM STATS after allocation: for host: 4, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:58:21,120 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) VM is being created in podId: 1
- 2014-11-26 23:58:21,130 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=200 is already implemented
- 2014-11-26 23:58:21,181 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=202 is already implemented
- 2014-11-26 23:58:21,193 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-7c8a9df1) Found 0 routers to update status.
- 2014-11-26 23:58:21,196 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-7c8a9df1) Found 0 networks to update RvR status.
- 2014-11-26 23:58:21,243 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-4137fc8f) Network id=201 is already implemented
- 2014-11-26 23:58:21,295 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Allocated a nic NicProfile[3-1-a27d6142-4790-45a5-8db3-b7fba5d810d0-10.3.4.186-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:21,310 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:21,337 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:21,348 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-4137fc8f) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:21,371 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-4137fc8f) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:21,374 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 665
- 2014-11-26 23:58:21,386 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) Acquire lock on VMTemplateStoragePool 665 with timeout 3600 seconds
- 2014-11-26 23:58:21,390 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) lock is acquired for VMTemplateStoragePool 665
- 2014-11-26 23:58:21,403 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-4137fc8f) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:21,427 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 2-2114716030: Forwarding Seq 2-2114716030: { Cmd , MgmtId: 226850023912365, via: 2(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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:23,602 DEBUG [c.c.a.t.Request] (AgentManager-Handler-15:null) Seq 2-2114716030: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:23,602 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 2-2114716030: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:23,624 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-4137fc8f) releasing lock for VMTemplateStoragePool 665
- 2014-11-26 23:58:23,625 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-4137fc8f) Was unable to find lock for the key template_spool_ref665 and thread id 1994469474
- 2014-11-26 23:58:23,625 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-4137fc8f) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:23,625 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:23,633 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:23,643 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-4137fc8f) Seq 4-853737853: Forwarding Seq 4-853737853: { Cmd , MgmtId: 226850023912365, via: 4(cloud-host9.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:23,749 DEBUG [c.c.a.t.Request] (AgentManager-Handler-1:null) Seq 4-853737853: Processing: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:23,749 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-4137fc8f) Seq 4-853737853: Received: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:23,775 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:23,797 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-4137fc8f) Releasing ip address for reservationId=a27d6142-4790-45a5-8db3-b7fba5d810d0, instance=3
- 2014-11-26 23:58:23,799 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-4137fc8f) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:23,820 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:23,820 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-4137fc8f) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:23,830 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Deploy avoids pods: null, clusters: null, hosts: [1, 2, 3, 4, 5]
- 2014-11-26 23:58:23,833 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:23,833 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:23,833 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:23,833 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:23,833 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:23,854 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:23,854 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:23,863 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-1-Routing], Host[-4-Routing], Host[-2-Routing], Host[-5-Routing], Host[-3-Routing]]
- 2014-11-26 23:58:23,882 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-1-Routing], Host[-4-Routing], Host[-2-Routing], Host[-5-Routing], Host[-3-Routing]]
- 2014-11-26 23:58:23,882 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:23,882 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host6.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:23,882 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host9.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:23,882 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:23,882 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:23,882 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host name: cloud-host8.cgg.gov.in, hostId: 3 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:23,882 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-4137fc8f FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
- 2014-11-26 23:58:23,882 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) No suitable hosts found
- 2014-11-26 23:58:23,882 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) No suitable hosts found under this Cluster: 1
- 2014-11-26 23:58:23,887 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-4137fc8f) Could not find suitable Deployment Destination for this VM under any clusters, returning.
- 2014-11-26 23:58:23,887 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:23,887 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:23,896 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) Removing from the clusterId list these clusters from avoid set: [1]
- 2014-11-26 23:58:23,897 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-4137fc8f) No clusters found after removing disabled clusters and clusters in avoid list, returning.
- 2014-11-26 23:58:23,920 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:23,934 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:23,934 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:58:23,934 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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
- 2014-11-26 23:58:23,934 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-4137fc8f) release mem from host: 4, old used: 1073741824,reserved: 0, total: 132226129920; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:23,941 WARN [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-4137fc8f) 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:921)
- 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)
- 2014-11-26 23:58:39,247 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-9a467cf9) Zone 1 is ready to launch console proxy
- 2014-11-26 23:58:39,247 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-9a467cf9) Expand console proxy standby capacity for zone CGG-Zone1
- 2014-11-26 23:58:39,260 INFO [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-9a467cf9) Found a stopped console proxy, bring it up to running pool. proxy vm id : 1
- 2014-11-26 23:58:39,299 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:39,299 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully transitioned to start state for VM[ConsoleProxy|v-1-VM] reservation id = ee5c186f-0673-4daa-ac94-90daf20040ff
- 2014-11-26 23:58:39,305 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to deploy VM, vm has dcId: 1 and podId: 1
- 2014-11-26 23:58:39,305 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:58:39,317 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:58:39,320 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:39,320 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:39,320 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:39,320 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:39,320 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:39,343 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:39,343 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:39,351 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-2-Routing], Host[-5-Routing], Host[-4-Routing], Host[-3-Routing], Host[-1-Routing]]
- 2014-11-26 23:58:39,358 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-b4dab2a3) Zone 1 is ready to launch secondary storage VM
- 2014-11-26 23:58:39,369 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-b4dab2a3) No running secondary storage vms found in datacenter id=1, starting one
- 2014-11-26 23:58:39,369 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-2-Routing], Host[-5-Routing], Host[-4-Routing], Host[-3-Routing], Host[-1-Routing]]
- 2014-11-26 23:58:39,369 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:39,379 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-b4dab2a3) No stopped secondary storage vm is available, need to allocate a new secondary storage vm
- 2014-11-26 23:58:39,384 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-b4dab2a3) Assign secondary storage vm from a newly started instance for request from data center : 1
- 2014-11-26 23:58:39,385 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,385 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:39,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:39,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:39,392 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,392 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2014-11-26 23:58:39,409 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,409 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,410 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Found existing network configuration for offering [Network Offering [1-Public-System-Public-Network]: Ntwk[200|Public|1]
- 2014-11-26 23:58:39,410 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:58:39,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:39,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:39,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:39,416 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,416 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2014-11-26 23:58:39,418 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Found existing network configuration for offering [Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3]
- 2014-11-26 23:58:39,418 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:58:39,426 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Found existing network configuration for offering [Network Offering [2-Management-System-Management-Network]: Ntwk[201|Management|2]
- 2014-11-26 23:58:39,426 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:58:39,433 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Found existing network configuration for offering [Network Offering [4-Storage-System-Storage-Network]: Ntwk[203|Storage|4]
- 2014-11-26 23:58:39,433 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:58:39,435 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,435 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,442 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,442 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:39,442 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:39,442 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,442 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:39,442 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,442 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:39,457 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,457 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,462 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,462 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:39,462 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:39,462 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,462 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:39,462 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,462 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:39,477 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,477 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,482 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,482 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:39,482 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2014-11-26 23:58:39,482 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,482 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:39,482 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,482 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:39,482 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2014-11-26 23:58:39,485 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:39,485 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:39,485 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:39,487 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:39,488 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:39,488 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:39,490 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:39,492 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:39,494 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Allocating entries for VM: VM[SecondaryStorageVm|s-135-VM]
- 2014-11-26 23:58:39,495 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:39,504 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Allocating nics for VM[SecondaryStorageVm|s-135-VM]
- 2014-11-26 23:58:39,506 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Allocating nic for vm VM[SecondaryStorageVm|s-135-VM] in network Ntwk[200|Public|1] with requested profile NicProfile[0-0-null-null-null
- 2014-11-26 23:58:39,506 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:39,513 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:39,513 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:39,514 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:39,514 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking if host: 2 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:39,515 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Host: 2 can access pool: 2
- 2014-11-26 23:58:39,522 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Found a potential host id: 2 name: cloud-host10.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:39,525 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:39,525 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:39,538 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Allocating nic for vm VM[SecondaryStorageVm|s-135-VM] in network Ntwk[202|Control|3] with requested profile null
- 2014-11-26 23:58:39,550 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 2 host id before state transition: null
- 2014-11-26 23:58:39,555 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Allocating nic for vm VM[SecondaryStorageVm|s-135-VM] in network Ntwk[201|Management|2] with requested profile null
- 2014-11-26 23:58:39,567 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,567 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) We are allocating VM, increasing the used capacity of this host:2
- 2014-11-26 23:58:39,567 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:39,567 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:58:39,567 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:39,567 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) RAM STATS after allocation: for host: 2, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:58:39,573 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) VM is being created in podId: 1
- 2014-11-26 23:58:39,577 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Allocating nic for vm VM[SecondaryStorageVm|s-135-VM] in network Ntwk[203|Storage|4] with requested profile null
- 2014-11-26 23:58:39,582 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=200 is already implemented
- 2014-11-26 23:58:39,596 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Allocating disks for VM[SecondaryStorageVm|s-135-VM]
- 2014-11-26 23:58:39,604 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Allocation completed for VM: VM[SecondaryStorageVm|s-135-VM]
- 2014-11-26 23:58:39,619 DEBUG [c.c.a.SecondaryStorageVmAlertAdapter] (secstorage-1:ctx-b4dab2a3) received secondary storage vm alert
- 2014-11-26 23:58:39,619 DEBUG [c.c.a.SecondaryStorageVmAlertAdapter] (secstorage-1:ctx-b4dab2a3) New secondary storage vm created, zone: CGG-Zone1, secStorageVm: s-135-VM, public IP: null, private IP: null
- 2014-11-26 23:58:39,624 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=202 is already implemented
- 2014-11-26 23:58:39,649 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-7b00bf53) StorageCollector is running...
- 2014-11-26 23:58:39,655 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) 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
- 2014-11-26 23:58:39,655 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Successfully transitioned to start state for VM[SecondaryStorageVm|s-135-VM] reservation id = c8b34105-e8ee-4fc3-9817-4e891ccf38ef
- 2014-11-26 23:58:39,657 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-7b00bf53) There is no secondary storage VM for secondary storage host Zone1-secStore1
- 2014-11-26 23:58:39,661 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Trying to deploy VM, vm has dcId: 1 and podId: null
- 2014-11-26 23:58:39,661 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:58:39,663 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-3:ctx-7b00bf53) Seq 5-1497235806: Forwarding null to 68995168937102
- 2014-11-26 23:58:39,672 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:58:39,674 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:39,674 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 500, requested ram: 536870912
- 2014-11-26 23:58:39,674 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:39,675 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-b4dab2a3) Searching all possible resources under this Zone: 1
- 2014-11-26 23:58:39,677 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-b4dab2a3) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
- 2014-11-26 23:58:39,683 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=201 is already implemented
- 2014-11-26 23:58:39,699 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:39,699 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:39,707 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-1-Routing], Host[-5-Routing], Host[-3-Routing], Host[-2-Routing], Host[-4-Routing]]
- 2014-11-26 23:58:39,725 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-1-Routing], Host[-5-Routing], Host[-3-Routing], Host[-2-Routing], Host[-4-Routing]]
- 2014-11-26 23:58:39,725 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
- 2014-11-26 23:58:39,734 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Allocated a nic NicProfile[3-1-ee5c186f-0673-4daa-ac94-90daf20040ff-10.3.4.121-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:39,741 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,741 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,746 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:39,748 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,748 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:39,748 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2014-11-26 23:58:39,748 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,748 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 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
- 2014-11-26 23:58:39,748 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,748 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:39,764 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,764 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,769 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,769 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:39,769 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 536870912
- 2014-11-26 23:58:39,769 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,770 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 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
- 2014-11-26 23:58:39,770 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,770 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2014-11-26 23:58:39,774 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:39,788 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,788 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,794 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,794 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:39,794 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 536870912
- 2014-11-26 23:58:39,794 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,794 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 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
- 2014-11-26 23:58:39,794 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,794 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:39,799 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9a467cf9) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:39,810 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,810 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,812 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:39,814 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 666
- 2014-11-26 23:58:39,818 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,818 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2014-11-26 23:58:39,818 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free RAM: 131152388096 , Requested RAM: 536870912
- 2014-11-26 23:58:39,818 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,818 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 2, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,818 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 1073741824, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,818 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2014-11-26 23:58:39,821 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Acquire lock on VMTemplateStoragePool 666 with timeout 3600 seconds
- 2014-11-26 23:58:39,824 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) lock is acquired for VMTemplateStoragePool 666
- 2014-11-26 23:58:39,831 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:39,831 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:39,836 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,836 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:39,836 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 536870912
- 2014-11-26 23:58:39,836 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:39,836 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 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
- 2014-11-26 23:58:39,836 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:39,836 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:39,836 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-b4dab2a3 FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2014-11-26 23:58:39,838 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Checking suitable pools for volume (Id, Type): (135,ROOT)
- 2014-11-26 23:58:39,838 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:39,838 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:39,841 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (secstorage-1:ctx-b4dab2a3) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:39,841 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-b4dab2a3) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:39,841 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-b4dab2a3) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:39,843 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9a467cf9) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:39,844 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-b4dab2a3) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:39,846 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-b4dab2a3) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:39,850 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (secstorage-1:ctx-b4dab2a3) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:39,858 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-b4dab2a3) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:39,866 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 4-853737854: Forwarding Seq 4-853737854: { Cmd , MgmtId: 226850023912365, via: 4(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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:39,866 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-b4dab2a3) Checking pool: 2 for volume allocation [Vol[135|vm=135|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:39,866 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-b4dab2a3) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:39,866 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:39,866 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Checking if host: 1 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:39,867 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Host: 1 can access pool: 2
- 2014-11-26 23:58:39,875 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) Found a potential host id: 1 name: cloud-host6.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:39,878 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-b4dab2a3) 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(135|ROOT-->Pool(2))]
- 2014-11-26 23:58:39,878 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Deployment found - P0=VM[SecondaryStorageVm|s-135-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(135|ROOT-->Pool(2))]
- 2014-11-26 23:58:39,906 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 1 host id before state transition: null
- 2014-11-26 23:58:39,924 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:39,924 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) We are allocating VM, increasing the used capacity of this host:1
- 2014-11-26 23:58:39,924 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:39,924 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) Current Used RAM: 0 , Free RAM:130926600192 ,Requested RAM: 536870912
- 2014-11-26 23:58:39,924 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) 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
- 2014-11-26 23:58:39,924 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) RAM STATS after allocation: for host: 1, old used: 0, old reserved: 0, total: 130926600192; new used: 536870912, reserved: 0; requested mem: 536870912,alloc_from_last:false
- 2014-11-26 23:58:39,931 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) VM is being created in podId: 1
- 2014-11-26 23:58:39,940 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Network id=200 is already implemented
- 2014-11-26 23:58:39,992 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Network id=202 is already implemented
- 2014-11-26 23:58:40,063 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Network id=201 is already implemented
- 2014-11-26 23:58:40,114 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-b4dab2a3) Allocated a nic NicProfile[538-135-c8b34105-e8ee-4fc3-9817-4e891ccf38ef-10.3.4.120-null for VM[SecondaryStorageVm|s-135-VM]
- 2014-11-26 23:58:40,132 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-b4dab2a3) Network id=203 is already implemented
- 2014-11-26 23:58:40,151 DEBUG [c.c.a.t.Request] (StatsCollector-3:ctx-7b00bf53) Seq 5-1497235806: Received: { Ans: , MgmtId: 226850023912365, via: 5, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
- 2014-11-26 23:58:40,187 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-b4dab2a3) Allocated a nic NicProfile[539-135-c8b34105-e8ee-4fc3-9817-4e891ccf38ef-10.3.4.175-null for VM[SecondaryStorageVm|s-135-VM]
- 2014-11-26 23:58:40,201 DEBUG [o.a.c.e.o.VolumeOrchestrator] (secstorage-1:ctx-b4dab2a3) Checking if we need to prepare 1 volumes for VM[SecondaryStorageVm|s-135-VM]
- 2014-11-26 23:58:40,229 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-b4dab2a3) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:40,242 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-b4dab2a3) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:40,245 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-b4dab2a3) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 666
- 2014-11-26 23:58:40,257 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-b4dab2a3) Acquire lock on VMTemplateStoragePool 666 with timeout 3600 seconds
- 2014-11-26 23:58:42,052 DEBUG [c.c.a.t.Request] (AgentManager-Handler-3:null) Seq 4-853737854: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:42,053 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 4-853737854: Received: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:42,075 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) releasing lock for VMTemplateStoragePool 666
- 2014-11-26 23:58:42,076 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9a467cf9) Was unable to find lock for the key template_spool_ref666 and thread id 1994469474
- 2014-11-26 23:58:42,076 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:42,076 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:42,084 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:42,093 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 2-2114716031: Forwarding Seq 2-2114716031: { Cmd , MgmtId: 226850023912365, via: 2(cloud-host10.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:42,198 DEBUG [c.c.a.t.Request] (AgentManager-Handler-4:null) Seq 2-2114716031: Processing: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:42,198 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 2-2114716031: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:42,222 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:42,242 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9a467cf9) Releasing ip address for reservationId=ee5c186f-0673-4daa-ac94-90daf20040ff, instance=3
- 2014-11-26 23:58:42,243 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:42,252 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:42,252 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:42,260 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Deploy avoids pods: null, clusters: null, hosts: [2]
- 2014-11-26 23:58:42,262 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:42,262 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:42,262 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:42,262 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:42,263 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:42,282 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:42,282 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:42,290 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-5-Routing], Host[-4-Routing], Host[-1-Routing], Host[-2-Routing], Host[-3-Routing]]
- 2014-11-26 23:58:42,308 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-5-Routing], Host[-4-Routing], Host[-1-Routing], Host[-2-Routing], Host[-3-Routing]]
- 2014-11-26 23:58:42,308 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:42,322 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:42,322 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:42,329 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:42,329 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:42,329 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:42,329 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:42,329 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:42,329 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:42,329 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2014-11-26 23:58:42,344 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:42,345 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:42,350 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:42,350 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:42,350 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:42,350 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:42,350 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:42,350 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:42,350 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:42,368 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:42,369 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:42,374 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:42,374 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2014-11-26 23:58:42,374 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 130389729280 , Requested RAM: 1073741824
- 2014-11-26 23:58:42,374 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:42,374 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 1, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:42,374 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 536870912, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:42,374 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:42,374 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:42,391 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:42,391 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:42,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:42,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:42,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:42,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:42,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:42,397 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:42,397 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:42,397 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host Allocator returning 4 suitable hosts
- 2014-11-26 23:58:42,400 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:42,400 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:42,400 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:42,402 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:42,403 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:42,403 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:42,406 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:42,409 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:42,412 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:42,421 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:42,430 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:42,430 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:42,430 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:42,430 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking if host: 5 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:42,431 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Host: 5 can access pool: 2
- 2014-11-26 23:58:42,440 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Found a potential host id: 5 name: cloud-host7.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:42,444 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:42,444 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:42,472 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:42,487 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:42,487 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:58:42,488 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:42,488 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) release mem from host: 2, old used: 1073741824,reserved: 0, total: 132226129920; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:42,511 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:42,511 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) We are allocating VM, increasing the used capacity of this host:5
- 2014-11-26 23:58:42,511 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:42,511 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:58:42,511 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:42,511 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) RAM STATS after allocation: for host: 5, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:58:42,518 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) VM is being created in podId: 1
- 2014-11-26 23:58:42,528 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=200 is already implemented
- 2014-11-26 23:58:42,580 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=202 is already implemented
- 2014-11-26 23:58:42,641 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=201 is already implemented
- 2014-11-26 23:58:42,694 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Allocated a nic NicProfile[3-1-ee5c186f-0673-4daa-ac94-90daf20040ff-10.3.4.117-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:42,709 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:42,738 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:42,749 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9a467cf9) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:42,763 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:42,767 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 667
- 2014-11-26 23:58:42,778 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Acquire lock on VMTemplateStoragePool 667 with timeout 3600 seconds
- 2014-11-26 23:58:42,783 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) lock is acquired for VMTemplateStoragePool 667
- 2014-11-26 23:58:42,796 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9a467cf9) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:42,821 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 2-2114716032: Forwarding Seq 2-2114716032: { Cmd , MgmtId: 226850023912365, via: 2(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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:44,989 DEBUG [c.c.a.t.Request] (AgentManager-Handler-5:null) Seq 2-2114716032: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:44,989 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 2-2114716032: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:45,016 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) releasing lock for VMTemplateStoragePool 667
- 2014-11-26 23:58:45,017 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9a467cf9) Was unable to find lock for the key template_spool_ref667 and thread id 1994469474
- 2014-11-26 23:58:45,017 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:45,017 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:45,025 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:45,034 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 5-1497235807: Forwarding Seq 5-1497235807: { Cmd , MgmtId: 226850023912365, via: 5(cloud-host7.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:45,138 DEBUG [c.c.a.t.Request] (AgentManager-Handler-6:null) Seq 5-1497235807: Processing: { Ans: , MgmtId: 226850023912365, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:45,139 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 5-1497235807: Received: { Ans: , MgmtId: 226850023912365, via: 5, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:45,163 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:45,182 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9a467cf9) Releasing ip address for reservationId=ee5c186f-0673-4daa-ac94-90daf20040ff, instance=3
- 2014-11-26 23:58:45,183 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:45,192 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:45,192 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:45,201 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Deploy avoids pods: null, clusters: null, hosts: [2, 5]
- 2014-11-26 23:58:45,203 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:45,203 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:45,203 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:45,204 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:45,204 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:45,224 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:45,224 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:45,232 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-4-Routing], Host[-1-Routing], Host[-5-Routing], Host[-3-Routing], Host[-2-Routing]]
- 2014-11-26 23:58:45,248 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-4-Routing], Host[-1-Routing], Host[-5-Routing], Host[-3-Routing], Host[-2-Routing]]
- 2014-11-26 23:58:45,248 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:45,263 INFO [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-b4dab2a3) Unable to acquire lock on VMTemplateStoragePool 666
- 2014-11-26 23:58:45,263 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:45,263 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:45,265 ERROR [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Failed to start instance VM[SecondaryStorageVm|s-135-VM]
- java.lang.NullPointerException
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:454)
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:603)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1190)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:45,270 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:45,270 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:45,270 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:45,270 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:45,270 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:45,270 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:45,270 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:58:45,273 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Cleaning up resources for the vm VM[SecondaryStorageVm|s-135-VM] in Starting state
- 2014-11-26 23:58:45,281 DEBUG [c.c.a.m.ClusteredAgentAttache] (secstorage-1:ctx-b4dab2a3) Seq 1-619512186: Forwarding Seq 1-619512186: { Cmd , MgmtId: 226850023912365, via: 1(cloud-host6.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-135-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:45,286 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:45,286 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:45,291 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:45,291 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2014-11-26 23:58:45,291 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 130389729280 , Requested RAM: 1073741824
- 2014-11-26 23:58:45,291 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:45,291 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 1, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:45,291 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 536870912, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:45,291 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:45,291 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:45,307 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:45,307 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:45,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:45,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:45,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:45,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:45,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:45,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:45,312 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:45,312 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:45,312 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host Allocator returning 3 suitable hosts
- 2014-11-26 23:58:45,315 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:45,315 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:45,315 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:45,318 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:45,318 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:45,318 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:45,321 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:45,324 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:45,327 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:45,336 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:45,344 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:45,344 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:45,344 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:45,344 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking if host: 4 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:45,346 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Host: 4 can access pool: 2
- 2014-11-26 23:58:45,354 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Found a potential host id: 4 name: cloud-host9.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:45,358 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:45,358 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:45,387 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:45,392 DEBUG [c.c.a.t.Request] (AgentManager-Handler-7:null) Seq 1-619512186: Processing: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:45,393 DEBUG [c.c.a.t.Request] (secstorage-1:ctx-b4dab2a3) Seq 1-619512186: Received: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:45,409 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:45,409 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:58:45,409 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:45,409 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) release mem from host: 5, old used: 1073741824,reserved: 0, total: 132226129920; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:45,416 DEBUG [c.c.n.g.ControlNetworkGuru] (secstorage-1:ctx-b4dab2a3) Released nic: NicProfile[537-135-null-null-null
- 2014-11-26 23:58:45,437 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-b4dab2a3) Releasing ip address for reservationId=c8b34105-e8ee-4fc3-9817-4e891ccf38ef, instance=538
- 2014-11-26 23:58:45,438 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-b4dab2a3) Released nic: NicProfile[538-135-null-null-null
- 2014-11-26 23:58:45,443 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:45,443 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) We are allocating VM, increasing the used capacity of this host:4
- 2014-11-26 23:58:45,443 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:45,443 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:58:45,443 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:45,443 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) RAM STATS after allocation: for host: 4, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:58:45,450 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) VM is being created in podId: 1
- 2014-11-26 23:58:45,456 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (secstorage-1:ctx-b4dab2a3) Releasing ip address for reservationId=c8b34105-e8ee-4fc3-9817-4e891ccf38ef, instance=539
- 2014-11-26 23:58:45,457 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-b4dab2a3) Released nic: NicProfile[539-135-null-null-null
- 2014-11-26 23:58:45,459 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=200 is already implemented
- 2014-11-26 23:58:45,496 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Successfully released network resources for the vm VM[SecondaryStorageVm|s-135-VM]
- 2014-11-26 23:58:45,496 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-b4dab2a3) Successfully cleanued up resources for the vm VM[SecondaryStorageVm|s-135-VM] in Starting state
- 2014-11-26 23:58:45,513 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 1
- 2014-11-26 23:58:45,524 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:45,524 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2014-11-26 23:58:45,524 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) 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
- 2014-11-26 23:58:45,524 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-b4dab2a3) release mem from host: 1, old used: 536870912,reserved: 0, total: 130926600192; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:45,529 WARN [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-b4dab2a3) Exception while trying to start secondary storage vm
- com.cloud.exception.AgentUnavailableException: Resource [Host:1] is unreachable: Host 1: Unable to start instance due to null
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1072)
- 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: java.lang.NullPointerException
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:454)
- at org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:603)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1190)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- ... 23 more
- 2014-11-26 23:58:45,532 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-b4dab2a3) Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 135, will recycle it and start a new one
- 2014-11-26 23:58:45,532 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-b4dab2a3) Primary secondary storage is not even started, wait until next turn
- 2014-11-26 23:58:45,534 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=202 is already implemented
- 2014-11-26 23:58:45,598 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=201 is already implemented
- 2014-11-26 23:58:45,651 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Allocated a nic NicProfile[3-1-ee5c186f-0673-4daa-ac94-90daf20040ff-10.3.4.119-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:45,664 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:45,692 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:45,702 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9a467cf9) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:45,721 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:45,724 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 668
- 2014-11-26 23:58:45,737 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Acquire lock on VMTemplateStoragePool 668 with timeout 3600 seconds
- 2014-11-26 23:58:45,742 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) lock is acquired for VMTemplateStoragePool 668
- 2014-11-26 23:58:45,755 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9a467cf9) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:45,780 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 4-853737855: Forwarding Seq 4-853737855: { Cmd , MgmtId: 226850023912365, via: 4(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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:47,946 DEBUG [c.c.a.t.Request] (AgentManager-Handler-8:null) Seq 4-853737855: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:47,947 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 4-853737855: Received: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:47,972 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) releasing lock for VMTemplateStoragePool 668
- 2014-11-26 23:58:47,972 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9a467cf9) Was unable to find lock for the key template_spool_ref668 and thread id 1994469474
- 2014-11-26 23:58:47,973 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:47,973 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:47,982 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:47,991 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 4-853737856: Forwarding Seq 4-853737856: { Cmd , MgmtId: 226850023912365, via: 4(cloud-host9.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:48,102 DEBUG [c.c.a.t.Request] (AgentManager-Handler-9:null) Seq 4-853737856: Processing: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:48,102 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 4-853737856: Received: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:48,128 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:48,152 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9a467cf9) Releasing ip address for reservationId=ee5c186f-0673-4daa-ac94-90daf20040ff, instance=3
- 2014-11-26 23:58:48,153 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:48,165 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:48,165 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:48,174 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Deploy avoids pods: null, clusters: null, hosts: [2, 4, 5]
- 2014-11-26 23:58:48,177 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:48,177 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:48,178 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:48,178 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:48,178 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:48,199 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:48,199 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:48,208 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-5-Routing], Host[-4-Routing], Host[-2-Routing], Host[-3-Routing], Host[-1-Routing]]
- 2014-11-26 23:58:48,226 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-5-Routing], Host[-4-Routing], Host[-2-Routing], Host[-3-Routing], Host[-1-Routing]]
- 2014-11-26 23:58:48,226 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:48,226 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:48,226 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host9.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:48,226 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:48,244 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:48,244 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:48,250 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:48,250 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:48,250 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:58:48,250 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:48,250 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:48,250 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:48,250 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:58:48,267 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:48,267 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:48,272 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:48,272 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:58:48,272 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2014-11-26 23:58:48,272 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:48,272 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 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
- 2014-11-26 23:58:48,272 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:48,273 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:48,273 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host Allocator returning 2 suitable hosts
- 2014-11-26 23:58:48,276 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:48,276 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:48,276 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:48,279 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:48,279 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:48,279 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:48,282 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:48,285 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:48,289 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:48,299 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:48,309 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:48,309 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:48,309 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:48,309 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking if host: 3 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:48,310 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Host: 3 can access pool: 2
- 2014-11-26 23:58:48,321 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Found a potential host id: 3 name: cloud-host8.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:48,325 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:48,325 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:48,356 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 3 host id before state transition: 4
- 2014-11-26 23:58:48,371 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:48,371 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:58:48,371 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:48,371 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) release mem from host: 4, old used: 1073741824,reserved: 0, total: 132226129920; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:48,399 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:48,399 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) We are allocating VM, increasing the used capacity of this host:3
- 2014-11-26 23:58:48,399 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:58:48,399 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:58:48,399 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:48,399 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) RAM STATS after allocation: for host: 3, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:58:48,405 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) VM is being created in podId: 1
- 2014-11-26 23:58:48,417 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=200 is already implemented
- 2014-11-26 23:58:48,472 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=202 is already implemented
- 2014-11-26 23:58:48,540 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=201 is already implemented
- 2014-11-26 23:58:48,593 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Allocated a nic NicProfile[3-1-ee5c186f-0673-4daa-ac94-90daf20040ff-10.3.4.180-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:48,609 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:48,640 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:48,651 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9a467cf9) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:48,666 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:48,669 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 669
- 2014-11-26 23:58:48,681 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Acquire lock on VMTemplateStoragePool 669 with timeout 3600 seconds
- 2014-11-26 23:58:48,686 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) lock is acquired for VMTemplateStoragePool 669
- 2014-11-26 23:58:48,701 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9a467cf9) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:48,725 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 1-619512187: Forwarding Seq 1-619512187: { Cmd , MgmtId: 226850023912365, via: 1(cloud-host6.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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:49,157 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-8e3c87c7) ===START=== 10.3.4.7 -- GET apiKey=BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg&command=listConfigurations&name=default.page.size&response=json&signature=xMOA0z46ZSJhwIOZ/GLVd1IlyjE%3D
- 2014-11-26 23:58:49,157 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-d5da44df) ===START=== 10.3.4.7 -- GET apiKey=BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg&command=listConfigurations&name=default.page.size&response=json&signature=xMOA0z46ZSJhwIOZ/GLVd1IlyjE%3D
- 2014-11-26 23:58:49,161 DEBUG [c.c.a.ApiServer] (catalina-exec-13:ctx-8e3c87c7 ctx-da405cce) apiKey does not map to a valid user -- ignoring request, apiKey: BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg
- 2014-11-26 23:58:49,162 DEBUG [c.c.a.ApiServer] (catalina-exec-5:ctx-d5da44df ctx-5c32d80c) apiKey does not map to a valid user -- ignoring request, apiKey: BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg
- 2014-11-26 23:58:49,162 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-8e3c87c7 ctx-da405cce) ===END=== 10.3.4.7 -- GET apiKey=BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg&command=listConfigurations&name=default.page.size&response=json&signature=xMOA0z46ZSJhwIOZ/GLVd1IlyjE%3D
- 2014-11-26 23:58:49,162 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-d5da44df ctx-5c32d80c) ===END=== 10.3.4.7 -- GET apiKey=BJ3Ma7AbVQYFU3zZASKULq8JQd9SaGGKIqiA01_ryevqnyaVkNoawmRORwqHBCBs-O4rDMd03BNKcGZd7lj7jg&command=listConfigurations&name=default.page.size&response=json&signature=xMOA0z46ZSJhwIOZ/GLVd1IlyjE%3D
- 2014-11-26 23:58:50,892 DEBUG [c.c.a.t.Request] (AgentManager-Handler-10:null) Seq 1-619512187: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:50,892 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 1-619512187: Received: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:50,916 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) releasing lock for VMTemplateStoragePool 669
- 2014-11-26 23:58:50,917 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9a467cf9) Was unable to find lock for the key template_spool_ref669 and thread id 1994469474
- 2014-11-26 23:58:50,917 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:50,917 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:50,928 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:50,938 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 3-1990132099: Forwarding Seq 3-1990132099: { Cmd , MgmtId: 226850023912365, via: 3(cloud-host8.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:51,021 DEBUG [c.c.a.t.Request] (AgentManager-Handler-11:null) Seq 3-1990132099: Processing: { Ans: , MgmtId: 226850023912365, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:51,022 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 3-1990132099: Received: { Ans: , MgmtId: 226850023912365, via: 3, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:51,047 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:51,070 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9a467cf9) Releasing ip address for reservationId=ee5c186f-0673-4daa-ac94-90daf20040ff, instance=3
- 2014-11-26 23:58:51,072 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:51,082 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:51,082 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:51,090 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Deploy avoids pods: null, clusters: null, hosts: [2, 3, 4, 5]
- 2014-11-26 23:58:51,093 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:51,093 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:51,093 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:51,093 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:51,094 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:51,115 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:51,115 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:51,123 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-2-Routing], Host[-4-Routing], Host[-1-Routing], Host[-3-Routing], Host[-5-Routing]]
- 2014-11-26 23:58:51,143 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-2-Routing], Host[-4-Routing], Host[-1-Routing], Host[-3-Routing], Host[-5-Routing]]
- 2014-11-26 23:58:51,144 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:51,144 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:51,144 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host9.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:51,161 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:58:51,161 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:58:51,168 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:51,168 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2014-11-26 23:58:51,168 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Free RAM: 130389729280 , Requested RAM: 1073741824
- 2014-11-26 23:58:51,168 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:58:51,168 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 1, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:51,168 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 536870912, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:58:51,168 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:58:51,168 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host8.cgg.gov.in, hostId: 3 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:51,168 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:51,168 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host Allocator returning 1 suitable hosts
- 2014-11-26 23:58:51,172 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:58:51,172 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) We need to allocate new storagepool for this volume
- 2014-11-26 23:58:51,172 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:58:51,175 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:58:51,175 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:58:51,175 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:51,178 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:58:51,181 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:58:51,184 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:58:51,192 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-fbbc9cca) Found 0 routers to update status.
- 2014-11-26 23:58:51,195 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-fbbc9cca) Found 0 networks to update RvR status.
- 2014-11-26 23:58:51,196 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:58:51,204 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:58:51,204 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-9a467cf9) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:58:51,204 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:58:51,204 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking if host: 1 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:58:51,205 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Host: 1 can access pool: 2
- 2014-11-26 23:58:51,207 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Found a potential host id: 1 name: cloud-host6.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:58:51,208 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:51,208 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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(2))]
- 2014-11-26 23:58:51,235 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 1 host id before state transition: 3
- 2014-11-26 23:58:51,252 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:51,252 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total RAM: 132226133760 and RAM after applying overprovisioning: 132226129920
- 2014-11-26 23:58:51,253 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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
- 2014-11-26 23:58:51,253 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) release mem from host: 3, old used: 1073741824,reserved: 0, total: 132226129920; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:51,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:51,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) We are allocating VM, increasing the used capacity of this host:1
- 2014-11-26 23:58:51,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used CPU: 500 , Free CPU:87500 ,Requested CPU: 500
- 2014-11-26 23:58:51,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Current Used RAM: 536870912 , Free RAM:130389729280 ,Requested RAM: 1073741824
- 2014-11-26 23:58:51,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) CPU STATS after allocation: for host: 1, 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
- 2014-11-26 23:58:51,312 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) RAM STATS after allocation: for host: 1, old used: 536870912, old reserved: 0, total: 130926600192; new used: 1610612736, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:58:51,320 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) VM is being created in podId: 1
- 2014-11-26 23:58:51,331 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=200 is already implemented
- 2014-11-26 23:58:51,387 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=202 is already implemented
- 2014-11-26 23:58:51,448 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-9a467cf9) Network id=201 is already implemented
- 2014-11-26 23:58:51,503 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Allocated a nic NicProfile[3-1-ee5c186f-0673-4daa-ac94-90daf20040ff-10.3.4.149-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:51,521 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:51,550 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:1, type:Image
- 2014-11-26 23:58:51,561 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-9a467cf9) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:58:51,600 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-9a467cf9) template 1 is already in store:2, type:Primary
- 2014-11-26 23:58:51,604 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 670
- 2014-11-26 23:58:51,617 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) Acquire lock on VMTemplateStoragePool 670 with timeout 3600 seconds
- 2014-11-26 23:58:51,622 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) lock is acquired for VMTemplateStoragePool 670
- 2014-11-26 23:58:51,637 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-9a467cf9) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:58:51,663 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 3-1990132100: Forwarding Seq 3-1990132100: { Cmd , MgmtId: 226850023912365, via: 3(cloud-host8.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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:58:53,796 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null) Seq 3-1990132100: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:58:53,797 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 3-1990132100: Received: { Ans: , MgmtId: 226850023912365, via: 3, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:58:53,823 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-9a467cf9) releasing lock for VMTemplateStoragePool 670
- 2014-11-26 23:58:53,824 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-9a467cf9) Was unable to find lock for the key template_spool_ref670 and thread id 1994469474
- 2014-11-26 23:58:53,824 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-9a467cf9) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- 2014-11-26 23:58:53,824 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Unable to contact resource.
- com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
- at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
- at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
- 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)
- 2014-11-26 23:58:53,833 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Cleaning up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:53,842 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-9a467cf9) Seq 1-619512188: Forwarding Seq 1-619512188: { Cmd , MgmtId: 226850023912365, via: 1(cloud-host6.cgg.gov.in), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-1-VM","wait":0}}] } to 68995168937102
- 2014-11-26 23:58:53,953 DEBUG [c.c.a.t.Request] (AgentManager-Handler-13:null) Seq 1-619512188: Processing: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not exist","wait":0}}] }
- 2014-11-26 23:58:53,953 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-9a467cf9) Seq 1-619512188: Received: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, { StopAnswer } }
- 2014-11-26 23:58:53,981 DEBUG [c.c.n.g.ControlNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[2-1-null-null-null
- 2014-11-26 23:58:54,003 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl] (consoleproxy-1:ctx-9a467cf9) Releasing ip address for reservationId=ee5c186f-0673-4daa-ac94-90daf20040ff, instance=3
- 2014-11-26 23:58:54,005 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-9a467cf9) Released nic: NicProfile[3-1-null-null-null
- 2014-11-26 23:58:54,017 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully released network resources for the vm VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:58:54,017 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-9a467cf9) Successfully cleanued up resources for the vm VM[ConsoleProxy|v-1-VM] in Starting state
- 2014-11-26 23:58:54,025 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Deploy avoids pods: null, clusters: null, hosts: [1, 2, 3, 4, 5]
- 2014-11-26 23:58:54,028 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:58:54,028 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:58:54,028 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:58:54,028 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:54,028 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:54,051 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:58:54,051 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:58:54,060 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-3-Routing], Host[-5-Routing], Host[-4-Routing], Host[-2-Routing], Host[-1-Routing]]
- 2014-11-26 23:58:54,077 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-3-Routing], Host[-5-Routing], Host[-4-Routing], Host[-2-Routing], Host[-1-Routing]]
- 2014-11-26 23:58:54,077 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:58:54,077 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host8.cgg.gov.in, hostId: 3 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:54,077 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host7.cgg.gov.in, hostId: 5 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:54,077 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host9.cgg.gov.in, hostId: 4 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:54,077 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host10.cgg.gov.in, hostId: 2 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:54,077 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host name: cloud-host6.cgg.gov.in, hostId: 1 is in avoid set, skipping this and trying other available hosts
- 2014-11-26 23:58:54,077 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-9a467cf9 FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts
- 2014-11-26 23:58:54,077 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) No suitable hosts found
- 2014-11-26 23:58:54,077 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) No suitable hosts found under this Cluster: 1
- 2014-11-26 23:58:54,081 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-9a467cf9) Could not find suitable Deployment Destination for this VM under any clusters, returning.
- 2014-11-26 23:58:54,081 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Searching resources only under specified Pod: 1
- 2014-11-26 23:58:54,082 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:58:54,091 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) Removing from the clusterId list these clusters from avoid set: [1]
- 2014-11-26 23:58:54,091 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-9a467cf9) No clusters found after removing disabled clusters and clusters in avoid list, returning.
- 2014-11-26 23:58:54,116 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 1
- 2014-11-26 23:58:54,131 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:58:54,131 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) Hosts's actual total RAM: 130926604032 and RAM after applying overprovisioning: 130926600192
- 2014-11-26 23:58:54,131 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) release cpu from host: 1, old used: 1000,reserved: 0, actual total: 88000, total with overprovisioning: 88000; new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:54,131 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-9a467cf9) release mem from host: 1, old used: 1610612736,reserved: 0, total: 130926600192; new used: 536870912,reserved:0; movedfromreserved: false,moveToReserveredfalse
- 2014-11-26 23:58:54,139 WARN [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-9a467cf9) 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:921)
- 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)
- 2014-11-26 23:58:56,022 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-254e88d9) Resetting hosts suitable for reconnect
- 2014-11-26 23:58:56,026 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-254e88d9) Completed resetting hosts suitable for reconnect
- 2014-11-26 23:58:56,026 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-254e88d9) Acquiring hosts for clusters already owned by this management server
- 2014-11-26 23:58:56,027 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-254e88d9) Completed acquiring hosts for clusters already owned by this management server
- 2014-11-26 23:58:56,027 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-254e88d9) Acquiring hosts for clusters not owned by any management server
- 2014-11-26 23:58:56,028 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-254e88d9) Completed acquiring hosts for clusters not owned by any management server
- 2014-11-26 23:58:56,150 DEBUG [c.c.s.StatsCollector] (StatsCollector-1:ctx-92bec5a9) HostStatsCollector is running...
- 2014-11-26 23:58:56,179 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-92bec5a9) Seq 1-619512189: Forwarding null to 68995168937102
- 2014-11-26 23:58:56,488 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-92bec5a9) Seq 1-619512189: Received: { Ans: , MgmtId: 226850023912365, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:58:56,511 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-92bec5a9) Seq 2-2114716033: Forwarding null to 68995168937102
- 2014-11-26 23:58:56,811 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-92bec5a9) Seq 2-2114716033: Received: { Ans: , MgmtId: 226850023912365, via: 2, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:58:56,835 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-92bec5a9) Seq 3-1990132101: Forwarding null to 68995168937102
- 2014-11-26 23:58:57,045 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-92bec5a9) Seq 3-1990132101: Received: { Ans: , MgmtId: 226850023912365, via: 3, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:58:57,067 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-92bec5a9) Seq 4-853737857: Forwarding null to 68995168937102
- 2014-11-26 23:58:57,419 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-92bec5a9) Seq 4-853737857: Received: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:58:57,442 DEBUG [c.c.a.m.ClusteredAgentAttache] (StatsCollector-1:ctx-92bec5a9) Seq 5-1497235808: Forwarding null to 68995168937102
- 2014-11-26 23:58:57,744 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-92bec5a9) Seq 5-1497235808: Received: { Ans: , MgmtId: 226850023912365, via: 5, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
- 2014-11-26 23:59:08,076 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-24bff7b3) VmStatsCollector is running...
- 2014-11-26 23:59:09,239 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-50b6abde) Zone 1 is ready to launch console proxy
- 2014-11-26 23:59:09,239 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-50b6abde) Expand console proxy standby capacity for zone CGG-Zone1
- 2014-11-26 23:59:09,252 INFO [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-50b6abde) Found a stopped console proxy, bring it up to running pool. proxy vm id : 1
- 2014-11-26 23:59:09,292 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde) 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
- 2014-11-26 23:59:09,292 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-50b6abde) Successfully transitioned to start state for VM[ConsoleProxy|v-1-VM] reservation id = c0c50813-a05d-4e8c-883a-ffc1d62bf973
- 2014-11-26 23:59:09,297 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-50b6abde) Trying to deploy VM, vm has dcId: 1 and podId: 1
- 2014-11-26 23:59:09,297 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-50b6abde) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:59:09,308 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:59:09,310 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:59:09,310 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Trying to allocate a host and storage pools from dc:1, pod:1,cluster:null, requested cpu: 500, requested ram: 1073741824
- 2014-11-26 23:59:09,310 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:59:09,311 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-50b6abde) Searching resources only under specified Pod: 1
- 2014-11-26 23:59:09,311 DEBUG [c.c.d.FirstFitPlanner] (consoleproxy-1:ctx-50b6abde) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Pod: 1
- 2014-11-26 23:59:09,331 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:59:09,332 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:59:09,342 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-5-Routing], Host[-4-Routing], Host[-1-Routing], Host[-3-Routing], Host[-2-Routing]]
- 2014-11-26 23:59:09,357 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-22fd78cd) Zone 1 is ready to launch secondary storage VM
- 2014-11-26 23:59:09,359 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-5-Routing], Host[-4-Routing], Host[-1-Routing], Host[-3-Routing], Host[-2-Routing]]
- 2014-11-26 23:59:09,359 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=1024
- 2014-11-26 23:59:09,368 INFO [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-22fd78cd) No running secondary storage vms found in datacenter id=1, starting one
- 2014-11-26 23:59:09,373 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,373 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,382 INFO [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-22fd78cd) No stopped secondary storage vm is available, need to allocate a new secondary storage vm
- 2014-11-26 23:59:09,383 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,383 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:59:09,383 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:59:09,383 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,383 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde 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
- 2014-11-26 23:59:09,383 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,383 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2014-11-26 23:59:09,389 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-22fd78cd) Assign secondary storage vm from a newly started instance for request from data center : 1
- 2014-11-26 23:59:09,401 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,401 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,407 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,407 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:59:09,407 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:59:09,407 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,407 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde 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
- 2014-11-26 23:59:09,407 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,407 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:59:09,410 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Found existing network configuration for offering [Network Offering [1-Public-System-Public-Network]: Ntwk[200|Public|1]
- 2014-11-26 23:59:09,410 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:59:09,416 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Found existing network configuration for offering [Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3]
- 2014-11-26 23:59:09,416 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:59:09,421 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,422 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,422 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Found existing network configuration for offering [Network Offering [2-Management-System-Management-Network]: Ntwk[201|Management|2]
- 2014-11-26 23:59:09,422 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:59:09,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:59:09,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 1073741824
- 2014-11-26 23:59:09,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde 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
- 2014-11-26 23:59:09,426 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,426 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:59:09,429 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Found existing network configuration for offering [Network Offering [4-Storage-System-Storage-Network]: Ntwk[203|Storage|4]
- 2014-11-26 23:59:09,429 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Releasing lock for Acct[c6a1e0a2-758b-11e4-aa51-ba311310a163-system]
- 2014-11-26 23:59:09,445 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,445 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,449 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,450 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:59:09,450 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:59:09,450 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,450 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde 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
- 2014-11-26 23:59:09,450 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,450 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:59:09,462 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-22fd78cd) Allocating entries for VM: VM[SecondaryStorageVm|s-136-VM]
- 2014-11-26 23:59:09,468 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,468 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 1073741824 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,468 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-22fd78cd) Allocating nics for VM[SecondaryStorageVm|s-136-VM]
- 2014-11-26 23:59:09,471 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Allocating nic for vm VM[SecondaryStorageVm|s-136-VM] in network Ntwk[200|Public|1] with requested profile NicProfile[0-0-null-null-null
- 2014-11-26 23:59:09,473 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,473 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:59:09,473 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 1073741824
- 2014-11-26 23:59:09,473 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,473 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde 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
- 2014-11-26 23:59:09,473 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 132226129920; requested mem: 1073741824,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,473 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2014-11-26 23:59:09,473 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (consoleproxy-1:ctx-50b6abde FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2014-11-26 23:59:09,476 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Checking suitable pools for volume (Id, Type): (1,ROOT)
- 2014-11-26 23:59:09,476 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) We need to allocate new storagepool for this volume
- 2014-11-26 23:59:09,476 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:59:09,479 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (consoleproxy-1:ctx-50b6abde) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:59:09,479 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-50b6abde) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:59:09,479 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-50b6abde) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:59:09,482 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-50b6abde) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:59:09,484 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-50b6abde) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:59:09,486 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (consoleproxy-1:ctx-50b6abde) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:59:09,495 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-50b6abde) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:59:09,498 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Allocating nic for vm VM[SecondaryStorageVm|s-136-VM] in network Ntwk[202|Control|3] with requested profile null
- 2014-11-26 23:59:09,501 DEBUG [c.c.s.StorageManagerImpl] (consoleproxy-1:ctx-50b6abde) Checking pool: 2 for volume allocation [Vol[1|vm=1|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:59:09,501 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (consoleproxy-1:ctx-50b6abde) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:59:09,501 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:59:09,501 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Checking if host: 5 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:59:09,502 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Host: 5 can access pool: 2
- 2014-11-26 23:59:09,503 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) Found a potential host id: 5 name: cloud-host7.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:59:09,504 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (consoleproxy-1:ctx-50b6abde) 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(2))]
- 2014-11-26 23:59:09,504 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-50b6abde) 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(2))]
- 2014-11-26 23:59:09,510 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Allocating nic for vm VM[SecondaryStorageVm|s-136-VM] in network Ntwk[201|Management|2] with requested profile null
- 2014-11-26 23:59:09,521 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 5 host id before state transition: null
- 2014-11-26 23:59:09,526 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Allocating nic for vm VM[SecondaryStorageVm|s-136-VM] in network Ntwk[203|Storage|4] with requested profile null
- 2014-11-26 23:59:09,535 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,535 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde) We are allocating VM, increasing the used capacity of this host:5
- 2014-11-26 23:59:09,535 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde) Current Used CPU: 0 , Free CPU:88000 ,Requested CPU: 500
- 2014-11-26 23:59:09,536 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde) Current Used RAM: 0 , Free RAM:132226129920 ,Requested RAM: 1073741824
- 2014-11-26 23:59:09,536 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde) 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
- 2014-11-26 23:59:09,536 DEBUG [c.c.c.CapacityManagerImpl] (consoleproxy-1:ctx-50b6abde) RAM STATS after allocation: for host: 5, old used: 0, old reserved: 0, total: 132226129920; new used: 1073741824, reserved: 0; requested mem: 1073741824,alloc_from_last:false
- 2014-11-26 23:59:09,542 DEBUG [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-50b6abde) VM is being created in podId: 1
- 2014-11-26 23:59:09,545 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-22fd78cd) Allocating disks for VM[SecondaryStorageVm|s-136-VM]
- 2014-11-26 23:59:09,550 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-50b6abde) Network id=200 is already implemented
- 2014-11-26 23:59:09,554 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-22fd78cd) Allocation completed for VM: VM[SecondaryStorageVm|s-136-VM]
- 2014-11-26 23:59:09,570 DEBUG [c.c.a.SecondaryStorageVmAlertAdapter] (secstorage-1:ctx-22fd78cd) received secondary storage vm alert
- 2014-11-26 23:59:09,570 DEBUG [c.c.a.SecondaryStorageVmAlertAdapter] (secstorage-1:ctx-22fd78cd) New secondary storage vm created, zone: CGG-Zone1, secStorageVm: s-136-VM, public IP: null, private IP: null
- 2014-11-26 23:59:09,595 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-50b6abde) Network id=202 is already implemented
- 2014-11-26 23:59:09,602 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd) 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
- 2014-11-26 23:59:09,602 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-22fd78cd) Successfully transitioned to start state for VM[SecondaryStorageVm|s-136-VM] reservation id = d04f75db-756a-43e3-9a9e-d6643d399efc
- 2014-11-26 23:59:09,606 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-22fd78cd) Trying to deploy VM, vm has dcId: 1 and podId: null
- 2014-11-26 23:59:09,606 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-22fd78cd) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:59:09,615 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Deploy avoids pods: null, clusters: null, hosts: null
- 2014-11-26 23:59:09,617 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) DeploymentPlanner allocation algorithm: com.cloud.deploy.FirstFitPlanner@1ca8cb54
- 2014-11-26 23:59:09,617 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 500, requested ram: 536870912
- 2014-11-26 23:59:09,617 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Is ROOT volume READY (pool already allocated)?: No
- 2014-11-26 23:59:09,617 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-22fd78cd) Searching all possible resources under this Zone: 1
- 2014-11-26 23:59:09,619 DEBUG [c.c.d.FirstFitPlanner] (secstorage-1:ctx-22fd78cd) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1
- 2014-11-26 23:59:09,635 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Checking resources in Cluster: 1 under Pod: 1
- 2014-11-26 23:59:09,635 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1
- 2014-11-26 23:59:09,642 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) FirstFitAllocator has 5 hosts to check for allocation: [Host[-5-Routing], Host[-4-Routing], Host[-1-Routing], Host[-3-Routing], Host[-2-Routing]]
- 2014-11-26 23:59:09,650 DEBUG [o.a.c.e.o.NetworkOrchestrator] (consoleproxy-1:ctx-50b6abde) Network id=201 is already implemented
- 2014-11-26 23:59:09,662 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Found 5 hosts for allocation after prioritization: [Host[-5-Routing], Host[-4-Routing], Host[-1-Routing], Host[-3-Routing], Host[-2-Routing]]
- 2014-11-26 23:59:09,662 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=512
- 2014-11-26 23:59:09,677 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host: 5 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,677 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Checking if host: 5 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,683 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,683 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free CPU: 87500 , Requested CPU: 500
- 2014-11-26 23:59:09,683 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free RAM: 131152388096 , Requested RAM: 536870912
- 2014-11-26 23:59:09,683 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,683 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 5, used: 500, reserved: 0, actual total: 88000, total with overprovisioning: 88000; requested cpu:500,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,683 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 5, used: 1073741824, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,683 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Found a suitable host, adding to list: 5
- 2014-11-26 23:59:09,698 DEBUG [c.c.n.g.PodBasedNetworkGuru] (consoleproxy-1:ctx-50b6abde) Allocated a nic NicProfile[3-1-c0c50813-a05d-4e8c-883a-ffc1d62bf973-10.3.4.183-null for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:59:09,698 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host: 4 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,698 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Checking if host: 4 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,704 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,704 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:59:09,704 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 536870912
- 2014-11-26 23:59:09,704 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,704 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd 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
- 2014-11-26 23:59:09,704 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 4, used: 0, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,704 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Found a suitable host, adding to list: 4
- 2014-11-26 23:59:09,710 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-50b6abde) Checking if we need to prepare 1 volumes for VM[ConsoleProxy|v-1-VM]
- 2014-11-26 23:59:09,718 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host: 1 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,718 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Checking if host: 1 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,723 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,723 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:59:09,723 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free RAM: 130926600192 , Requested RAM: 536870912
- 2014-11-26 23:59:09,723 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,723 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd 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
- 2014-11-26 23:59:09,723 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 1, used: 0, reserved: 0, total: 130926600192; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,723 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Found a suitable host, adding to list: 1
- 2014-11-26 23:59:09,733 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-50b6abde) template 1 is already in store:1, type:Image
- 2014-11-26 23:59:09,738 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host: 3 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,738 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Checking if host: 3 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,744 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,744 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:59:09,744 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 536870912
- 2014-11-26 23:59:09,744 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,744 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd 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
- 2014-11-26 23:59:09,744 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 3, used: 0, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,744 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Found a suitable host, adding to list: 3
- 2014-11-26 23:59:09,744 DEBUG [o.a.c.s.d.PrimaryDataStoreImpl] (consoleproxy-1:ctx-50b6abde) Not found (templateId:1poolId:2) in template_spool_ref, persisting it
- 2014-11-26 23:59:09,756 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (consoleproxy-1:ctx-50b6abde) template 1 is already in store:2, type:Primary
- 2014-11-26 23:59:09,758 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-50b6abde) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 671
- 2014-11-26 23:59:09,766 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host: 2 has cpu capability (cpu:40, speed:2200) to support requested CPU: 1 and requested speed: 500
- 2014-11-26 23:59:09,766 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Checking if host: 2 has enough capacity for requested CPU: 500 and requested RAM: 536870912 , cpuOverprovisioningFactor: 1.0
- 2014-11-26 23:59:09,771 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,771 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free CPU: 88000 , Requested CPU: 500
- 2014-11-26 23:59:09,771 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Free RAM: 132226129920 , Requested RAM: 536870912
- 2014-11-26 23:59:09,771 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host has enough CPU and RAM available
- 2014-11-26 23:59:09,771 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd 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
- 2014-11-26 23:59:09,771 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 2, used: 0, reserved: 0, total: 132226129920; requested mem: 536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
- 2014-11-26 23:59:09,771 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Found a suitable host, adding to list: 2
- 2014-11-26 23:59:09,771 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (secstorage-1:ctx-22fd78cd FirstFitRoutingAllocator) Host Allocator returning 5 suitable hosts
- 2014-11-26 23:59:09,771 DEBUG [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-50b6abde) Acquire lock on VMTemplateStoragePool 671 with timeout 3600 seconds
- 2014-11-26 23:59:09,774 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Checking suitable pools for volume (Id, Type): (136,ROOT)
- 2014-11-26 23:59:09,774 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) We need to allocate new storagepool for this volume
- 2014-11-26 23:59:09,774 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Calling StoragePoolAllocators to find suitable pools
- 2014-11-26 23:59:09,774 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-50b6abde) lock is acquired for VMTemplateStoragePool 671
- 2014-11-26 23:59:09,776 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (secstorage-1:ctx-22fd78cd) LocalStoragePoolAllocator trying to find storage pool to fit the vm
- 2014-11-26 23:59:09,776 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-22fd78cd) ClusterScopeStoragePoolAllocator looking for storage pool
- 2014-11-26 23:59:09,776 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-22fd78cd) Looking for pools in dc: 1 pod:1 cluster:1
- 2014-11-26 23:59:09,779 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-22fd78cd) Found pools matching tags: [Pool[2|PreSetup]]
- 2014-11-26 23:59:09,781 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-22fd78cd) Removing pool Pool[2|PreSetup] from avoid set, must have been inserted when searching for another disk's tag
- 2014-11-26 23:59:09,783 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (secstorage-1:ctx-22fd78cd) Checking if storage pool is suitable, name: null ,poolId: 2
- 2014-11-26 23:59:09,785 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (consoleproxy-1:ctx-50b6abde) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE
- 2014-11-26 23:59:09,791 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-22fd78cd) Checking pool 2 for storage, totalSize: 1649254858752, usedBytes: 297795584, usedPct: 1.8056371483140182E-4, disable threshold: 0.85
- 2014-11-26 23:59:09,800 DEBUG [c.c.s.StorageManagerImpl] (secstorage-1:ctx-22fd78cd) Checking pool: 2 for volume allocation [Vol[136|vm=136|ROOT]], maxSize : 1649254858752, totalAllocatedSize : 0, askingSize : 0, allocated disable threshold: 0.85
- 2014-11-26 23:59:09,800 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (secstorage-1:ctx-22fd78cd) ClusterScopeStoragePoolAllocator returning 1 suitable storage pools
- 2014-11-26 23:59:09,800 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Trying to find a potenial host and associated storage pools from the suitable host/pool lists for this VM
- 2014-11-26 23:59:09,800 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Checking if host: 5 can access any suitable storage pool for volume: ROOT
- 2014-11-26 23:59:09,801 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Host: 5 can access pool: 2
- 2014-11-26 23:59:09,802 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) Found a potential host id: 5 name: cloud-host7.cgg.gov.in and associated storage pools for this VM
- 2014-11-26 23:59:09,803 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (secstorage-1:ctx-22fd78cd) 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(136|ROOT-->Pool(2))]
- 2014-11-26 23:59:09,803 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-22fd78cd) Deployment found - P0=VM[SecondaryStorageVm|s-136-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(136|ROOT-->Pool(2))]
- 2014-11-26 23:59:09,807 DEBUG [c.c.a.m.ClusteredAgentAttache] (consoleproxy-1:ctx-50b6abde) Seq 4-853737858: Forwarding Seq 4-853737858: { Cmd , MgmtId: 226850023912365, via: 4(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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","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/share1","_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":"9cd0b1ae-758b-11e4-aa51-ba311310a163","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM Template (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"CloudStore-2","id":2,"poolType":"PreSetup","host":"localhost","path":"/CloudStore-2","port":0,"url":"PreSetup://localhost//CloudStore-2/?ROLE=Primary&STOREUUID=CloudStore-2"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } to 68995168937102
- 2014-11-26 23:59:09,823 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd) VM state transitted from :Starting to Starting with event: OperationRetryvm's original host id: null new host id: 5 host id before state transition: null
- 2014-11-26 23:59:09,840 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd) Hosts's actual total CPU: 88000 and CPU after applying overprovisioning: 88000
- 2014-11-26 23:59:09,840 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd) We are allocating VM, increasing the used capacity of this host:5
- 2014-11-26 23:59:09,840 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd) Current Used CPU: 500 , Free CPU:87500 ,Requested CPU: 500
- 2014-11-26 23:59:09,840 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd) Current Used RAM: 1073741824 , Free RAM:131152388096 ,Requested RAM: 536870912
- 2014-11-26 23:59:09,840 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd) CPU STATS after allocation: for host: 5, 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
- 2014-11-26 23:59:09,840 DEBUG [c.c.c.CapacityManagerImpl] (secstorage-1:ctx-22fd78cd) RAM STATS after allocation: for host: 5, old used: 1073741824, old reserved: 0, total: 132226129920; new used: 1610612736, reserved: 0; requested mem: 536870912,alloc_from_last:false
- 2014-11-26 23:59:09,847 DEBUG [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-22fd78cd) VM is being created in podId: 1
- 2014-11-26 23:59:09,857 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Network id=200 is already implemented
- 2014-11-26 23:59:09,905 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Network id=202 is already implemented
- 2014-11-26 23:59:09,964 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Network id=201 is already implemented
- 2014-11-26 23:59:10,035 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-22fd78cd) Allocated a nic NicProfile[542-136-d04f75db-756a-43e3-9a9e-d6643d399efc-10.3.4.199-null for VM[SecondaryStorageVm|s-136-VM]
- 2014-11-26 23:59:10,062 DEBUG [o.a.c.e.o.NetworkOrchestrator] (secstorage-1:ctx-22fd78cd) Network id=203 is already implemented
- 2014-11-26 23:59:10,112 DEBUG [c.c.n.g.PodBasedNetworkGuru] (secstorage-1:ctx-22fd78cd) Allocated a nic NicProfile[543-136-d04f75db-756a-43e3-9a9e-d6643d399efc-10.3.4.176-null for VM[SecondaryStorageVm|s-136-VM]
- 2014-11-26 23:59:10,125 DEBUG [o.a.c.e.o.VolumeOrchestrator] (secstorage-1:ctx-22fd78cd) Checking if we need to prepare 1 volumes for VM[SecondaryStorageVm|s-136-VM]
- 2014-11-26 23:59:10,154 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-22fd78cd) template 1 is already in store:1, type:Image
- 2014-11-26 23:59:10,167 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (secstorage-1:ctx-22fd78cd) template 1 is already in store:2, type:Primary
- 2014-11-26 23:59:10,169 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-22fd78cd) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 671
- 2014-11-26 23:59:10,179 DEBUG [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-22fd78cd) Acquire lock on VMTemplateStoragePool 671 with timeout 3600 seconds
- 2014-11-26 23:59:11,969 DEBUG [c.c.a.t.Request] (AgentManager-Handler-4:null) Seq 4-853737858: Processing: { Ans: , MgmtId: 226850023912365, 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 3e1f2113-438a-05e7-1b46-4c9b14d56144","wait":0}}] }
- 2014-11-26 23:59:11,969 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-50b6abde) Seq 4-853737858: Received: { Ans: , MgmtId: 226850023912365, via: 4, Ver: v1, Flags: 10, { CopyCmdAnswer } }
- 2014-11-26 23:59:11,992 INFO [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-50b6abde) releasing lock for VMTemplateStoragePool 671
- 2014-11-26 23:59:11,993 WARN [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-50b6abde) Was unable to find lock for the key template_spool_ref671 and thread id 1994469474
- 2014-11-26 23:59:11,993 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-50b6abde) 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 3e1f2113-438a-05e7-1b46-4c9b14d56144
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement