You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/23 20:14:49 UTC
[jira] [Commented] (CLOUDSTACK-3733) vm live migration fails with
ClassCastException from VMinstanceVO to UserVmVO
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716676#comment-13716676 ]
ASF subversion and git services commented on CLOUDSTACK-3733:
-------------------------------------------------------------
Commit 3962f117ac09b02740fad4b89b87dc9fd9df5bb2 in branch refs/heads/master from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3962f11 ]
CLOUDSTACK-3733: fixed migrateVm - no need to cast vm to user vm to retrieve the iso information. Extract iso information from VirtualMachineProfile object passed to the method.
Conflicts:
server/src/com/cloud/storage/VolumeManagerImpl.java
> vm live migration fails with ClassCastException from VMinstanceVO to UserVmVO
> -----------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3733
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3733
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Management Server
> Affects Versions: 4.2.0
> Reporter: Sateesh Chodapuneedi
> Assignee: Alena Prokharchyk
> Priority: Blocker
> Fix For: 4.2.0
>
>
> 1) Deployed advanced zone over VMware.
> 2) Created user instance
> 3) Live migration of user instance inside the cluster failed with following exception.
> ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-1:job-19 = [ 956296bf-44a2-4830-b02f-acac6cf835b5 ]) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd
> java.lang.ClassCastException: com.cloud.vm.VMInstanceVO$$EnhancerByCGLIB$$48068e18 cannot be cast to com.cloud.vm.UserVmVO
> at com.cloud.storage.VolumeManagerImpl.prepareForMigration(VolumeManagerImpl.java:2324)
> at com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:1533)
> at com.cloud.vm.UserVmManagerImpl.migrateVirtualMachine(UserVmManagerImpl.java:3874)
> at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd.execute(MigrateVMCmd.java:148)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
> at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:538)
> 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:1146)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:679)
> INFO [vmware.resource.VmwareResource] (DirectAgent-30:10.102.192.2) Executing resource NetworkUsageCommand
> INFO [vmware.resource.VmwareResource] (DirectAgent-109:10
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira