cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manasaveloori (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5683) [Automation] - kvm - Live migration fails with java.lang.NullPointerException. But this is reported as success.
Date Tue, 28 Jan 2014 11:20:43 GMT

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

manasaveloori commented on CLOUDSTACK-5683:
-------------------------------------------

Observed the same with xen 6.0.2 
Steps to reproduce the problem:

Advanced zone set up with 2 xen 6.0.2 hosts.

Deploy few Vms in both hosts.

Live migrate vm from 1 host to another. 

2014-01-28 21:09:41,216 ERROR [c.c.v.VmWorkJobDispatcher] (Job-Executor-42:ctx-0d2ad9e4 ctx-daaa5b2b)
Unable to complete AsyncJobVO {id:37, userId: 2, accountId: 2, instanceType: null, instanceId:
null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyABpjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZRdxQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABmhvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9MamF2YS91dGlsL01hcDtMAAZ6b25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAC3QAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAABHNyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAAAAAAAAXEAfgAJcQB-AAlwcQB-AAk,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
7494415941730, completeMsid: null, lastUpdated: null, lastPolled: null, created: Tue Jan 28
21:09:39 IST 2014}, job origin:daaa5b2b-fc2e-4c3b-951c-85cf3233fd1a
java.lang.NullPointerException
        at com.cloud.vm.VmWorkMigrate.getDeployDestination(VmWorkMigrate.java:60)
        at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:4913)
        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:616)
        at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
        at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5018)
        at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:100)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:509)
        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 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:679)
