cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 韩登 <hand...@126.com>
Subject Job failed due to exception Unable to create a deployment for VM
Date Sat, 17 Jan 2015 01:31:08 GMT
采用自定义计算方案创建了几个虚拟机,可以正常运行。

把物理服务器重启之后,再重新启动虚拟机就报错:
Job failed due to exception Unable to create a deployment for VM[User|i-2-35-VM]
如果把服务方案改成cloudstack内置的,就可以正常启动。

日志内容:
errorcode":530,"errortext":"Job failed due to exception Unable to create a deployment for
VM[User|i-2-35-VM]"},

2015-01-17 09:29:14,576 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-1:ctx-5dc10425 job-678/job-679
ctx-5771c2f9) Removing from the clusterId list these clusters from avoid set: [1]
2015-01-17 09:29:14,578 DEBUG [c.c.d.FirstFitPlanner] (Work-Job-Executor-1:ctx-5dc10425 job-678/job-679
ctx-5771c2f9) No clusters found after removing disabled clusters and clusters in avoid list,
returning.
2015-01-17 09:29:14,601 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-1:ctx-5dc10425
job-678/job-679 ctx-5771c2f9) VM state transitted from :Starting to Stopped with event: OperationFailedvm's
original host id: 4 new host id: null host id before state transition: null
2015-01-17 09:29:14,612 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-1:ctx-5dc10425
job-678/job-679 ctx-5771c2f9) Invocation exception, caused by: com.cloud.exception.InsufficientServerCapacityException:
Unable to create a deployment for VM[User|i-2-35-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
2015-01-17 09:29:14,613 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-1:ctx-5dc10425
job-678/job-679 ctx-5771c2f9) Rethrow exception com.cloud.exception.InsufficientServerCapacityException:
Unable to create a deployment for VM[User|i-2-35-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
2015-01-17 09:29:14,613 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-1:ctx-5dc10425
job-678/job-679) Done with run of VM work job: com.cloud.vm.VmWorkStart for VM 35, job origin:
678
2015-01-17 09:29:14,613 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-1:ctx-5dc10425
job-678/job-679) Unable to complete AsyncJobVO {id:679, userId: 2, accountId: 2, instanceType:
null, instanceId: null, cmd: com.cloud.vm.VmWorkStart, cmdInfo: rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAI3QAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAHBwcHBwcHBwc3IAEWphdmEudXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA_QAAAAAAADHcIAAAAEAAAAAF0AApWbVBhc3N3b3JkdAAcck8wQUJYUUFEbk5oZG1Wa1gzQmhjM04zYjNKa3hw,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
279278805450762, completeMsid: null, lastUpdated: null, lastPolled: null, created: Sat Jan
17 09:29:12 CST 2015}, job origin:678
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for
VM[User|i-2-35-VM]Scope=interface com.cloud.dc.DataCenter; id=1
    at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:947)
    at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5195)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
    at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5340)
    at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
    at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
    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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    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:745)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message