Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1BF971026A for ; Tue, 23 Jul 2013 14:08:50 +0000 (UTC) Received: (qmail 48495 invoked by uid 500); 23 Jul 2013 14:08:49 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 48476 invoked by uid 500); 23 Jul 2013 14:08:49 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 48458 invoked by uid 500); 23 Jul 2013 14:08:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 48451 invoked by uid 99); 23 Jul 2013 14:08:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 14:08:49 +0000 Date: Tue, 23 Jul 2013 14:08:49 +0000 (UTC) From: "Sateesh Chodapuneedi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-3733) vm live migration fails with ClassCastException from VMinstanceVO to UserVmVO MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sateesh Chodapuneedi updated CLOUDSTACK-3733: --------------------------------------------- Fix Version/s: (was: Future) 4.2.0 > 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 > 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