cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Animesh Chaturvedi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5720) [upgrad]Live migration is failing ;java.lang.NullPointerException
Date Mon, 06 Jan 2014 00:55:50 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Animesh Chaturvedi updated CLOUDSTACK-5720:
-------------------------------------------

    Assignee: Kelven Yang

> [upgrad]Live migration is failing ;java.lang.NullPointerException
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5720
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5720
>             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: hyp:xen6.2
>            Reporter: prashant kumar mishra
>            Assignee: Kelven Yang
>            Priority: Critical
>             Fix For: 4.3.0
>
>         Attachments: Logs_DB.rar
>
>
> STEPS TO REPO
> ==============
> 1-prepare a ACS 4.2 setup +two xen6.2 host in a cluster
> 2-deploy some vms
> 3-upgrade it to 4.3
> 4-try to migrate
> EXPECTED
> ===========
> Migration should be successful
> ACTUAL
> =======
> Migration is failing because NPE
> LOG
> ====
> 014-01-02 12:04:43,865 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-e8b68d56)
Schedule queued job-47
> 2014-01-02 12:04:43,880 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-14:ctx-ad5bbb25)
Add job-47 into job monitoring
> 2014-01-02 12:04:43,882 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-14:ctx-ad5bbb25)
Executing AsyncJobVO {id:47, userId: 2, accountId: 2, instanceType: null, instanceId: null,
cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyABpjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZRdxQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABmhvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9MamF2YS91dGlsL01hcDtMAAZ6b25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAABXQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAXNyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAAAAAAAAXNxAH4ABwAAAAAAAAAEcQB-AAlwcQB-AAk,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
7145449848920, completeMsid: null, lastUpdated: null, lastPolled: null, created: Thu Jan 02
12:04:42 EST 2014}
> 2014-01-02 12:04:43,882 DEBUG [c.c.v.VmWorkJobDispatcher] (Job-Executor-14:ctx-ad5bbb25)
Run VM work job: com.cloud.vm.VmWorkMigrate
> 2014-01-02 12:04:43,886 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Job-Executor-14:ctx-ad5bbb25
ctx-2899d402) Execute VM work job: com.cloud.vm.VmWorkMigrate{"zoneId":1,"podId":1,"clusterId":1,"hostId":4,"srcHostId":1,"userId":2,"accountId":2,"vmId":5,"handlerName":"VirtualMachineManagerImpl"}
> 2014-01-02 12:04:43,890 ERROR [c.c.v.VmWorkJobHandlerProxy] (Job-Executor-14:ctx-ad5bbb25
ctx-2899d402) Invocation exception, caused by: java.lang.NullPointerException
> 2014-01-02 12:04:43,891 ERROR [c.c.v.VmWorkJobDispatcher] (Job-Executor-14:ctx-ad5bbb25
ctx-2899d402) Unable to complete AsyncJobVO {id:47, userId: 2, accountId: 2, instanceType:
null, instanceId: null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyABpjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZRdxQXtPtzYqAgAGSgAJc3JjSG9zdElkTAAJY2x1c3RlcklkdAAQTGphdmEvbGFuZy9Mb25nO0wABmhvc3RJZHEAfgABTAAFcG9kSWRxAH4AAUwAB3N0b3JhZ2V0AA9MamF2YS91dGlsL01hcDtMAAZ6b25lSWRxAH4AAXhyABNjb20uY2xvdWQudm0uVm1Xb3Jrn5m2VvAlZ2sCAARKAAlhY2NvdW50SWRKAAZ1c2VySWRKAAR2bUlkTAALaGFuZGxlck5hbWV0ABJMamF2YS9sYW5nL1N0cmluZzt4cAAAAAAAAAACAAAAAAAAAAIAAAAAAAAABXQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAXNyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAAAAAAAAXNxAH4ABwAAAAAAAAAEcQB-AAlwcQB-AAk,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
7145449848920, completeMsid: null, lastUpdated: null, lastPolled: null, created: Thu Jan 02
12:04:42 EST 2014}
> java.lang.NullPointerException
>         at com.cloud.vm.VmWorkMigrate.getDeployDestination(VmWorkMigrate.java:60)
>         at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:4758)
>         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:4855)
>         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:679)
> 2014-01-02 12:04:43,894 ERROR [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-14:ctx-ad5bbb25)
Unexpected exception
> java.lang.NullPointerException
> 2014-01-02 12:04:43,895 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-14:ctx-ad5bbb25)
Complete async job-47, jobStatus: FAILED, resultCode: 530, result: null
> 2014-01-02 12:04:43,935 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-15:ctx-e21c15f2)
Add job-46 into job monitoring
> 2014-01-02 12:04:43,938 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-15:ctx-e21c15f2)
Executing AsyncJobVO {id:46, userId: 2, accountId: 2, instanceType: None, instanceId: null,
cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: {"response":"json","sessionkey":"w0bL1AcaIgJE4bPHGTp9Gg1uOYM\u003d","virtualmachineid":"6912c31c-a430-4b38-8e55-778d9ee59014","cmdEventType":"VM.MIGRATE","hostid":"4322cdf5-caa1-4459-b146-48d62ebc1f1d","ctxUserId":"2","httpmethod":"GET","_":"1388663077576","ctxAccountId":"2","ctxStartEventId":"114"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
7145449848920, completeMsid: null, lastUpdated: null, lastPolled: null, created: Thu Jan 02
12:04:41 EST 2014}
> 2014-01-02 12:04:43,976 WARN  [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-15:ctx-e21c15f2)
job-46 is scheduled for wakeup run, but there is no joining info anymore
> 2014-01-02 12:04:43,979 ERROR [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-15:ctx-e21c15f2)
Unable to find a wakeup dispatcher from the joined job: AsyncJobVO {id:46, userId: 2, accountId:
2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd,
cmdInfo: {"response":"json","sessionkey":"w0bL1AcaIgJE4bPHGTp9Gg1uOYM\u003d","virtualmachineid":"6912c31c-a430-4b38-8e55-778d9ee59014","cmdEventType":"VM.MIGRATE","hostid":"4322cdf5-caa1-4459-b146-48d62ebc1f1d","ctxUserId":"2","httpmethod":"GET","_":"1388663077576","ctxAccountId":"2","ctxStartEventId":"114"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
7145449848920, completeMsid: null, lastUpdated: null, lastPolled: null, created: Thu Jan 02
12:04:41 EST 2014}
> 2014-01-02 12:04:43,979 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-15:ctx-e21c15f2)
Done executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd for job-46



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

Mime
View raw message