2014-01-28 21:09:41,222 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-42:ctx-0d2ad9e4
ctx-daaa5b2b) Complete async job-37, jobStatus: FAILED, resultCode: 0, result: rO0ABXNyABpqYXZhLmxhbmcuUnVudGltZUV4Y2VwdGlvbp5fBkcKNIPlAgAAeHIAE2phdmEubGFuZy5FeGNlcHRpb27Q_R8-GjscxAIAAHhyABNqYXZhLmxhbmcuVGhyb3dhYmxl1cY1Jzl3uMsDAANMAAVjYXVzZXQAFUxqYXZhL2xhbmcvVGhyb3dhYmxlO0wADWRldGFpbE1lc3NhZ2V0ABJMamF2YS9sYW5nL1N0cmluZztbAApzdGFja1RyYWNldAAeW0xqYXZhL2xhbmcvU3RhY2tUcmFjZUVsZW1lbnQ7eHBxAH4ABnQAIEpvYiBmYWlsZWQgZHVlIHRvIGV4Y2VwdGlvbiBudWxsdXIAHltMamF2YS5sYW5nLlN0YWNrVHJhY2VFbGVtZW50OwJGKjw8_SI5AgAAeHAAAAANc3IAG2phdmEubGFuZy5TdGFja1RyYWNlRWxlbWVudGEJxZomNt2FAgAESQAKbGluZU51bWJlckwADmRlY2xhcmluZ0NsYXNzcQB-AARMAAhmaWxlTmFtZXEAfgAETAAKbWV0aG9kTmFtZXEAfgAEeHAAAABtdAAgY29tLmNsb3VkLnZtLlZtV29ya0pvYkRpc3BhdGNoZXJ0ABhWbVdvcmtKb2JEaXNwYXRjaGVyLmphdmF0AAZydW5Kb2JzcQB-AAoAAAH9dAA_b3JnLmFwYWNoZS5jbG91ZHN0YWNrLmZyYW1ld29yay5qb2JzLmltcGwuQXN5bmNKb2JNYW5hZ2VySW1wbCQ1dAAYQXN5bmNKb2JNYW5hZ2VySW1wbC5qYXZhdAAMcnVuSW5Db250ZXh0c3EAfgAKAAAAMXQAPm9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuTWFuYWdlZENvbnRleHRSdW5uYWJsZSQxdAAbTWFuYWdlZENvbnRleHRSdW5uYWJsZS5qYXZhdAADcnVuc3EAfgAKAAAAOHQAQm9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuaW1wbC5EZWZhdWx0TWFuYWdlZENvbnRleHQkMXQAGkRlZmF1bHRNYW5hZ2VkQ29udGV4dC5qYXZhdAAEY2FsbHNxAH4ACgAAAGd0AEBvcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0LmltcGwuRGVmYXVsdE1hbmFnZWRDb250ZXh0cQB-ABl0AA9jYWxsV2l0aENvbnRleHRzcQB-AAoAAAA1cQB-ABxxAH4AGXQADnJ1bldpdGhDb250ZXh0c3EAfgAKAAAALnQAPG9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuTWFuYWdlZENvbnRleHRSdW5uYWJsZXEAfgAVcQB-ABZzcQB-AAoAAAHXdAAuamF2YS51dGlsLmNvbmN1cnJlbnQuRXhlY3V0b3JzJFJ1bm5hYmxlQWRhcHRlcnQADkV4ZWN1dG9ycy5qYXZhcQB-ABpzcQB-AAoAAAFOdAAkamF2YS51dGlsLmNvbmN1cnJlbnQuRnV0dXJlVGFzayRTeW5jdAAPRnV0dXJlVGFzay5qYXZhdAAIaW5uZXJSdW5zcQB-AAoAAACmdAAfamF2YS51dGlsLmNvbmN1cnJlbnQuRnV0dXJlVGFza3EAfgAncQB-ABZzcQB-AAoAAARWdAAnamF2YS51dGlsLmNvbmN1cnJlbnQuVGhyZWFkUG9vbEV4ZWN1dG9ydAAXVGhyZWFkUG9vbEV4ZWN1dG9yLmphdmF0AAlydW5Xb3JrZXJzcQB-AAoAAAJbdAAuamF2YS51dGlsLmNvbmN1cnJlbnQuVGhyZWFkUG9vbEV4ZWN1dG9yJFdvcmtlcnEAfgAtcQB-ABZzcQB-AAoAAAKndAAQamF2YS5sYW5nLlRocmVhZHQAC1RocmVhZC5qYXZhcQB-ABZ4
2014-01-28 21:09:41,239 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-42:ctx-0d2ad9e4)
Done executing com.cloud.vm.VmWorkMigrate for job-37
2014-01-28 21:09:41,250 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-43:ctx-a93ee0cc)
Add job-36 into job monitoring
2014-01-28 21:09:41,251 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-43:ctx-a93ee0cc)
Executing AsyncJobVO {id:36, userId: 2, accountId: 2, instanceType: None, instanceId: null,
cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: {"response":"json","sessionkey":"1vIsr8n++yygVCXsm570v1VlV+w\u003d","virtualmachineid":"d864cd81-5471-4197-9c27-1096f53803b4","cmdEventType":"VM.MIGRATE","hostid":"66186f5c-e4c7-40f4-af69-d338e3128cb2","ctxUserId":"2","httpmethod":"GET","_":"1390904402897","ctxAccountId":"2","ctxStartEventId":"82"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
7494415941730, completeMsid: null, lastUpdated: null, lastPolled: null, created: Tue Jan 28
21:09:39 IST 2014}
2014-01-28 21:09:41,278 WARN  [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-43:ctx-a93ee0cc)
job-36 is scheduled for wakeup run, but there is no joining info anymore
2014-01-28 21:09:41,279 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-43:ctx-a93ee0cc)
Done executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd for job-36
2014-01-28 21:09:41,284 DEBUG [o.a.c.f.j.i.SyncQueueManagerImpl] (Job-Executor-42:ctx-0d2ad9e4)
Sync queue (10) is currently empty
2014-01-28 21:09:41,285 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-42:ctx-0d2ad9e4)
Remove job-37 from job monitoring
2014-01-28 21:09:41,291 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-43:ctx-a93ee0cc)
Remove job-36 from job monitoring
2014-01-28 21:09:41,299 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-41:ctx-3ccd5435)
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:109)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:509)
        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 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:679)
2014-01-28 21:09:41,303 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-41:ctx-3ccd5435)
Complete async job-36, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Job
failed due to exception null"}
2014-01-28 21:09:41,315 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-41:ctx-3ccd5435)
Done executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd for job-36
2014-01-28 21:09:41,323 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-41:ctx-3ccd5435)
Remove job-36 from job monitoring



Turned off the vmsync :

