Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
1-Check "data_center_details"
2-Check for  name and value pair in table
Default value of parameter "
pool.storage.allocated.capacity.disablethreshold"
set pool.storage.allocated.capacity.disablethreshold" to some value on zone level
and set pool.storage.allocated.capacity.disablethreshold" to some value on global level
 

Test Case ID

Test Case Name

Steps

Expected Result

TypePriority
(FunctionalP1|SanityP2|UpdeateP3)

Automatable(Y/N)

Xen(Y/N)

KVM(Y/N)

VMware(Y/N)

Status
(Pass|Fail)

Comments

2nd cycle

 

All the testing is done on xen6.1 with default template ;for network throttling rate i used xen 6.0.2 because it was not working with xen 6.1

API check

 

 

 

 Zone level parameters

 

 

 

 

 

 

 

GP01

updateConfiguration

update parameter API check
1-Check for API "UpdateZoneLevelParamters" 

1-For every change in zone level parameter API "UpdateZoneLevelParamters"

Functional

Y

Y

 

 

id is not mention
2-set id=zoneid and update
3-set id= clusterid and  update
4-set id=pool id and update
5-set id= account id and update

1-Parameter should get updated at specific level depend on id value
2-response API -updateconfigurationresponse

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2767
https://issues.apache.org/jira/browse/CLOUDSTACK-2697

 

 

 

 

 

 

 

 

 

GP02

Database check

1-Check for value and name for each parameter
2-For each parameter there should be an entry in table "data_center_details"

Functional

Y

Y

 

 

 

pool.storage.allocated.capacity.disablethreshold

 

 

 

Functional  

 

 

 

 

GP03  

UI validation

set "pool.storage.allocated.capacity.disablethreshold"" to some special character, integer(>1) and some alphabet

Should not allow to except (0<x<1)

 

 

 

 

 

 

GP02

listConfiguration

 

1-should list the parameter with corresponding scope
2-response API -listconfigurationresponse

 

Pass 

 

 

GP04  

Default value

 

Zone level parameters

 

should be equal to Glabale parameter "pool.storage.allocated.capacity.disablethreshold"

Functional

 

 

 

 

GP05 GP03

Threshold check

set pool.storage.allocated.capacity.disablethreshold to some valuse

zone should be disabled if allocation goes beyond threshold value

Functional

 

Database check

1-Check "data_center_details"
2-Check for  name and value pair in table

1-Check name and value for every  parameter and each zone

 

1-passed for "guest.domain.suffix" 

 

 

GP06 GP04

Conflict between zone level parameter and global parameter

Multiple zone

1-have two or more zone
2-make sure zones are having different value for same parameter
3-repeate step 1,2 for every zone level parameter

expected value is based on  parameter  and value of parameter

 

1-Passed "guest.domain.suffix"
2-Passed for
"pool.storage.allocated.capacity.disablethreshold"
3-Passed for "pool.storage.capacity.disablethreshold"

Zone level value should be dominating for particular zone

Functional

 

 

 

 

 

 pool
pool.storage.allocated.capacity.disablethreshold

 

 

 

 

 

 

 

GP07 GP05

UI Validation validation

try to set "pool.storage.allocated.capacity.disablethreshold"" to some special character, integer(>1) and some alphabet

Should not allow to except (0<x<1)

  

Fail

 

 

 

GP08 GP06

Default value

Default value of parameter "
pool.storage.allocated.capacity.disablethreshold"

should be equal to Glabale parameter "pool.storage.allocated.capacity.disablethreshold"

  

Pass

  

Pass

 

GP09 GP07

Threshold check

set pool.storage.allocated.capacity.disablethreshold to some values above threshold value  allocators should disable using the pool for low storage available valuse

zone should be disabled if allocation goes beyond threshold value

  

Pass

  

Pass

 

GP10 GP08

Conflict between zone level parameter and global parameter

set pool.storage.allocated.capacity.disablethreshold" to some value on zone level

and set pool.storage.allocated.capacity.disablethreshold
" to some value on global level

Zone level value should be dominating for particular zone dominate 

  

Pass

  

Pass

 

 

 VM Allocation Algorithm
 pool.storage.capacity.disablethreshold

 

 

 

 

 

 

 

GP11 GP09

UI Validation

