Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CB31E105 for ; Thu, 28 Feb 2013 06:29:13 +0000 (UTC) Received: (qmail 70609 invoked by uid 500); 28 Feb 2013 06:29:13 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 70575 invoked by uid 500); 28 Feb 2013 06:29:13 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 70559 invoked by uid 99); 28 Feb 2013 06:29:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 06:29:12 +0000 Date: Thu, 28 Feb 2013 06:29:12 +0000 (UTC) From: "prashant kumar mishra (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-1381) VMware cluster size in CS =(max_host_per_cluster valuse in hypervisore _capability table +1) 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-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] prashant kumar mishra updated CLOUDSTACK-1381: ---------------------------------------------- Fix Version/s: 4.2.0 > VMware cluster size in CS =(max_host_per_cluster valuse in hypervisore _capability table +1) > -------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1381 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1381 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: VMware > Affects Versions: 4.2.0 > Environment: Build is on top of commit "a4398af3538ad586e59c1a7f8e978065876d65ee" > Reporter: prashant kumar mishra > Assignee: Koushik Das > Fix For: 4.2.0 > > Attachments: apilog.log, catalina.out, cloud-backup.dmp, management-server.log > > > MS on Rhel 6.3 > Hypervisor Esxi-5.1 > Steps > -------- > 1-set max_host_per_cluster to 1 for ESXI 5.1 > 2-Add a vmware cluster with 1 host to CS > 3-Add another host to cluster and then CS > Expected > --------------- > CS should not allow addition of host to cluster since cluster size increase =max_host_per_cluster > Actual > -------------- > CS allowed addition of host till cluster size= 1+ max_host_per_cluster > DB detail > -------------- > mysql> select * from hypervisor_capabilities where id = 15; > +----+------+-----------------+--------------------+------------------+------------------------+------------------------+-----------------------+ > | id | uuid | hypervisor_type | hypervisor_version | max_guests_limit | security_group_enabled | max_data_volumes_limit | max_hosts_per_cluster | > +----+------+-----------------+--------------------+------------------+------------------------+------------------------+-----------------------+ > | 15 | NULL | VMware | 5.1 | 128 | 0 | 6 | 1 | > +----+------+-----------------+--------------------+------------------+------------------------+------------------------+-----------------------+ > 1 row in set (0.00 sec) > mysql> select id, name , private_ip_address , url, hypervisor_version,version, created , removed from host\G; > *************************** 1. row *************************** > id: 1 > name: 10.147.40.7 > private_ip_address: 10.147.40.7 > url: NULL > hypervisor_version: 5.1 > version: 4.2.0-SNAPSHOT > created: 2013-02-25 14:13:42 > removed: NULL > *************************** 2. row *************************** > id: 2 > name: nfs://10.147.28.7/export/home/prashant/secondary.asf.4.2 > private_ip_address: nfs > url: nfs://10.147.28.7/export/home/prashant/secondary.asf.4.2 > hypervisor_version: NULL > version: 4.2.0-SNAPSHOT > created: 2013-02-25 14:15:21 > removed: NULL > *************************** 3. row *************************** > id: 3 > name: 10.147.40.8 > private_ip_address: 10.147.40.8 > url: NULL > hypervisor_version: 5.1 > version: 4.2.0-SNAPSHOT > created: 2013-02-25 14:37:43 > removed: NULL > 3 rows in set (0.00 sec) > ERROR: > No query specified -- 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