|
This feature is implemented for following hypervisor |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Test Case ID |
Test Case Name |
Steps |
Expected Result |
Priority |
Test Case Type |
Automatable |
XEN |
Comment |
Second Cycle |
KVM |
Comment |
Second Cycle |
VMWARE |
Comment |
Second Cycle |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 |
UI/API check |
1-Add cluster using API addCluster |
add cluster API should have new parameters cpuovercommitratio and memoryovercommitratio |
P1 |
|
Y |
Pass |
|
|
Pass |
|
Pass |
Pass |
|
Pass |
2 |
UI/API check |
1- update overcommit ratio using API updateCluster with parameter cpuovercommitratio,memoryovercommitratio. |
response should contain " details of the updated cluster along with the overcommit ratios" |
P1 |
|
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
3 |
DB check |
1-Logoin through UI |
1-There should be attribute ,name,value for each cluster . |
P1 |
|
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
|
Deploy VM in cluster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
Deploy vm in a cluster with a service offering( |
1-Create a cluster with overcommit factor x |
1- Condition in step 3 should be valid |
P1 |
Functional |
Y |
Pass |
|
Pass |
Pass |
Pass |
Pass(need some discussion ) |
Pass |
||
5 |
Deploy VM in cluster with service offering(ram =y) |
1-Create a cluster with overcommit factor x |
1- Deployment of vm in step 3 should fail. |
P1 |
Functional |
Y |
Pass |
|
Pass |
Block |
|
Pass |
Pass |
|
Pass |
6 |
Deploy vm in a cluster with a service offering( |
1-Create a cluster with overcommit factor x |
1- VM in step 3 should get deployed |
P1 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Fail |
Pass |
|
7 |
Deploy vm in a cluster with a service offering( |
1-Create a cluster with overcommit factor x |
1- Deployment of vm in step 3 should fail. |
P1 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
8 |
Deploy vm in cluster with overcommit factor x . and total available ram = M |
1-Deploy vm with aSO where ram=y GB |
1-hypervisor will choose a value between y/x to y such that total required ram will be <= |
P1 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
-- |
|
N/A |
9 |
Addition of host to cluster |
1- add host which have overcommit capacity (having licence) |
1-Should fail xen does not support mixed licensing |
P2 |
Fuctional |
Y |
Pass |
|
|
N/A |
|
|
N/A |
|
|
10 |
Addition of host to cluster |
1-Add host(with licence) to a cluster |
1-step 2 should be successful |
P2 |
Functional |
Y |
Pass |
|
|
N/A |
|
|
N/A |
|
|
11 |
weight |
1-Deploy vms with different service offerings |
vm with different cpu speed (cpu speed*vcp ) should get different weight |
P2 |
Functional |
Y |
Fail |
Pass |
Pass |
|
|
Pass |
|
Pass |
|
|
"overcommit ratio update " effect on existing and new vms |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1-Login Through UI |
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
5-when y<x (for Memory) |
1-VM deployed in step-3 should not have any effect of y |
P1 |
Functional |
Y |
Pass |
|
Pass |
Block |
|
Pass |
Pass |
|
Pass |
13 |
|
5-when y<x (for CPU) |
1-VM deployed in step-3 should not have any effect of y |
P1 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
14 |
|
5-when y>x (for Memory) |
1-VM deployed in step-3 should not have any effect of y |
P2 |
Functional |
Y |
Pass |
|
Pass |
Block |
|
Pass |
Pass |
|
Pass |
15 |
|
5-when y>x (For CPU) |
1-VM deployed in step-3 should not have any effect of y |
P1 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
|
VM Life cycle |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1-set cluster overcommit ratio x |
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
Reboot |
4-Reboot all the vms , deployed in step 2 when x>y |
1-VM should use previous overcommit ratio(x),should come up without failure |
P2 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
|
|
Pass |
17 |
Reboot |
4-Reboot all the vms in deployed in step 2 when x<y |
1-VM should use previous overcommit ratio(x),should come up without failure. |
P2 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
18 |
stop/start |
4-Stop and start all the vms in deployed in step 2 when x>y |
1-VM should use current overcommit ratio(y), |
P2 |
Functional |
Y |
Pass for Memory |
Pass |
fail |
Pass |
Pass |
|
Pass |
||
19 |
stop/start |
4-Stop and start all the vms in deployed in step 2 when x<y |
1-VM should use current overcommit ratio(y). |
P2 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
20 |
destroy/restore ->start |
4-Destroy and restore and start all the vms in deployed in step 2 when x>y |
1-VM should use current overcommit ratio(y), |
P2 |
Functional |
Y |
Pass for memory |
Pass |
Fail |
Pass |
Pass |
|
Pass |
||
21 |
destroy/restore ->start |
1-destroy/restore->start all the vms in deployed in step 2 when x<y |
1-VM should use current overcommit ratio(y). |
P2 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
22 |
(manage/unmanage-Disable/enable cluster) |
1-Create a cluster with overcommit ratio x |
1-Overcommit ratio should not change |
P2 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
upgrade path |
Pre upgrade steps |
1- Upgrade should be successful . |
|
Upgrade |
Y |
Pass (RAM) |
CPU testing is blocked because of issue https://issues.apache.org/jira/browse/CLOUDSTACK-1695 |
|
|
|
|
Block |
Waiting for new system vm template. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
Number of max VM can be deployed (CPU overcommit factor x, actual cpu C) in case enough RAM available. |
1- Deploy a vm with a SO where cpu=y . |
number of vm must be limited by n*y*vcpu/x<C (nummber of vm *lower value of ram*vcpu < total cpu in cluster) |
P2 |
Functional |
Y |
Pass |
|
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
25 |
Number of max VM can be deployed (RAM overcommit factor x, actual ram M) if enough CPUs are available. |
1- Deploy vms with a SO where ram=y , |
number of vm must be limited by n*y/x<M (nummber of vm *lower value of ram < total available memory on current host) |
P2 |
Functional |
Y |
Pass |
|
pass |
Block |
|
Pass |
Pass |
|
Pass |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
Dash board display |
1-set overcommit ratio to x |
1-Overcommited values should get displayed at zone/pod/cluster level with % of use based on overcommited values |
P2 |
Functional |
Y |
Fail |
Pass |
Fail |
Pass |
Pass |
Fail |
Pass |
||
27 |
overcommit ratio <1 |
1-Craete a cluster with overcommit ratio x |
1-Cs should not allow to set overcommit ratio <1 |
P3 |
Functional |
Y |
Fail |
Pass |
Fail |
Pass |
Pass |
Fail |
|
Pass |
|
28 |
cluster.cpu.allocated.capacity.disablethreshold |
set cluster.cpu.allocated.capacity.disablethreshold |
1-Should be calculated based on overcommit ratio |
P2 |
Functional |
Y |
Fail |
https://issues.apache.org/jira/browse/CLOUDSTACK-1704 |
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
29 |
cluster.cpu.allocated.capacity.notificationThreshold |
set cluster.cpu.allocated.capacity.notificationThreshold |
1-should be calculated based on overcommit ratio |
P2 |
Functional |
Y |
Fail |
Pass |
Fail |
|
Pass |
Fail |
|
Pass |
|
30 |
cpu.overpovisioning .factor |
check cpu.overpovisioning .factor in GP |
1-Expected to be there in Global settings |
P2 |
Functional |
Y |
Fail |
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
|
31 |
cluster.memory.allocated.capacity.disablethreshold |
set |
1-should be calculated based on overcommited memory |
P2 |
functional |
Y |
Fail |
Pass |
Pass |
|
Pass |
Pass |
|
Pass |
|
32 |
cluster.memory.allocated.capacity.notificationthreshold |
set cluster.memory.allocated.capacity.notificationthreshold |
1-should be calculated based on overcommited memory |
P2 |
Functional |
Y |
Fail |
Pass |
Fail |
|
Pass |
Pass |
|
Pass |