try to set "vmallocationalgorithmpool.storage.capacity.disablethreshold" to some other value
special character, integer(>1) and some alphabet

Should not allow to except (0<x<1) should not be allowed

  

Fail

 

  

GP10

GP12

Default value

Default value of parameter " vmallocationalgorithm
pool.storage.capacity.disablethreshold"

should be equal to Glabale parameter "vmallocationalgorithmpool.storage.capacity.disablethreshold"

  

Pass (need to test with two zones;will test in second cycle)

  

Pass

 GP11

GP13

Algorithm Threshold check

set "vmallocationalgorithm" to one of these "random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit'"

host should be  chosen based on the algorithm 

 

 

 

 

 

pool.storage.capacity.disablethreshold to some values

above threshold value  allocators should disable using the pool for low storage available

 

Pass

 

Pass

GP12

GP14

Conflict between zone level parameter and global parameter

set "vmallocationalgorithm" to some algorithm
set""vmallocationalgorithm"" to some algorithm globally
pool.storage.capacity.disablethreshold to some value on zone level

and set pool.storage.capacity.disablethreshold
to some value on global level

Zone level value should be dominating for zone leve algorithm should be effective for that particular zone

  

Pass

  

Pass

 

 

 network.throttling.rate
 VM Allocation Algorithm

 

 

 

 NOT IMPLEMENTED

 

 

 

GP15 GP13

UI Validation

try to set  network.throttling.rate set "vmallocationalgorithm" to some special character other value

should not be allowed

 

 

 

 

 

GP16 GP14

Default value

Default value of  "network.throttling.rateof parameter " vmallocationalgorithm" Should

should be equal to global parameter  "network.throttling.rateGlabale parameter "vmallocationalgorithm"

 

 

 

  

GP15

GP17

Check data rate allowed in network

set  "networkthrottlingrate" to some value

Algorithm check

set "vmallocationalgorithm" to one of these "random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit'"

host should be  chosen based on the algorithm  default allowed  transfer rate should be equal to threshold value.

 

 

 

 

 

GP18 GP16

Conflict between zone level parameter and global parameter

 

set "vmallocationalgorithm" to some algorithm
set""vmallocationalgorithm"" to some algorithm globally

zone leve algorithm should be effective for that particular zone zone level parameter should be dominating

 

 

 

 

 

 

router
 network.
template
throttling.
id
rate

 

 

 

 

 

  

GP17

GP19

 

UI Validation

try to set  network.throttling.rate to some special character

should not be allowed 

  

Fail

 

  

GP18

 

Default value

Default value of  "network.throttling.rate"

Should be equal to global parameter  "network.throttling.rate"

GP20

 

  

Pass

 

 

 

 

 

GP19

Check data rate allowed in network

set  "networkthrottlingrate" to some value

default allowed  transfer rate should be equal to threshold value. GP21

 

Fail

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

Pass with xen6.0.2

GP20

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

 

Fail

 

 

 

 

 

 

 

GP22

 

 

 

 

 

 

 

 

 

guest.domain.suffix
router.template.id

 

 

 

 

 

 

 

GP23

GP21

UI check UI validation

Try to set  guest.domain.suffix set to some special character

should Should not be allowed

 

 

 

 

 

Fail

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

Fail
Pass

GP22 GP24

Default value

 

should Should be equal to taken from GP guestrouter.domaintemplate.suffix id

  

Pass

  

Pass

 

GP25

Check vm name suffix

set guest.domain.suffix to some value

vm should get  suffix name based on guest.domain.suffix

 

 

 

 

 

GP23

check router.template.id

for each hypervisor set  name of default routing template

It should be reflected in db

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2835
https://issues.apache.org/jira/browse/CLOUDSTACK-3531

Pass(need some UI changes)
Pass

GP24

Conflict

GP26

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

  

Pass

  

Pass

 

 

Use
guest.
external
domain.
dns
suffix

 

 

 

 

 

 

 

GP27 GP25

UI validation

Try to set useset  guest.externaldomain.dns suffix to some special character

should not be allowed

 

 

 

 

 

Fail

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

Pass(as par bug specification)

GP26 GP28

Default value

 

Should should be equal to GP useguest.externaldomain.dns suffix

  

Pass

  

Pass

 

GP29

check bypassing

set use.external.dns to  true

