cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koushik Das (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7392) [Automation] NPE thrown during Migration of VM
Date Mon, 25 Aug 2014 11:56:57 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109034#comment-14109034
] 

Koushik Das commented on CLOUDSTACK-7392:
-----------------------------------------

As can be seen from the below snippet cluster id is null (in deployment destination) and that
resulted in NPE.

2014-08-20 14:08:49,196 INFO [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132 ctx-112d9cb1) Migrating VM[User|i-643-1142-VM] to Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))]
: Dest[Zone(1)-Pod(1)-Cluster(null)-Host(4)-Storage()]
2014-08-20 14:08:49,197 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132 ctx-112d9cb1) Invocation exception, caused by: java.lang.NullPointerException
2014-08-20 14:08:49,197 INFO [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132 ctx-112d9cb1) Rethrow exception java.lang.NullPointerException

Also it can be seen from above that host id = 4. I checked the logs further and found that
host id 4 is for a SSVM. For SSVM cluster_id field in DB. is set to null. This is causing
the NPE.
2014-08-20 04:31:37,690 DEBUG [c.c.h.Status] (AgentConnectTaskPool-2:ctx-8e167f63) Transition:[Resource
state = Enabled, Agent event = AgentConnected, Host id = 4, name = s-2-VM]
2014-08-20 04:31:39,940 DEBUG [c.c.h.Status] (AgentConnectTaskPool-2:ctx-8e167f63) Transition:[Resource
state = Enabled, Agent event = Ready, Host id = 4, name = s-2-VM]
2014-08-20 16:17:43,677 DEBUG [c.c.h.Status] (AgentTaskPool-3:ctx-3e142e5a) Transition:[Resource
state = Enabled, Agent event = ShutdownRequested, Host id = 4, name = s-2-VM]

RCA:
As can be seen from above, the NPE is seen as invalid host id (SSVM) is passed to migrateVM
command.

Fix:
The migrateVM API needs to be fixed to check for valid host. That check is missing.
Also the faulty test case for migrateVM needs to be fixed. A separate negative test case can
be added for invalid host test - SSVM/CPVM or non-existent host.

