Hello All
We have a problem about Starting VMs. We have a ClousdStack 4.1.1 running with KVM, Unable to start VMs with Following error. CloudStack management Server Log. /var/log/cloudstack/management/management-server.log 2013-11-16 14:30:56,859 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-14:job-926) DataCenter id = '2' provided is in avoid set, DeploymentPlanner cannot allocate the VM, returning. 2013-11-16 14:30:56,874 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-14:job-926) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 28 2013-11-16 14:30:56,879 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-14:job-926) Hosts's actual total CPU: 59832 and CPU after applying overprovisioning: 119664 2013-11-16 14:30:56,879 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-14:job-926) release cpu from host: 28, old used: 21480,reserved: 4096, actual total: 59832, total with overprovisioning: 119664; new used: 17384,reserved:4096; movedfromreserved: false,moveToReserveredfalse 2013-11-16 14:30:56,879 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-14:job-926) release mem from host: 28, old used: 22682796032,reserved: 4294967296, total: 67519684608; new used: 18387828736,reserved:4294967296; movedfromreserved: false,moveToReserveredfalse 2013-11-16 14:30:56,895 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-14:job-926) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.StartVMCmd com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|m2m-vdgw02]Scope=interface com.cloud.dc.DataCenter; id=2 at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728) at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471) at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:212) at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3871) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2579) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.vm.StartVMCmd.execute(StartVMCmd.java:120) 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-11-16 14:30:56,895 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-14:job-926) Complete async job-926, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Unable to create a deployment for VM[User|m2m-vdgw02] CloudStack Computing Node 013-11-16 15:36:57,148 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Execution is successful. 2013-11-16 15:36:57,149 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Try to stop the vm at first 2013-11-16 15:36:57,152 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Failed to stop VM :i-3-110-VM : org.libvirt.LibvirtException: ドメインは見つかりませんでした: UUID '40a685f6-405a-3fef-8591-b73f00a4cdd3' に一致するドメインがありません at org.libvirt.ErrorHandler.processError(Unknown Source) at org.libvirt.Connect.processError(Unknown Source) at org.libvirt.Connect.domainLookupByUUIDString(Unknown Source) at org.libvirt.Connect.domainLookupByUUID(Unknown Source) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.stopVM(LibvirtComputingResource.java:4021) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.stopVM(LibvirtComputingResource.java:3970) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2894) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1032) at com.cloud.agent.Agent.processRequest(Agent.java:525) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852) at com.cloud.utils.nio.Task.run(Task.java:83) 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-11-16 15:36:57,158 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Failed to get vm status:ドメインは見つかり ませんでした: UUID '40a685f6-405a-3fef-8591-b73f00a4cdd3' に一致するドメインがありません 2013-11-16 15:36:57,160 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Failed to get vm status:ドメインは見つかり ませんでした: UUID '40a685f6-405a-3fef-8591-b73f00a4cdd3' に一致するドメインがありません 2013-11-16 15:36:57,162 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Failed to get vm status:ドメインは見つかり ませんでした: UUID '40a685f6-405a-3fef-8591-b73f00a4cdd3' に一致するドメインがありません 2013-11-16 15:36:57,162 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Can't get vm's status, assume it's dead already Thanks in advance, Yuki