should bypass internal dns1 and 2

 

 

 

 

 

GP27

Check vm name suffix

set guest.domain.suffix to a domain name

Network created after the change should have new domain name

 

Pass

 

Pass

GP28 GP30

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

  

Pass

  

Pass

 

 

storage
Use.
cleanup
external.
interval
dns*

 

 

 

 

 

 

 

GP31 GP29

UI validation

try to assign some special Try to set use.external.dns to some special character

should not be allowed

  

Fail

 

  

GP30

GP32

default Default value

 

should Should be equal to GP storageuse.cleanupexternal.interval dns

  

Pass

  

Pass

 GP31

GP33

check interval bypassing

set storageuse.cleanup.interval to some value
external.dns to  true

should bypass internal dns1 and 2 check secondary storage should get clean up after the threshold value

  

Pass

  

Pass

 

GP34 GP32

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

  

Pass

  

Pass

 

 

Cluster level parameters
storage.cleanup.interval

 

 

 

 NOT IMPLEMENTED

 

  

GP33

GP35

API check

check for api  "updateClusterLevelParameters*"*

UI validation

try to assign some special character

should not be allowed for every update in cluster level parameter api "updateClusterLevelParameter " should get called

 

 

 

  

GP34

GP36

DB check

check for  cluster_details table 

default value

 

should be equal to GP storage.cleanup.interval for each parameter  there should be an entry in cluster_details table.

 

 

 

  

GP35 

check interval

cluster

set storage.

cpu.allocated.capacity.disablethreshold

 

 

cleanup.interval to some value

check secondary storage should get clean up after the threshold value 

 

 

 

 

GP37

UI validation

set some special character to cluster.cpu.allocated.capacity.disablethreshold

GP36

Conflict between zone level parameter and global parameter

 

zone level parameter should be dominating

  should not allow

 

 

 

 

storage.overprovisioning.factor

 

GP38  

Default value  

 

should be equal to GP cluster.cpu.allocated.capacity.disablethreshould.

 

 

 

 

GP37

UI check

try to assign some special character

should not be allowed

 

Fail 

 

 

GP39 GP38

Threshold Default value

set clusterstorage.cpu.allocated.capacity.disablethreshold overprovisioning.factor to some value

cluster should be disabled after threshold value equal to GP storage.overprovisioning.factor

  

Pass

 

couldnt test because secondary storage issue

GP39

Parameter check

 

Should be able to use storage more than what physically available depend on value of parameter

 

Pass

 

 

GP40

Conflict between cluster zone level parameter and global parameter

 

cluster Storage level parameter parameters should be dominating dominate

 

Pass

 

 

 

 

 

cluster.cpu.allocated.capacity.notificationthreshold

 

 

 

 

 

 

 

 

GP41

UI validation

set some special character to cluster.cpu.allocated.capacity.disablethreshold

should not allow

Cluster level parameters

 

 

 

 

  

GP41

GP42

Default value

 

should be equal to GP cluster.cpu.allocated.capacity.disablethreshould.

 

 

 

 

 

GP43

Threshold value

set cluster.cpu.allocated.capacity.disablethreshold to some value

cluster should be disabled after threshold value

 

 

 

 

 

GP44

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

 

 

 

 

DB check

check for  cluster_details table 

for each parameter  there should be an entry in cluster_details table.

 

Pass

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

Fail
Pass

GP42

multiple cluster

1-have multiple cluster in same zone
2-have multiple cluster in different zone
3-make sure clusters are having different value for same  parameter
4-repeat step 1,2,3 for every parameters

depend on parameter

 

1-Passed for cluster.cpu.allocated.capacity.disablethreshold
2-Passed for cluster

 

cluster

.memory.allocated.capacity.disablethreshold

 

 

 

 

 

 

 

GP45

UI validation

set some special character to cluster.memory.allocated.capacity.disablethreshold

should not allow

 

 

 

 

 

GP46

Default value

 

should be equal to GP 3-Passed for "cluster.storage.capacity.notificationthreshold"
4-Passes for
"cluster.cpu.allocated.capacity.disablethreshould

 

 

 

 

 

GP47

Threshold value

set cluster.cpunotificationthreshold"
5-passed for
"cluster.memory.allocated.capacity.disablethreshold to some value

