Test Case ID

Test Case Name

Steps

Expected Results

Priority
(P1 | P2 | P3)

Test Case Type
(Sanity/Upgrade/Performance/ Functional)

Automatable(Y/N)

Status
(Pass|Fail)

Comments

Second cycle

Comments

CL01

Global configuration  check

1-Login Through UI
2-Click on "Global Settings"
3-Search for "vmware.percluster.host.max"

1-Global settings should not have a attribute "vmware.percluster.host.max " .

P3

Functional

Y

Pass

 

pass

 

CL02

DB check
  "hypervisor_capabilities"

1-Login to DB
2- do following
 a- use cloud
 b-select * from hypervisor_capabilities;

1-Column "max_host_per_cluster
2- For vmware value should be "32"
3-For other hyperviser  should be NULL
4-UUID  field  should not be NULL

P1

 

Y

Fail


 https://issues.apache.org/jira/browse/CLOUDSTACK-1396

Pass

 

CL03

Addition of a cluster having number of host <="max_host_per_cluster"

1-Create a VMware cluster with size<="max_host_per_cluster". 
2-Add cluster to CS

1-CS should   allow addition of cluster  .

P1

Functional

Y

pass

 

Pass

 

CL04

Addition of  a cluster having number of host >"max_host_per_cluster"

1-Create a VMware cluster with size>"max_host_per_cluster". 
2-Add cluster to CS

1-CS should not  allow addition of cluster.

P1

Functional

Y

pass

 

Pass

 

CL05

Addition  of host  to a cluster already in CS with cluster size=max_host_per_cluster 

1-Add a cluster to CS having number of host equal to max_host_per_cluster
2-add one more host to same cluster.

1-CS should allow addition of cluster
2-CS should not allow addition of host 

P1

Functional

Y

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-1381

Pass

 

CL06

Addition  of host  to a cluster already in CS with cluster size<max_host_per_cluster

1-Add a cluster to CS having number of host less than the max_host_per_cluster
2-add one more host to same cluster.

1-CS should allow addition of cluster
2-CS should  allow addition of host

P1

Functional

Y

Pass

 

 

 

CL07

DataBase change effect

1-Login to DB
2- Change max_host_per_cluster to 5
3-Add a VMware cluster having cluster size 5 to CS
4-Change max_host_per_cluster to 3

1-Already added cluster should  work as expected
2-should not allow addition of host in existing cluster(which is having cluster size > =3) anymore.

P0

Functional

Y

Pass

 

 

 

CL08

Upgrade

Pre upgrade steps
1-Have a vmware cluster where cluster  size = "vmware.percluster.host.max"
2-Add to CS
3- Deploy some VM in VMware cluster
4-have some snapshot and template

post upgrade steps
1-Add another cluster with size="max_host_per_cluster"
2-Add some more host to cluster(added before upgrade) such that cluster size <="max_host_per_cluster
3-Add some more host to cluster(added before upgrade) such that cluster size> "max_host_per_cluster

1-Should successfully get upgrade
2-In 1, cluster should get added successfully
3-In step 2 CS should  allow add host
4-In step 3 CS should not allow addition of host.
5-All  VM,snapshot,template should be in same state as they were before upgrade.

P1

Upgrade

Y

Hold

 

 

 

CL09

Add host in cluster

1-Add a cluster with one host ESXI-5.1
2-set max_host_per_cluster=1 for ESXI5.1
3-Add another ESXI5.1 host
4-Delets all host in cluster
5-Set max_host_per_cluster to 2 for ESXI4.1
6-Add ESXI 4.1 host to cluster
7-Add another host to cluster
8-Add another host to cluster

1-step 1 should be successful
2-step 3 should be successful
3-step 3 should be failed with message "cluster size is to big"
4-step 4 should be successful
5-step 5,6 should be successful
6-Step 8 should be fail.

P2

Functional

Y

Pass

 

 

 

CL10

Maintenance mode

1-Set Max_host_per_cluster  to 2
2-Add a cluster ,size=2
3-Put one host in maintenance and add  another host
4-try to add another host

1-Step 4 should fail

P2

Functional

Y

Pass

 

 

 

CL11

Power off host

1-Set Max_host_per_cluster  to 2
2-Add a cluster size=2
3-put one of the host in power off mode
4-try to add another host

1-Step 4 should fail

P2

Functional

Y

Pass

 

 

 

CL12

Disable zone

1-Set Max_host_per_cluster  to 2
2-Add a cluster size=2
3-Add another host two cluster

1-Step 3 should fail

P2

Functional

Y

Pass

 

 

 

CL13

Disable pod

1-Set Max_host_per_cluster  to 2
2-Add a cluster size=2
3-Add another host two cluster

1-Step 3 should fail

P2

Functional

Y

Pass

 

 

 

CL14

Managed / Unmanaged  cluster

1-Set Max_host_per_cluster  to 2
2-Add a cluster size=2
3-Add another host two cluster

1-Step 3 should fail

P2

Functional

Y

Pass

 

 

 

CL15

Try to Add 33 ESX4.1 in vcenter 4.1

1-Add vcenter 4.1 cluster and add with some host
2-Add some more host until it cluster size reaches to 32
3-Add one more host

1-Step 2 should be successful
2-Step 3 should fail

P2

Functional

Y

Pass

 

 

 

CL16

Try to Add 33 ESXI 4.1 host in vcenter 5.1

1-Add vcenter 4.1 cluster and add with some host
2-Add some more host until it cluster size reaches to 32
3-Add one more host

1-Step 2 should be successful
2-Step 3 should fail

P2

Functional

Y

Pass

 

 

 

CL17

Race condition

1- add  a host
2-add some more hosts while step one is in progress

1-Step 2 should pass

P2

Functional

Y

Pass

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • No labels