cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5683) kvm - Live migration fails with java.lang.NullPointerException
Date Mon, 30 Dec 2013 22:45:51 GMT
Sangeetha Hariharan created CLOUDSTACK-5683:
-----------------------------------------------

             Summary: kvm - Live migration fails with java.lang.NullPointerException
                 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
            Priority: Critical
             Fix For: 4.3.0


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