cluster should be disabled after threshold value

 

 

 

 

 

GP48

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

 

 

 

 

 

cluster.memory

notificatonthreshold"
6-passed for
"cluster.storage.allocated.capacity.notificationthreshold"

 

1-Pass
2-Pass
3-Pass
4-Pass
5-Pass
6-Pass

 

 

 

 

 

 

 

GP49

UI validation

set some special character to
cluster.cpu.allocated.capacity.disablethreshold

should not allow  

 

 

 

 

 

GP50 GP43

Default value

 

UI validation

set some special character to should be equal to GP cluster.cpu.allocated.capacity.disablethreshould disablethreshold

 should not allow

 

 

 

 

GP51

Threshold value

Fail

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

Pass

GP44

Default value

 

should be equal to GP cluster.cpu set cluster.memory.allocated.capacity.notificationthreshold to some value notification should be issued after threshold value .disablethreshould.

 

 

 

 

 

Fail

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

Pass

GP45

Threshold value

set cluster.cpu.allocated.capacity.disablethreshold to some value

cluster should be disabled after threshold value

 

Pass

 

Pass

GP46 GP52

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

  

Pass

  

Pass

 

 

Account level parameters
cluster.cpu.allocated.capacity.notificationthreshold

 

 

 

 

 

  

GP47

GP53

API check

check for updateAccountLevelParameters

For each update in account level parameter  api
updateAccountLevelParameters should be called.

 

 

 

 

 

GP54

DB check

check for account_details in DB

there should be an entry for every parameter at account level ion account_details table

 

 

 

 

 

 

allow.public.user.templates

 

 

 

 

 

 

 

UI validation

set some special character to cluster.cpu.allocated.capacity.disablethreshold

should not allow

 

Fail

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

Pass

GP48

Default value

 

should be equal to GP cluster.cpu.allocated.capacity.disablethreshould.

 

Pass

 

Pass

GP49

Threshold value

set cluster.cpu.allocated.capacity.disablethreshold to some value

after threshold value msg " Low  unallocated cpu in cluster  " should be there in alert 

 

Pass

 

Pass

GP50

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

Pass

 

Pass

 

cluster.memory.allocated.capacity.disablethreshold

GP55

UI check

Try to set some special character

should not be allowed

 

 

 

 

 

GP56  

Default value GP51

 

should be equal to GP allow.public.user.templated

 

 

 

 

 

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e1e1e947-169d-4c7d-96f3-bb2bc3debb31"><ac:plain-text-body><![CDATA[

GP57

set allow.public.user.template to [false/true]

set a allow.public.user.templates to
]]></ac:plain-text-body></ac:structured-macro>
1-True
2-False

in 1st case user should be able to create public template
in 2nd case user should not be able to create private template.

 

 

 

 

 

GP58

Conflict between account level parameter and global parameter

 

account level  value should be efective

 

 

 

 

 

 

remote.access.vpn.client.iprange

 

 

 

 

 

 

 

UI validation

set some special character to cluster.memory.allocated.capacity.disablethreshold

should not allow

 

Fail

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

Pass

GP52

Default value

 

should be equal to GP cluster.cpu.allocated.capacity.disablethreshould

 

Fail

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

Pass

GP53

Threshold value

set cluster.cpu.allocated.capacity.disablethreshold to some value

cluster should be disabled after threshold value

 

Pass

 

Pass

GP54

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

Pass

 

Pass

 

cluster.memory.allocated.capacity.notificationthreshold

 

 

 

 

 

 

GP55

UI validation

set some special character to cluster.cpu.allocated.capacity.disablethreshold

should not allow

 

Fail

 

Pass

GP56

Default value

 

should be equal to GP cluster.cpu.allocated.capacity.disablethreshould

 

Fail

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

Pass

GP57

Threhold value

set cluster.memory.allocated.capacity.notificationthreshold to some value

notification should be issued after threshold value

 

Pass

 

Pass

GP58

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be dominating

 

Pass

 

Pass

 

cluster.storage.allocated.capacity.notificationthreshold

 

GP59

UI check

try to set some special character

should not be allowed

 

 

 

 

GP60

default value

 

should be equal to value of GP "remote.access.vpn.client.iprange

 

 

 

 

 

GP61 GP59

UI check range

set remote.access.vpn.client.iprange to some value range

