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 9179910A35 for ; Fri, 23 Aug 2013 09:11:54 +0000 (UTC) Received: (qmail 13871 invoked by uid 500); 23 Aug 2013 09:11:54 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 13854 invoked by uid 500); 23 Aug 2013 09:11:53 -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 13842 invoked by uid 500); 23 Aug 2013 09:11:53 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 13833 invoked by uid 99); 23 Aug 2013 09:11:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Aug 2013 09:11:51 +0000 Date: Fri, 23 Aug 2013 09:11:51 +0000 (UTC) From: "Devdeep Singh (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-4470) findHostsForMigration API is not setting 'requiresStorageMotion' flag wrongly 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-4470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devdeep Singh reassigned CLOUDSTACK-4470: ----------------------------------------- Assignee: Devdeep Singh > findHostsForMigration API is not setting 'requiresStorageMotion' flag wrongly > ------------------------------------------------------------------------------- > > Key: CLOUDSTACK-4470 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4470 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Storage Controller > Affects Versions: 4.2.1 > Reporter: Srikanteswararao Talluri > Assignee: Devdeep Singh > Priority: Blocker > Fix For: 4.2.1 > > > Steps to reproduce: > =============== > 1. have two xenserver6.1 clusters in the same zone with at least one host in each cluster. > 2. deploy a VM. > 3. issue findHostsForMigration API for that virtual machine > 4. it needs to mark 'requiresStorageMotion' to true if the destination host is in a different cluster. > Observation: > =========== > findHostsForMigration result contains 'requiresStorageMotion' set to false for all the hosts, which is wrong. > http://10.147.38.166:8080/client/api?command=findHostsForMigration&VirtualMachineId=e62fc701-e6d0-4684-af23-24b0b6ccb0a3&sessionkey=DoTkY30m%2BPsRPfmt6vBah0imvoQ%3D&_=1377237882534 > > 2 > > 3a2a855b-f872-431f-b0d5-1a84f96e166d > Rack1Pod1Host15 > Up > 2013-08-23T02:40:08+0530 > Routing > 10.147.40.15 > 5f94a329-6dcc-4657-9071-ff1e548871b4 > Sandbox-XenServer > e0a82c4a-a817-4e27-b710-72eec5a467e8 > POD0 > 4.2.0-SNAPSHOT > XenServer > 4 > 2394 > 33.42% > 0.05% > 9576.0 > 9207 > 15695 > 16190157312 > 536870912 > 1214196 > > xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64 > > 1970-01-16T19:05:27+0530 > 7566222426160 > 9405d5ab-7f85-4098-bedd-e3ee6c5e8b14 > C0 > CloudManaged > false > 2013-08-23T02:27:58+0530 > > PingTimeout; ManagementServerDown; AgentDisconnected; HostDown; ShutdownRequested; Remove; StartAgentRebalance; AgentConnected; Ping > > true > false > Enabled > 6.1.0 > false > 0 > > > b09c5bc4-c134-4c69-addc-328af9a2fc48 > Rack1Pod1Host31 > Up > Routing > 10.147.40.31 > 5f94a329-6dcc-4657-9071-ff1e548871b4 > Sandbox-XenServer > e0a82c4a-a817-4e27-b710-72eec5a467e8 > POD0 > 4.2.0-SNAPSHOT > XenServer > 4 > 2394 > 0% > 0.06% > 9576.0 > 5127 > 19389 > 16190133120 > 1476395008 > 2599168 > > xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64 > > 1970-01-16T19:06:14+0530 > 7566222426160 > 698cfcac-519d-40c9-b212-26345676fceb > cluster1 > CloudManaged > false > 2013-08-23T16:05:14+0530 > > PingTimeout; ManagementServerDown; AgentDisconnected; HostDown; ShutdownRequested; Remove; StartAgentRebalance; AgentConnected; Ping > > true > false > Enabled > 6.1.0 > false > 0 > > -- 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