> [Automation] NPE thrown during Migration of VM
> ----------------------------------------------
>
>                 Key: CLOUDSTACK-7392
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7392
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.5.0
>            Reporter: Chandan Purushothama
>            Assignee: Koushik Das
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> ===================
> *NullPointerException:*
> ===================
> 2014-08-20 14:08:47,538 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-60:ctx-3bfb9e76
job-8131) Add job-8131 into job monitoring
> 2014-08-20 14:08:47,538 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-3bfb9e76
job-8131) Executing AsyncJobVO {id:8131, userId: 2, accountId: 2, instanceType: None, instanceId:
null, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: {"response":"json","ctxDetails":"{\"com.cloud.vm.VirtualMachine\":\"cae46088-5aec-4305-ab43-bd71e740f1d2\",\"com.cloud.host.Host\":\"bb004159-d510-42b4-bfd5-878140a11f78\"}","virtualmachineid":"cae46088-5aec-4305-ab43-bd71e740f1d2","cmdEventType":"VM.MIGRATE","hostid":"bb004159-d510-42b4-bfd5-878140a11f78","ctxUserId":"2","httpmethod":"GET","ctxAccountId":"2","ctxStartEventId":"32647","apiKey":"NpffyWZkfwK7gPcNpx28Ohv6K56ftl57A409SyokqHjJ2ZNe3AvvF3F0teTETeIIqrtlcWpQOooM3cQyPveGXw","signature":"ynKin/CRvRLp9JqWtSd1xbWhyxk\u003d"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
231707544610094, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2014-08-20 14:08:47,545 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-24:ctx-0f778c79
ctx-cc81cab0 ctx-375c2462) submit async job-8131, details: AsyncJobVO {id:8131, userId: 2,
accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd,
cmdInfo: {"response":"json","ctxDetails":"{\"com.cloud.vm.VirtualMachine\":\"cae46088-5aec-4305-ab43-bd71e740f1d2\",\"com.cloud.host.Host\":\"bb004159-d510-42b4-bfd5-878140a11f78\"}","virtualmachineid":"cae46088-5aec-4305-ab43-bd71e740f1d2","cmdEventType":"VM.MIGRATE","hostid":"bb004159-d510-42b4-bfd5-878140a11f78","ctxUserId":"2","httpmethod":"GET","ctxAccountId":"2","ctxStartEventId":"32647","apiKey":"NpffyWZkfwK7gPcNpx28Ohv6K56ftl57A409SyokqHjJ2ZNe3AvvF3F0teTETeIIqrtlcWpQOooM3cQyPveGXw","signature":"ynKin/CRvRLp9JqWtSd1xbWhyxk\u003d"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
231707544610094, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2014-08-20 14:08:47,547 DEBUG [c.c.a.ApiServlet] (catalina-exec-24:ctx-0f778c79 ctx-cc81cab0
ctx-375c2462) ===END===  10.220.135.48 -- GET  hostid=bb004159-d510-42b4-bfd5-878140a11f78&virtualmachineid=cae46088-5aec-4305-ab43-bd71e740f1d2&apiKey=NpffyWZkfwK7gPcNpx28Ohv6K56ftl57A409SyokqHjJ2ZNe3AvvF3F0teTETeIIqrtlcWpQOooM3cQyPveGXw&command=migrateVirtualMachine&signature=ynKin%2FCRvRLp9JqWtSd1xbWhyxk%3D&response=json
> 2014-08-20 14:08:47,551 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-b8261333) ===START===
 10.220.135.48 -- GET  jobid=dd179539-d888-47b6-8a9e-3c264ee23df4&apiKey=NpffyWZkfwK7gPcNpx28Ohv6K56ftl57A409SyokqHjJ2ZNe3AvvF3F0teTETeIIqrtlcWpQOooM3cQyPveGXw&command=queryAsyncJobResult&response=json&signature=wjUpMS7U0V4T8bdiCPgLnglOAdE%3D
> 2014-08-20 14:08:47,599 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-b8261333 ctx-ef6ec76a
ctx-b6cbec9c) ===END===  10.220.135.48 -- GET  jobid=dd179539-d888-47b6-8a9e-3c264ee23df4&apiKey=NpffyWZkfwK7gPcNpx28Ohv6K56ftl57A409SyokqHjJ2ZNe3AvvF3F0teTETeIIqrtlcWpQOooM3cQyPveGXw&command=queryAsyncJobResult&response=json&signature=wjUpMS7U0V4T8bdiCPgLnglOAdE%3D
> 2014-08-20 14:08:47,614 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-3bfb9e76
job-8131 ctx-aba0d6fb) Sync job-8132 execution on object VmWorkJobQueue.1142
> 2014-08-20 14:08:47,616 WARN  [c.c.u.d.Merovingian2] (API-Job-Executor-60:ctx-3bfb9e76
job-8131 ctx-aba0d6fb) Was unable to find lock for the key vm_instance1142 and thread id 474572326
> 2014-08-20 14:08:49,187 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-77b6882f)
Execute sync-queue item: SyncQueueItemVO {id:3265, queueId: 3264, contentType: AsyncJob, contentId:
8132, lastProcessMsid: null, lastprocessNumber: null, lastProcessTime: null, created: Wed
Aug 20 14:08:47 UTC 2014}
> 2014-08-20 14:08:49,188 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-77b6882f)
Schedule queued job-8132
> 2014-08-20 14:08:49,190 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132) Add job-8132 into job monitoring
> 2014-08-20 14:08:49,190 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132) Executing AsyncJobVO {id:8132, userId: 2, accountId: 2, instanceType: null,
instanceId: null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyABpjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZRdxQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABmhvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9MamF2YS91dGlsL01hcDtMAAZ6b25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAEdnQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAXBzcgAOamF2YS5sYW5nLkxvbmc7i-SQzI8j3wIAAUoABXZhbHVleHIAEGphdmEubGFuZy5OdW1iZXKGrJUdC5TgiwIAAHhwAAAAAAAAAARzcQB-AAcAAAAAAAAAAXBxAH4ACg,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
231707544610094, completeMsid: null, lastUpdated: null, lastPolled: null, created: Wed Aug
20 14:08:47 UTC 2014}
> 2014-08-20 14:08:49,190 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132) Run VM work job: com.cloud.vm.VmWorkMigrate for VM 1142, job origin: 8131
> 2014-08-20 14:08:49,191 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132 ctx-112d9cb1) Execute VM work job: com.cloud.vm.VmWorkMigrate{"zoneId":1,"podId":1,"hostId":4,"srcHostId":1,"userId":2,"accountId":2,"vmId":1142,"handlerName":"VirtualMachineManagerImpl"}
> 2014-08-20 14:08:49,196 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132 ctx-112d9cb1) Migrating VM[User|i-643-1142-VM] to Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))]
: Dest[Zone(1)-Pod(1)-Cluster(null)-Host(4)-Storage()]
> 2014-08-20 14:08:49,197 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132 ctx-112d9cb1) Invocation exception, caused by: java.lang.NullPointerException
> 2014-08-20 14:08:49,197 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132 ctx-112d9cb1) Rethrow exception java.lang.NullPointerException
> 2014-08-20 14:08:49,197 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132) Done with run of VM work job: com.cloud.vm.VmWorkMigrate for VM 1142, job
origin: 8131
> 2014-08-20 14:08:49,197 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132) Unable to complete AsyncJobVO {id:8132, userId: 2, accountId: 2, instanceType:
null, instanceId: null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyABpjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZRdxQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABmhvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9MamF2YS91dGlsL01hcDtMAAZ6b25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAEdnQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAXBzcgAOamF2YS5sYW5nLkxvbmc7i-SQzI8j3wIAAUoABXZhbHVleHIAEGphdmEubGFuZy5OdW1iZXKGrJUdC5TgiwIAAHhwAAAAAAAAAARzcQB-AAcAAAAAAAAAAXBxAH4ACg,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
231707544610094, completeMsid: null, lastUpdated: null, lastPolled: null, created: Wed Aug
20 14:08:47 UTC 2014}, job origin:8131
> java.lang.NullPointerException
> 	at com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:1812)
> 	at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:1799)
> 	at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:4606)
> 	at sun.reflect.GeneratedMethodAccessor861.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
> 	at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4738)
> 	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$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> 2014-08-20 14:08:49,199 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132) Complete async job-8132, jobStatus: FAILED, resultCode: 0, result: rO0ABXNyABpqYXZhLmxhbmcuUnVudGltZUV4Y2VwdGlvbp5fBkcKNIPlAgAAeHIAE2phdmEubGFuZy5FeGNlcHRpb27Q_R8-GjscxAIAAHhyABNqYXZhLmxhbmcuVGhyb3dhYmxl1cY1Jzl3uMsDAARMAAVjYXVzZXQAFUxqYXZhL2xhbmcvVGhyb3dhYmxlO0wADWRldGFpbE1lc3NhZ2V0ABJMamF2YS9sYW5nL1N0cmluZztbAApzdGFja1RyYWNldAAeW0xqYXZhL2xhbmcvU3RhY2tUcmFjZUVsZW1lbnQ7TAAUc3VwcHJlc3NlZEV4Y2VwdGlvbnN0ABBMamF2YS91dGlsL0xpc3Q7eHBxAH4AB3QAIEpvYiBmYWlsZWQgZHVlIHRvIGV4Y2VwdGlvbiBudWxsdXIAHltMamF2YS5sYW5nLlN0YWNrVHJhY2VFbGVtZW50OwJGKjw8_SI5AgAAeHAAAAAOc3IAG2phdmEubGFuZy5TdGFja1RyYWNlRWxlbWVudGEJxZomNt2FAgAESQAKbGluZU51bWJlckwADmRlY2xhcmluZ0NsYXNzcQB-AARMAAhmaWxlTmFtZXEAfgAETAAKbWV0aG9kTmFtZXEAfgAEeHAAAABydAAgY29tLmNsb3VkLnZtLlZtV29ya0pvYkRpc3BhdGNoZXJ0ABhWbVdvcmtKb2JEaXNwYXRjaGVyLmphdmF0AAZydW5Kb2JzcQB-AAsAAAH3dAA_b3JnLmFwYWNoZS5jbG91ZHN0YWNrLmZyYW1ld29yay5qb2JzLmltcGwuQXN5bmNKb2JNYW5hZ2VySW1wbCQ1dAAYQXN5bmNKb2JNYW5hZ2VySW1wbC5qYXZhdAAMcnVuSW5Db250ZXh0c3EAfgALAAAAMXQAPm9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuTWFuYWdlZENvbnRleHRSdW5uYWJsZSQxdAAbTWFuYWdlZENvbnRleHRSdW5uYWJsZS5qYXZhdAADcnVuc3EAfgALAAAAOHQAQm9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuaW1wbC5EZWZhdWx0TWFuYWdlZENvbnRleHQkMXQAGkRlZmF1bHRNYW5hZ2VkQ29udGV4dC5qYXZhdAAEY2FsbHNxAH4ACwAAAGd0AEBvcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0LmltcGwuRGVmYXVsdE1hbmFnZWRDb250ZXh0cQB-ABp0AA9jYWxsV2l0aENvbnRleHRzcQB-AAsAAAA1cQB-AB1xAH4AGnQADnJ1bldpdGhDb250ZXh0c3EAfgALAAAALnQAPG9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuTWFuYWdlZENvbnRleHRSdW5uYWJsZXEAfgAWcQB-ABdzcQB-AAsAAAHMcQB-ABFxAH4AEnEAfgAXc3EAfgALAAAB13QALmphdmEudXRpbC5jb25jdXJyZW50LkV4ZWN1dG9ycyRSdW5uYWJsZUFkYXB0ZXJ0AA5FeGVjdXRvcnMuamF2YXEAfgAbc3EAfgALAAABTnQAJGphdmEudXRpbC5jb25jdXJyZW50LkZ1dHVyZVRhc2skU3luY3QAD0Z1dHVyZVRhc2suamF2YXQACGlubmVyUnVuc3EAfgALAAAApnQAH2phdmEudXRpbC5jb25jdXJyZW50LkZ1dHVyZVRhc2txAH4AKXEAfgAXc3EAfgALAAAEVnQAJ2phdmEudXRpbC5jb25jdXJyZW50LlRocmVhZFBvb2xFeGVjdXRvcnQAF1RocmVhZFBvb2xFeGVjdXRvci5qYXZhdAAJcnVuV29ya2Vyc3EAfgALAAACW3QALmphdmEudXRpbC5jb25jdXJyZW50LlRocmVhZFBvb2xFeGVjdXRvciRXb3JrZXJxAH4AL3EAfgAXc3EAfgALAAAC0nQAEGphdmEubGFuZy5UaHJlYWR0AAtUaHJlYWQuamF2YXEAfgAXc3IAJmphdmEudXRpbC5Db2xsZWN0aW9ucyRVbm1vZGlmaWFibGVMaXN0_A8lMbXsjhACAAFMAARsaXN0cQB-AAZ4cgAsamF2YS51dGlsLkNvbGxlY3Rpb25zJFVubW9kaWZpYWJsZUNvbGxlY3Rpb24ZQgCAy173HgIAAUwAAWN0ABZMamF2YS91dGlsL0NvbGxlY3Rpb247eHBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAAAHcEAAAAAHhxAH4AO3g
> 2014-08-20 14:08:49,206 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132) Done executing com.cloud.vm.VmWorkMigrate for job-8132
> 2014-08-20 14:08:49,216 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-60:ctx-3bfb9e76
job-8131) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd
> java.lang.RuntimeException: Job failed due to exception null
> 	at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
> 	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$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)
> 2014-08-20 14:08:49,217 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-3bfb9e76
job-8131) Complete async job-8131, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Job
failed due to exception null"}
> 2014-08-20 14:08:49,218 DEBUG [o.a.c.f.j.i.SyncQueueManagerImpl] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132) Sync queue (3264) is currently empty
> 2014-08-20 14:08:49,218 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-124:ctx-f8d284d4
job-8131/job-8132) Remove job-8132 from job monitoring
> 2014-08-20 14:08:49,221 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-3bfb9e76
job-8131) Done executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd for job-8131



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message