every client in range should be allowed and first ip should be assigned to vpn server

 

 

 

 

 

GP62

Conflict between account level parameter and global parameter

 

account level value should be effective

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 Storage level parameters

 

 

 

 

 

 

 

try to set some special character ,-ive value

should not be allowed

 

Fail

 

Pass

PGP60

Default value

 

should be taken from GP cluster.storage.allocated.capacity.notificationthreshold

 

Pass

 

Pass

GP61

parameter check

set  parameter to some value b/w 0-1

after threshold notification should be sent

 

Pass

 

Pass

GP62

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be effective

 

Pass

 

Pass

 

cluster.storage.capacity.notificationthreshold

 

storage.overprovisioning.factor

 

 

 

 

 

 

 

 GP63

UI check

Try try to set some special character ,-ive value

should not be allowed

 

Fail

 

Pass

GP64

Default value 

  

should be taken from GP cluster.storage.capacity.notificationthreshold

 

 

 

DB check

check  storage_pool_table

check for key ,value pair

 

 

 

 

 

Pass

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

Pass

GP65

parameter check

set parameter to some  value b/w 0-1

after threshold notification should be sent

 

Pass

 

Pass

GP66

Conflict between cluster level parameter and global parameter

 

cluster level parameter should be effective

 

Pass

 

Pass

 

Default value

 

Should be taken from current GP  storage.overprovisioning.factor

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Conflict between storage level parameter and global parameter

 

Storage level parameters should be dominating

Account level parameters

 

 

 

 

 

 

GP67

DB check

check for account_details in DB

there should be an entry for every parameter at account level ion account_details table 

  

Pass

 

  

GP68

 

 

 

Other Global parameters

 

 

 

 

 

 

 

 

allow.public.user.templates

 

 

 

 

 

 

 

 

UI check

try to set some values other than true and false

should be allolwed

 

 

 

 

 

multiple account

1-create multiple account
2-make sure accounts have different value for same parameter
3-repeate step 1,2 for every parameters

Depends parameter

 

Pass

 

1-paas for
"allow.public.user.templates"
2-pass for
"remote.access.vpn.client.iprange"

 

allow.public.user.templates

 

 

DB check

check the table  account_details in db

for each account entry should be there

 

 

 

 

 

 

Conflict between account level parameter and global parameter

 

account level parameter should be effective

 

 

 

 

 

GP69

UI check

Try to set some special character

should not be allowed

 

Fail

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

Pass
https://issues.apache.org/jira/browse/CLOUDSTACK-3897

GP70 

Default value

 

Should should be taken from equal to GP allow.public.user template .templated

  

Fail

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

 

 

 

GP71

set allow.public.user.template to [false/true]

set a allow.public.user.templates to
1-True
2-False

in 1st case user should be able

 

Checking parameter effect

Set value to false

user shouldn't be allowed to create public template
  in 2nd case user should not be able to create private template.

  

Pass

  

Pass

 

Checking parameter effect

Set value to true

user should be allowed to create public template

 

 

 

 

 

GP72

Conflict between account level parameter and global parameter

 

account level  value should be efective

 

Pass

 

Pass

 

remote.access.vpn.client.iprange

 

 capacity.skipcounting.hours

 

 

 

 

 

  

GP73

 

UI validation check

Set try to set some special character

Should should not be allowed

 

 

 

 

 

 

DB check

check  cluster_details table

should be an  entry for each vm

 

Fail

 

Fail

GP74

default value

 

should be equal to value of GP "remote.access.vpn.client.iprange

 

Pass

 

Pass

 GP75

Parameter check range

1-set capacity.skipcounting.hours set remote.access.vpn.client.iprange to some value

1-CS should release cpu and memory after the threshold value
2-Capacity of host should be increased .

 

 

 

 

 

range

every client in range should be allowed and first ip should be assigned to vpn server

 

Pass

 

Pass

GP76

 

Conflict between account level parameter and global parameter global parameter

 

account level value should be effective

 

Fail

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

Pass

 

cluster level parameter should be dominating

 

 

 

 

 

  Default value

 

should be equal to GP capacity.skipcounting.hours

 

 

 

 

https://cwiki.apache.org/confluence/display/CLOUDSTACK/QA+-+4.2+Test+Execution+Results