"INSERT INTO configuration (category,instance,component,name,value, description, is_dynamic)
VALUES ('Advanced', 'DEFAULT', 'management-server', 'vm.job.enabled', 'false', 'enable vm
sync', 0)"

Now performed live migration.
The state of the VM is stopped after migration in CS with Warning message:

2014-01-28 21:51:12,221 WARN  [c.c.v.VirtualMachineManagerImpl] (Job-Executor-3:ctx-5a6cfb4e
ctx-0f50f5c9) Unable to transition to a new state from Running via OperationFailed
2014-01-28 21:51:12,252 WARN  [o.a.c.a.c.a.v.MigrateVMCmd] (Job-Executor-3:ctx-5a6cfb4e ctx-0f50f5c9)
Exception:
com.cloud.exception.ConcurrentOperationException: Unable to change the state for VM[User|vm6]
        at com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:1844)
        at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:1740)
        at com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:1704)
        at com.cloud.vm.UserVmManagerImpl.migrateVirtualMachine(UserVmManagerImpl.java:4218)
        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:616)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy169.migrateVirtualMachine(Unknown Source)
        at org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd.execute(MigrateVMCmd.java:148)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
        at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
        at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
        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 com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:509)
        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 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:679)
2014-01-28 21:51:12,257 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-79:ctx-ba0cb5a3)
9. The VM i-2-9-VM is in Stopping state
2014-01-28 21:51:12,260 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-3:ctx-5a6cfb4e)
Complete async job-43, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unable
to change the state for VM[User|vm6]"}
2014-01-28 21:51:12,277 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-3:ctx-5a6cfb4e)
Done executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd for job-43






> [Automation] - kvm - Live migration fails with java.lang.NullPointerException. But this
is reported as success.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5683
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5683
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>         Environment: Build from 4.3
>            Reporter: Sangeetha Hariharan
>            Assignee: Kelven Yang
>            Priority: Critical
>             Fix For: 4.4.0
>
>         Attachments: management-server.log, management-server.rar
>
>
> Steps to reproduce the problem:
> Advanced zone set up with 2 KVM hosts.
> Deploy few Vms in both hosts.
> Live migrate vm from 1 host to another.
> UI reports success , but the VM migration actually fails.
> Following exception seen in  management server logs:
> 013-12-30 17:35:03,451 ERROR [c.c.v.VmWorkJobDispatcher] (Job-Executor-101:ctx-23e206c0
ctx-4ddc2410) Unable to complete AsyncJobVO {id:76
> , userId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkMigrate,
cmdInfo: rO0ABXNyABpjb20uY2xvdWQudm0uVm1X
> b3JrTWlncmF0ZRdxQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABmhvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9
> MamF2YS91dGlsL01hcDtMAAZ6b25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbW
> V0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA3QAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAnNyAA5qYXZhLmxhbmcuTG9uZzuL5
> JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAAAAAAAAXEAfgA
> JcQB-AAlwcQB-AAk, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
result: null, initMsid: 82324189320212, completeMsid: null, lastUpdated: null, lastPolled:
null, created: Mon Dec 30 17:35:02 EST 2013}
> java.lang.NullPointerException
>         at com.cloud.vm.VmWorkMigrate.getDeployDestination(VmWorkMigrate.java:60)
>         at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4743)
>         at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:99)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:522)
>         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 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)
> 2013-12-30 17:35:03,452 ERROR [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-101:ctx-23e206c0)
Unexpected exception
> java.lang.NullPointerException
> 2013-12-30 17:35:03,452 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-101:ctx-23e206c0)
Complete async job-76, jobStatus: FAILED, resultCode: 530, result: null
> 2013-12-30 17:35:03,463 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-102:ctx-e541857f)
Add job-75 into job monitoring
> 2013-12-30 17:35:03,463 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-102:ctx-e541857f)
Executing AsyncJobVO {id:75, userId: 2, accountId: 2, instanceType: None, instanceId: null,
cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: {"response":"json","sessionkey":"4SFVHNVTkNP6Ys+kKkCAVp57j8w\u003d","virtualmachineid":"17c74e6c-a39b-4c51-8e76-b75985ea6622","cmdEventType":"VM.MIGRATE","hostid":"9cc1f4fa-f972-42a1-be2c-213dc1c36504","ctxUserId":"2","httpmethod":"GET","_":"1388442964044","ctxAccountId":"2","ctxStartEventId":"165"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
82324189320212, completeMsid: null, lastUpdated: null, lastPolled: null, created: Mon Dec
30 17:35:02 EST 2013}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message