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 74CF617CC9 for ; Mon, 2 Nov 2015 11:09:28 +0000 (UTC) Received: (qmail 35064 invoked by uid 500); 2 Nov 2015 11:09:28 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 34935 invoked by uid 500); 2 Nov 2015 11:09:28 -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 34750 invoked by uid 500); 2 Nov 2015 11:09:28 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 34704 invoked by uid 99); 2 Nov 2015 11:09:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2015 11:09:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EC6122C1F6A for ; Mon, 2 Nov 2015 11:09:27 +0000 (UTC) Date: Mon, 2 Nov 2015 11:09:27 +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-8824) VM deployment fails when there is only ZWPS and deployement alogorithm is firstfitleastconsumed 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-8824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985060#comment-14985060 ] ASF subversion and git services commented on CLOUDSTACK-8824: ------------------------------------------------------------- Commit a981d34f4950e150d755f6e36e926b5cf757ca30 in cloudstack's branch refs/heads/master from [~remibergsma] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a981d34 ] Merge pull request #787 from anshul1886/CLOUDSTACK-8824-8825 CLOUDSTACK-8825, CLOUDSTACK-8824 : Fixed issues if vm.allocation.algorithm is set to firstfitleastconsumedFixed following issues if vm.allocation.algorithm is set to firstfitleastconsumed 1. VM deployment failure if thre is only ZWPS in setup 2. VM migration is impossible from UI To test 1. Create setup with ZWPS only 2. set vm.allocation.algorithm to firstfitleastconsumed in global settings 3. deploy virtual machine observation: vm deployment will fail After this fix it will pass second scenario 1. Create Cloudstack Setup with two hosts (As it needs setup for migration) 2. Try migrating VM from UI Observation: There will be error response in logs with nothing available in UI After fix it will pass Regarding BVT I am not sure whether there exists tests for firstfitleastconsumed vm allocation algorithm. * pr/787: CLOUDSTACK-8825, CLOUDSTACK-8824 : Fixed following issues if vm.allocation.algorithm is set to firstfitleastconsumed 1. VM deployment failure if thre is only ZWPS in setup 2. VM migration is impossible from UI Signed-off-by: Remi Bergsma > VM deployment fails when there is only ZWPS and deployement alogorithm is firstfitleastconsumed > ----------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8824 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8824 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Reporter: Anshul Gangwar > Assignee: Anshul Gangwar > Priority: Critical > Fix For: 4.6.0 > > > Steps: > 1. Create a zone with zone wide primary storage. > 2. Deploy a VM ( At this stage, the deployment algorithm is default). Notice that the deployment succeeds > 3. Change the deployment planner to firstfitleastconsumed and restart MS. > 4. Launch a VM. > Reason: > Cluster ID is null in case of ZWPS and hence it fails. -- This message was sent by Atlassian JIRA (v6.3.4#6332)