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 E09B410F34 for ; Wed, 28 Aug 2013 22:57:51 +0000 (UTC) Received: (qmail 34294 invoked by uid 500); 28 Aug 2013 22:57:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 34277 invoked by uid 500); 28 Aug 2013 22:57:51 -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 34269 invoked by uid 500); 28 Aug 2013 22:57:51 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 34266 invoked by uid 99); 28 Aug 2013 22:57:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 22:57:51 +0000 Date: Wed, 28 Aug 2013 22:57:51 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-4528) [Vmware] new mapping vmware datacenter cloudstack zone - Virtual Router host migration across cluster FAIL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4528?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D13752981#comment-13752981 ]=20 ASF subversion and git services commented on CLOUDSTACK-4528: ------------------------------------------------------------- Commit b24e9a6dd5281b2163ce088e6f5b1fa730c33f7d in branch refs/heads/4.2-fo= rward from [~prachidamle] [ https://git-wip-us.apache.org/repos/asf?p=3Dcloudstack.git;h=3Db24e9a6 ] CLOUDSTACK-4528 [Vmware] new mapping vmware datacenter cloudstack zone - Vi= rtual Router host migration across cluster FAIL Change: - Also add a check in migrateSystemVM API to check that source and destinat= ion host are in the same cluster =20 > [Vmware] new mapping vmware datacenter cloudstack zone - Virtual Router h= ost migration across cluster FAIL > -------------------------------------------------------------------------= --------------------------------- > > Key: CLOUDSTACK-4528 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-452= 8 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.2.0 > Environment: MS 10.223.195.52 build 479 > host ESXi 5.0=20 > Reporter: angeline shen > Assignee: Prachi Damle > Priority: Critical > Fix For: Future > > Attachments: management-server.log.gz, Screenshot-CloudPlatform= =E2=84=A2 - Mozilla Firefox-2.png, Screenshot-CloudPlatform=E2=84=A2 - Mozi= lla Firefox-4.png > > > 1. Vcenter CPP 4.2. > VC1 - DC1 - C1 - H1 zone1 - C1 - H1 10.223.51.2 > H2 H2 10.223.51.3 > PS2 clu= ster primary storage > =20 > C2 - H3 C2 - H3 10.223.51.4 > PS3 clu= ster primary storage > PS1 zon= e primary storage > PSZ4 zo= ne primary storage > 2. H3 10.223.51.4 has SSVM CPVM and VMs i-2-8 i-2-6 > VRs and other guest VMs were on Hosts H1 and H3 > 3. Put H3 in maintenance mode. > Result: > VMs i-2-6-VM and i-2-8-VM went into STOP state. Try to start both VMs. T= hese remain in > 'Starting' state . > New SSVM s-14-VM created.. Old SSVM s-10-VM remained in expunging and dis= connected state > CPVM v-11-VM remain in STOP and disconnected state. Cannot be started > 4. Host H3 cancel maintenance mode. > Old SSVM s-10-VM remained in expunging and disconnected state > CPVM v-11-VM go to running state > Old SSVM s-10-VM remained in expunging and disconnected state > VMs i-2-6-VM and i-2-8-VM were in STOP state. > Unable to restart both guest VMs - deployment failed > 5. Virtual r-9-VM r-7-VM > r-7-VM on host 10.223.51.2 in cluster 1. Try to host migrate to host 10= .223.51.4 in cluster 2 FAIL: > 2013-08-27 14:19:18,815 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-E= xecutor-5:job-120 =3D [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ]) Migrating V= M[DomainRouter|r-7-VM] to Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storag= e(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(3)-Host(6)-Stor= age()] > 2013-08-27 14:19:18,819 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-E= xecutor-5:job-120 =3D [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ]) Source and = destination host are not in same cluster, unable to migrate to host: 6 > 2013-08-27 14:19:18,827 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-5:job-120 =3D [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ]) Unexpected exc= eption while executing org.apache.cloudstack.api.command.admin.systemvm.Mig= rateSystemVMCmd > com.cloud.utils.exception.CloudRuntimeException: Source and destination h= ost are not in same cluster, unable to migrate to host: 6 > at com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineM= anagerImpl.java:1464) > at com.cloud.vm.UserVmManagerImpl.migrateVirtualMachine(UserVmMan= agerImpl.java:3982) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$= InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:12= 5) > at org.apache.cloudstack.api.command.admin.systemvm.MigrateSystem= VMCmd.execute(MigrateSystemVMCmd.java:110) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) > at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.= java:531) > 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(ThreadPoolEx= ecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-08-27 14:19:18,829 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Exec= utor-5:job-120 =3D [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ]) Complete async= job-120 =3D [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ], jobStatus: 2, result= Code: 530, result: Error Code: 530 Error text: Source and destination host = are not in same cluster, unable to migrate to host: 6 > 2013-08-27 14:19:19,298 DEBUG [cloud.server.StatsCollector] (StatsCollect= or-1:null) HostStatsCollector is running... > 2013-08-27 14:19:19,308 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-20:null) Seq 1-1802043963: Executing request > 2013-08-27 14:19:19,365 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-20:null) Seq 1-1802043963: Response Received:=20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira