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 0D15318D84 for ; Wed, 23 Dec 2015 11:06:47 +0000 (UTC) Received: (qmail 64740 invoked by uid 500); 23 Dec 2015 11:06:46 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 64708 invoked by uid 500); 23 Dec 2015 11:06:46 -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 64693 invoked by uid 500); 23 Dec 2015 11:06:46 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 64677 invoked by uid 99); 23 Dec 2015 11:06:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2015 11:06:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A8B212C1F5D for ; Wed, 23 Dec 2015 11:06:46 +0000 (UTC) Date: Wed, 23 Dec 2015 11:06:46 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-4572) findHostsForMigration API does not return correct host list 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-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069517#comment-15069517 ] ASF GitHub Bot commented on CLOUDSTACK-4572: -------------------------------------------- GitHub user anshul1886 opened a pull request: https://github.com/apache/cloudstack/pull/1283 CLOUDSTACK-4572: findHostsForMigration API does not return correct host list https://issues.apache.org/jira/browse/CLOUDSTACK-4572 Fix is missing in recent releases. The api should return the list of suitable/unsuitable hosts Added fix that creates a deep copy of the the variable allHosts and prevents faulty host list return. You can merge this pull request into a Git repository by running: $ git pull https://github.com/anshul1886/cloudstack-1 CLOUDSTACK-4572 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1283.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1283 ---- commit 2cea4d42510230a61c2858ce5789b199cbc6398b Author: Saksham Srivastava Date: 2013-08-30T19:30:41Z CLOUDSTACK-4572: findHostsForMigration API does not return correct host list Changes: Expected behavior: The api should return the list of suitable/unsuitable hosts Added fix that creates a deep copy of the the variable allHosts and prevents faulty host list return. ---- > findHostsForMigration API does not return correct host list > ----------------------------------------------------------- > > Key: CLOUDSTACK-4572 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4572 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Affects Versions: 4.2.0 > Reporter: Saksham Srivastava > Assignee: Anshul Gangwar > Fix For: 4.2.1, 4.8.0 > > > Create multi cluster setup. > Tag host in one cluster with host tag t1. > Create a service offering using the host tag t1 > Deploy a vm using the tagged service offering. > Even if tagged/untagged hosts are available across different clusters the api does not list correct hosts for migration for the deployed vm. > Expected behavior: > The api should return the list of suitable/unsuitable hosts. -- This message was sent by Atlassian JIRA (v6.3.4#6332)