Abhinav Roy created CLOUDSTACK-7338:
---------------------------------------
Summary: [vGPU] Live migration of GPU enabled VM fails with "Live
Migration of GPU enabled VM is not supported"
Key: CLOUDSTACK-7338
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7338
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.5.0
Environment: Xenserver 6.2.5 + GPU cards
Reporter: Abhinav Roy
Priority: Blocker
Fix For: 4.5.0
Steps :
================================
1. Deploy an advanced zone CS 4.5.0 setup with 2 GPU enabled hosts in a cluster.
2. Register a windows 8 template with PV drivers.
3. create a VM vm1 with the template registered above on host1.
4. Live migrate vm1 to host2
Expected behavior :
================================
Live migration should be successful.
Observed behavior :
===============================
Live migration fails with the following exception
2014-08-13 20:04:10,104 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-89:ctx-73c2d9da job-404) Executing AsyncJobVO {id:404,
userId: 1, accountId: 1, instanceType: None, instanceId: null, cmd:
org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo:
{"ctxDetails":"{\"com.cloud.vm.VirtualMachine\":26,\"com.cloud.host.Host\":5,\"com.cloud.uservm.UserVm\":26,\"com.cloud.network.router.VirtualRouter\":26}","virtualmachineid":"26","cmdEventType":"VM.MIGRATE","hostid":"5","ctxUserId":"1","httpmethod":"GET","ctxAccountId":"1","ctxStartEventId":"602","apiKey":"","signature":"hhjnohmcAc63BXTHmXQu58w3plY\u003d"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result:
null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null,
lastPolled: null, created: null}
2014-08-13 20:04:10,187 ERROR [c.c.a.ApiAsyncJobDispatcher]
(API-Job-Executor-89:ctx-73c2d9da job-404) Unexpected exception while executing
org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd
com.cloud.exception.InvalidParameterValueException: Live Migration of GPU
enabled VM is not supported
at
com.cloud.vm.UserVmManagerImpl.migrateVirtualMachine(UserVmManagerImpl.java:3860)
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:601)
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
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
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 $Proxy211.migrateVirtualMachine(Unknown Source)
at
org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd.execute(MigrateVMCmd.java:161)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
at
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
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-13 20:04:10,189 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-89:ctx-73c2d9da job-404) Complete async job-404, jobStatus:
FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Live
Migration of GPU enabled VM is not supported"}
2014-08-13 20:04:10,213 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-89:ctx-73c2d9da job-404) Done executing
org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd for job-404
--
This message was sent by Atlassian JIRA
(v6.2#6252)