[jira] [Commented] (CLOUDSTACK-6452) Failed to Live Migrate VM across clusters with Xenserver 6.2.5
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14712983#comment-14712983 ] Martins Jakubovics commented on CLOUDSTACK-6452: Hello, I have same issue in ACS 4.3.2, would it be solved in 4.3 branch too? 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 Assignee: Sanjay Tripathi Priority: Critical Fix For: 4.4.0 Attachments: migrationlogs.rar 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.3.4#6332)
[jira] [Commented] (CLOUDSTACK-6452) Failed to Live Migrate VM across clusters with Xenserver 6.2.5
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14204530#comment-14204530 ] Jayashree Ramamoorthy commented on CLOUDSTACK-6452: --- Brought up a Windows 2012 VM and migrated the VM to another host. Observed that the case failed with an minor exception (Error while waiting for suspend notification) which is not reproducible But when I tried again, the migration went through without any exception. 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 Assignee: Sanjay Tripathi Priority: Critical Fix For: 4.4.0 Attachments: migrationlogs.rar 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.3.4#6332)
[jira] [Commented] (CLOUDSTACK-6452) Failed to Live Migrate VM across clusters with Xenserver 6.2.5
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13981957#comment-13981957 ] ASF subversion and git services commented on CLOUDSTACK-6452: - Commit b6d14d77bdc61e387d047c09ccbb2eb67cf8b5a0 in cloudstack's branch refs/heads/4.4 from [~sanjay.tripathi] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b6d14d7 ] CLOUDSTACK-6452: Failed to Live Migrate VM across clusters with Xenserver 6.2.5. 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 Assignee: Sanjay Tripathi Priority: Critical Fix For: 4.4.0 Attachments: migrationlogs.rar 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)
[jira] [Commented] (CLOUDSTACK-6452) Failed to Live Migrate VM across clusters with Xenserver 6.2.5
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13980885#comment-13980885 ] ASF subversion and git services commented on CLOUDSTACK-6452: - Commit cf4db845ff7b46c7004f22e7d7d7d2f636935428 in cloudstack's branch refs/heads/master from [~sanjay.tripathi] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=cf4db84 ] CLOUDSTACK-6452: Failed to Live Migrate VM across clusters with Xenserver 6.2.5. 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 Assignee: Sanjay Tripathi Priority: Critical Fix For: 4.4.0 Attachments: migrationlogs.rar 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)
[jira] [Commented] (CLOUDSTACK-6452) Failed to Live Migrate VM across clusters with Xenserver 6.2.5
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13980884#comment-13980884 ] ASF subversion and git services commented on CLOUDSTACK-6452: - Commit 0f755ee4fcb0c2108e87eccea640f50748071050 in cloudstack's branch refs/heads/4.4-forward from [~sanjay.tripathi] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0f755ee ] CLOUDSTACK-6452: Failed to Live Migrate VM across clusters with Xenserver 6.2.5. 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 Assignee: Sanjay Tripathi Priority: Critical Fix For: 4.4.0 Attachments: migrationlogs.rar 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)
[jira] [Commented] (CLOUDSTACK-6452) Failed to Live Migrate VM across clusters with Xenserver 6.2.5
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13973997#comment-13973997 ] Sailaja Mada commented on CLOUDSTACK-6452: -- 2014-04-18 16:46:06,148 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-38:job-191/job-192) Unable to complete AsyncJobVO {id:192, userId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyACVjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZVdpdGhTdG9yYWdlsew9z6UxtXMCAANKAApkZXN0SG9zdElkSgAJc3JjSG9zdElkTAAMdm9sdW1lVG9Qb29sdAAPTGphdmEvdXRpbC9NYXA7eHIAE2NvbS5jbG91ZC52bS5WbVdvcmufmbZW8CVnawIABEoACWFjY291bnRJZEoABnVzZXJJZEoABHZtSWRMAAtoYW5kbGVyTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO3hwAAIAAgAVdAAZVmlydHVhbE1hY2hpbmVNYW5hZ2VySW1wbAAEAAFzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9QdwgQAHg, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 55355881446856, completeMsid: null, lastUpdated: null, lastPolled: null, created: Fri Apr 18 16:17:44 IST 2014}, job origin:191 com.cloud.utils.exception.CloudRuntimeException: 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 at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.migrateVolumes(VolumeOrchestrator.java:941) at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrateWithStorage(VirtualMachineManagerImpl.java:2138) at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrateWithStorage(VirtualMachineManagerImpl.java:5213) 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:606) at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107) at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5309) at
[jira] [Commented] (CLOUDSTACK-6452) Failed to Live Migrate VM across clusters with Xenserver 6.2.5
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974004#comment-13974004 ] Sailaja Mada commented on CLOUDSTACK-6452: -- VM is not getting started after migration failure: lags: 10, { Answer } } 2014-04-18 17:34:53,029 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc) Volume 27 is not found on image store 1, so no need to delete 2014-04-18 17:34:53,033 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7a329b), no need to delete from object in store ref table 2014-04-18 17:34:53,038 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@649dc40), no need to delete from object in store ref table 2014-04-18 17:34:53,092 DEBUG [c.c.a.t.Request] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc) Seq 4-3512807709348993546: Sending { Cmd , MgmtId: 55355881446856, via: 4(cldstk-R720-66), Ver: v1, Flags: 100011, [{org.apache.cloudstack.storage.command.DeleteCommand:{data:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:640dc9fb-3ec5-4ca6-9750-7046f3e5b50f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:cae1ed4a-6d0d-3f91-9986-73c0a5240b25,id:2,poolType:NetworkFilesystem,host:10.102.192.101,path:/Sailaja/gpunewss1,port:2049,url:NetworkFilesystem://10.102.192.101/Sailaja/gpunewss1/?ROLE=PrimarySTOREUUID=cae1ed4a-6d0d-3f91-9986-73c0a5240b25}},name:ROOT-21,size:21474836480,path:a596f936-c701-49ad-8bb4-f31b45454ee5,volumeId:28,vmName:i-3-21-VM,accountId:3,format:VHD,id:28,deviceId:0,hypervisorType:XenServer}},wait:0}}] } 2014-04-18 17:34:53,092 DEBUG [c.c.a.t.Request] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc) Seq 4-3512807709348993546: Executing: { Cmd , MgmtId: 55355881446856, via: 4(cldstk-R720-66), Ver: v1, Flags: 100011, [{org.apache.cloudstack.storage.command.DeleteCommand:{data:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:640dc9fb-3ec5-4ca6-9750-7046f3e5b50f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:cae1ed4a-6d0d-3f91-9986-73c0a5240b25,id:2,poolType:NetworkFilesystem,host:10.102.192.101,path:/Sailaja/gpunewss1,port:2049,url:NetworkFilesystem://10.102.192.101/Sailaja/gpunewss1/?ROLE=PrimarySTOREUUID=cae1ed4a-6d0d-3f91-9986-73c0a5240b25}},name:ROOT-21,size:21474836480,path:a596f936-c701-49ad-8bb4-f31b45454ee5,volumeId:28,vmName:i-3-21-VM,accountId:3,format:VHD,id:28,deviceId:0,hypervisorType:XenServer}},wait:0}}] } 2014-04-18 17:34:53,093 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-498:ctx-05f1b882) Seq 4-3512807709348993546: Executing request 2014-04-18 17:34:53,106 DEBUG [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-498:ctx-05f1b882) Failed to delete volume The uuid you supplied was invalid. at com.xensource.xenapi.Types.checkResponse(Types.java:1482) at com.xensource.xenapi.Connection.dispatch(Connection.java:350) at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:456) at com.xensource.xenapi.VDI.getByUuid(VDI.java:326) at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.deleteVolume(XenServerStorageProcessor.java:505) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:123) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:56) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:542) at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:60) at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:92) 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