Sailaja Mada created CLOUDSTACK-6452:
----------------------------------------

             Summary: Failed to Live Migrate VM across clusters with Xenserver 
6.2.5
                 Key: CLOUDSTACK-6452
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6452
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Storage Controller, XenServer
    Affects Versions: 4.4.0
            Reporter: Sailaja Mada
            Priority: Critical


Steps:

1. Install and configure Adv zone using Xen 6.2.5 hypervisor  with 2 clusters 
having 1 host in each cluster
2. deploy Windows 2012 instance 
3. Live Migrate instance from cluster1 host to cluster2 

Observation:
Failed to Live Migrate VM across clusters with Xenserver 6.2.5

Job failed due to exception Failed to migrated vm VM[User|i-3-21-VM] along with 
its volumes. com.cloud.utils.exception.CloudRuntimeException: Error while 
migrating the vm VM[User|i-3-21-VM] to host Host[-4-Routing]. Exception: 
com.cloud.utils.exception.CloudRuntimeException Message: Unable to get the 
updated VDI paths of the migrated vm java.lang.ClassCastException: 
org.apache.cloudstack.storage.to.TemplateObjectTO cannot be cast to 
org.apache.cloudstack.storage.to.VolumeObjectTO Stack: 
com.cloud.utils.exception.CloudRuntimeException: Unable to get the updated VDI 
paths of the migrated vm java.lang.ClassCastException: 
org.apache.cloudstack.storage.to.TemplateObjectTO cannot be cast to 
org.apache.cloudstack.storage.to.VolumeObjectTO at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.getUpdatedVolumePathsOfMigratedVm(XenServer610Resource.java:123)
 at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.execute(XenServer610Resource.java:357)
 at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:88)
 at 
com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:64)
 at 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
 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.run(FutureTask.java:262) at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
 at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:744) Caused by: 
java.lang.ClassCastException: org.apache.cloudstack.storage.to.TemplateObjectTO 
cannot be cast to org.apache.cloudstack.storage.to.VolumeObjectTO at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.getUpdatedVolumePathsOfMigratedVm(XenServer610Resource.java:113)
 ... 16 more 




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

Reply via email to