incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "prashant kumar mishra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-1381) CS allow VMware cluster size=(max_host_per_cluster valuse in hypervisore _capability table +1)
Date Mon, 25 Feb 2013 09:44:12 GMT
prashant kumar mishra created CLOUDSTACK-1381:
-------------------------------------------------

             Summary:  CS allow VMware cluster size=(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


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

Mime
View raw message