I am trying to launch a vm with the following parameters 16 core X 2GHZ,  16GB 
memory. From dashboard I can see there is enough capacity in host 10. But still 
unable to launch it. In the management log I see the following entries. 
Management server correctly determined that host 10 has the capacity for the 
requested instance. But still did not start the instance. Any idea what could 
be wrong and where else should I be looking for clue?



2013-09-03 16:17:49,398 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Looking for hosts in dc: 1  
pod:1  cluster:1
2013-09-03 16:17:49,400 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) FirstFitAllocator has 2 hosts 
to check for allocation: [Host[-1-Routing], Host[-10-Routing]]
2013-09-03 16:17:49,403 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Found 2 hosts for allocation 
after prioritization: [Host[-1-Routing], Host[-10-Routing]]
2013-09-03 16:17:49,403 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Looking for speed=32000Mhz, 
Ram=16000
2013-09-03 16:17:49,405 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Checking if host: 1 has 
enough capacity for requested CPU: 32000 and requested RAM: 16777216000 , 
cpuOverprovisioningFactor: 1.0
2013-09-03 16:17:49,407 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Hosts's actual total CPU: 
38320 and CPU after applying overprovisioning: 38320
2013-09-03 16:17:49,407 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Free CPU: 24820 , Requested 
CPU: 32000
2013-09-03 16:17:49,407 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Free RAM: 58009833472 , 
Requested RAM: 16777216000
2013-09-03 16:17:49,407 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) STATS: Failed to alloc 
resource from host: 1 reservedCpu: 0, used cpu: 13500, requested cpu: 32000, 
actual total cpu: 38320, total cpu with overprovisioning: 38320, reservedMem: 
0, used Mem: 9529458688, requested mem: 16777216000, total Mem:67539292160 
,considerReservedCapacity?: true
2013-09-03 16:17:49,408 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Host does not have enough CPU 
available, cannot allocate to this host.
2013-09-03 16:17:49,408 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Not using host 1; 
numCpusGood: true; cpuFreqGood: true, host has capacity?false
2013-09-03 16:17:49,409 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Checking if host: 10 has 
enough capacity for requested CPU: 32000 and requested RAM: 16777216000 , 
cpuOverprovisioningFactor: 1.0
2013-09-03 16:17:49,411 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Hosts's actual total CPU: 
64000 and CPU after applying overprovisioning: 64000
2013-09-03 16:17:49,412 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Free CPU: 62500 , Requested 
CPU: 32000
2013-09-03 16:17:49,412 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Free RAM: 133135478784 , 
Requested RAM: 16777216000
2013-09-03 16:17:49,412 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Host has enough CPU and RAM 
available
2013-09-03 16:17:49,412 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) STATS: Can alloc CPU from 
host: 10, used: 1500, reserved: 0, actual total: 64000, total with 
overprovisioning: 64000; requested cpu:32000,alloc_from_last_host?:false 
,considerReservedCapacity?: true
2013-09-03 16:17:49,412 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) STATS: Can alloc MEM from 
host: 10, used: 2147483648, reserved: 0, total: 135282962432; requested mem: 
16777216000,alloc_from_last_host?:false ,considerReservedCapacity?: true
2013-09-03 16:17:49,412 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Not using host 10; 
numCpusGood: true; cpuFreqGood: false, host has capacity?true
2013-09-03 16:17:49,412 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-27:job-97 FirstFitRoutingAllocator) Host Allocator returning 0 
suitable hosts
2013-09-03 16:17:49,412 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-27:job-97) No suitable hosts found
2013-09-03 16:17:49,412 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-27:job-97) No suitable hosts found under this Cluster: 1
2013-09-03 16:17:49,412 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-27:job-97) Could not find suitable Deployment Destination for 
this VM under any clusters, returning. 
2013-09-03 16:17:49,414 DEBUG [cloud.vm.UserVmManagerImpl] 
(Job-Executor-27:job-97) Destroying vm VM[User|SQL1] as it failed to create on 
Host with Id:null
2013-09-03 16:17:49,419 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-27:job-97) VM state transitted from :Stopped to Error with event: 
OperationFailedToErrorvm's original host id: null new host id: null host id 
before state transition: null
2013-09-03 16:17:49,468 INFO  [user.vm.DeployVMCmd] (Job-Executor-27:job-97) 
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[User|SQL1]Scope=interface com.cloud.dc.DataCenter; id=1
2013-09-03 16:17:49,468 INFO  [user.vm.DeployVMCmd] (Job-Executor-27:job-97) 
Unable to create a deployment for VM[User|SQL1]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[User|SQL1]Scope=interface com.cloud.dc.DataCenter; id=1

Reply via email to