一个CS4.1.1+2个CentOS6.4的KVM,host配置为2 x 2.90 GHz,4G内存 创建实例失败,cpu,内存资源是有的。日志如下,大家有遇到过这种问题吗?
*No suitable hosts found under this Cluster: 1* *Could not find suitable Deployment Destination for this VM under any clusters, returning.* 2013-08-20 16:00:05,458 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===START=== 192.168.0.9 -- GET command=deployVirtualMachine&zoneId=00311467-20f1-421a-8671-b61c83dea44a&templateId=e0a40426-4f54-4b2c-be39-7aa5d73996ed&hypervisor=KVM&serviceOfferingId=b0505afc-2a5d-4fb5-a89a-dca9f4850ffc&securitygroupids=6c991d14-093f-11e3-9a49-005056983826&displayname=win20031gcpu&name=win20031gcpu&response=json&sessionkey=pSW74yKr%2BLVaNYM9BiulAAuZmuI%3D&_=1376985616783 2013-08-20 16:00:05,465 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-2:null) InfrastructureEntity name is:com.cloud.offering.ServiceOffering 2013-08-20 16:00:05,467 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-2:null) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate 2013-08-20 16:00:05,470 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-2:null) ControlledEntity name is:com.cloud.network.security.SecurityGroup 2013-08-20 16:00:05,479 DEBUG [cloud.configuration.ConfigurationManagerImpl] (catalina-exec-2:null) Access granted to Acct[2-admin] to zone:1 by DomainChecker_EnhancerByCloudStack_e4339b76 2013-08-20 16:00:05,480 DEBUG [cloud.configuration.ConfigurationManagerImpl] (catalina-exec-2:null) Access granted to Acct[2-admin] to zone:1 by DomainChecker_EnhancerByCloudStack_e4339b76 2013-08-20 16:00:05,493 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-2:null) Allocating in the DB for vm 2013-08-20 16:00:05,506 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-2:null) Allocating entries for VM: VM[User|win20031gcpu] 2013-08-20 16:00:05,507 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-2:null) Allocating nics for VM[User|win20031gcpu] 2013-08-20 16:00:05,508 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-2:null) Allocating nic for vm VM[User|win20031gcpu] in network Ntwk[204|Guest|6] with requested profile NicProfile[0-0-null-null-null 2013-08-20 16:00:05,517 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-2:null) Allocaing disks for VM[User|win20031gcpu] 2013-08-20 16:00:05,562 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-2:null) Allocation completed for VM: VM[User|win20031gcpu] 2013-08-20 16:00:05,562 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-2:null) Successfully allocated DB entry for VM[User|win20031gcpu] 2013-08-20 16:00:05,612 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-2:null) submit async job-42, details: AsyncJobVO {id:42, userId: 2, accountId: 2, sessionKey: null, instanceType: VirtualMachine, instanceId: 15, cmd: org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdOriginator: null, cmdInfo: {"sessionkey":"pSW74yKr+LVaNYM9BiulAAuZmuI\u003d","ctxUserId":"2","serviceOfferingId":"b0505afc-2a5d-4fb5-a89a-dca9f4850ffc","securitygroupids":"6c991d14-093f-11e3-9a49-005056983826","zoneId":"00311467-20f1-421a-8671-b61c83dea44a","templateId":"e0a40426-4f54-4b2c-be39-7aa5d73996ed","response":"json","id":"15","hypervisor":"KVM","name":"win20031gcpu","_":"1376985616783","ctxAccountId":"2","ctxStartEventId":"141","displayname":"win20031gcpu"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 345050200102, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2013-08-20 16:00:05,614 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===END=== 192.168.0.9 -- GET command=deployVirtualMachine&zoneId=00311467-20f1-421a-8671-b61c83dea44a&templateId=e0a40426-4f54-4b2c-be39-7aa5d73996ed&hypervisor=KVM&serviceOfferingId=b0505afc-2a5d-4fb5-a89a-dca9f4850ffc&securitygroupids=6c991d14-093f-11e3-9a49-005056983826&displayname=win20031gcpu&name=win20031gcpu&response=json&sessionkey=pSW74yKr%2BLVaNYM9BiulAAuZmuI%3D&_=1376985616783 2013-08-20 16:00:05,615 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-3:job-42) Executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-42 2013-08-20 16:00:05,620 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-3:job-42) InfrastructureEntity name is:com.cloud.offering.ServiceOffering 2013-08-20 16:00:05,622 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-3:job-42) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate 2013-08-20 16:00:05,625 DEBUG [cloud.api.ApiDispatcher] (Job-Executor-3:job-42) ControlledEntity name is:com.cloud.network.security.SecurityGroup 2013-08-20 16:00:05,664 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) DeploymentPlanner allocation algorithm: random 2013-08-20 16:00:05,664 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) Trying to allocate a host and storage pools from dc:1, pod:null,cluster:null, requested cpu: 1000, requested ram: 1073741824 2013-08-20 16:00:05,665 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) Is ROOT volume READY (pool already allocated)?: No 2013-08-20 16:00:05,665 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) Searching all possible resources under this Zone: 1 2013-08-20 16:00:05,666 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1 2013-08-20 16:00:05,667 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) CPUOverprovisioningFactor considered: 1.0 2013-08-20 16:00:05,676 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) Checking resources in Cluster: 1 under Pod: 1 2013-08-20 16:00:05,678 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-3:job-42 FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 cluster:1 2013-08-20 16:00:05,680 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-3:job-42 FirstFitRoutingAllocator) FirstFitAllocator has 0 hosts to check for allocation: [] 2013-08-20 16:00:05,681 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-3:job-42 FirstFitRoutingAllocator) Found 0 hosts for allocation after prioritization: [] 2013-08-20 16:00:05,681 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-3:job-42 FirstFitRoutingAllocator) Looking for speed=1000Mhz, Ram=1024 2013-08-20 16:00:05,681 DEBUG [allocator.impl.FirstFitAllocator] (Job-Executor-3:job-42 FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts 2013-08-20 16:00:05,682 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) No suitable hosts found 2013-08-20 16:00:05,682 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) No suitable hosts found under this Cluster: 1 2013-08-20 16:00:05,682 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-3:job-42) Could not find suitable Deployment Destination for this VM under any clusters, returning. 2013-08-20 16:00:05,684 DEBUG [cloud.vm.UserVmManagerImpl] (Job-Executor-3:job-42) Destroying vm VM[User|win20031gcpu] as it failed to create on Host with Id:null 2013-08-20 16:00:05,691 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-3:job-42) 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-08-20 16:00:05,731 INFO [user.vm.DeployVMCmd] (Job-Executor-3:job-42) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|win20031gcpu]Scope=interface com.cloud.dc.DataCenter; id=1 2013-08-20 16:00:05,731 INFO [user.vm.DeployVMCmd] (Job-Executor-3:job-42) Unable to create a deployment for VM[User|win20031gcpu] com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|win20031gcpu]Scope=interface com.cloud.dc.DataCenter; id=1 at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:186) at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:198) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3870) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3464) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3450) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) 2013-08-20 16:00:05,732 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-3:job-42) Complete async job-42, jobStatus: 2, resultCode: 530, result: Error Code: 533 Error text: Unable to create a deployment for VM[User|win20031gcpu]