Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering)

 

Hypervisor : Xenserver

Abbreviation
CO:compute offering
SO: Service Ofeering

 

 

 

 

 

 

  Supported only For VMware

 

 

 

 

 

Test Case ID

Test Case Name

Steps

Expected Results

Priority
(P0|P1|P2)

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

Automatable(Y/N)

Xenserver
(Pass|Fail)

Comments

2nd Cycle

VMware

Comments

2nd Cycle

1

UI and API

1-Login through UI
2-Check for upgrade button
3-Click on Upgrade button 2-Select  CO and  Upgrade

1-Upgrade button should be present.
2- Should call scaleVirtualMachine with parameter type asynch

 

scaleVirtualMachine  and return job id

P0

Functional 

Y

2

Scaling up CPU Pass

1- Login through UI
2-Click on upgrade
3- Required resources are available on current host 

1- CS should upgrade VM with SO.

P0

Functional

Y

3

Scaling up CPU

1-Login through UI
2-click on upgrade 
3-Required Resources not available on host
4-Resource available in same cluster

1-Vm should migrate(live) to another host
    which is having available resources
2- SO should get upgraded

P0

Functional

Y

4

Scaling up CPU

1-login through UI
2-click on upgrade SO
3-Required resources are not available on current host
and also no available in current cluster

1-CS should not upgrade VM with SO.

P0

Functional

Y

5

Scaling up RAM

1-Login through UI
2-Click upgrade SO
3-Requested resources are available on current host

1-CS should upgrade VM with SO.

P0

Functional

Y

6

Scaling up RAM

1-Login through UI
2-Click on upgrade SO
3-Required resources are not available on current host
but available in current cluster

1-Vm should migrate(live) to another hos
    which is having available resources
2- SO should get upgraded

P0

Functional

Y

7

Scaling up RAM

1-login through UI
2-Click on upgrade SO
3-Required Resources not available on current host
  and also not available in current cluster

1-CS should not upgrade VM with SO.

P0

Functional

Y

8

Scaling up CPU and RAM

1-Login through UI
2-click on upgrade SO
3- Required resources are availableon host available

1- CS should upgrade VM with SO.

P0

Functional

Y

9

Scaling up CPU and RAM

1-login through UI
2-click on upgrade SO
3-Required Resources not available on host
4-Resource available in same cluster

1-Vm should migrate(live) to another hos
    which is having available resources
2- SO should get upgrade

P0

Functional

Y

10

Scaling up CPU and RAM

-Login through UI
2-click on upgrade SO
3-Required Resources not available on host
4-Resource not available in same cluster

1-CS should not upgrade VM with SO.

P0

Functional

Y



https://issues.apache.org/jira/browse/CLOUDSTACK-1982
2-
https://issues.apache.org/jira/browse/CLOUDSTACK-2111

4-
https://issues.apache.org/jira/browse/CLOUDSTACK-2113
5-
https://issues.apache.org/jira/browse/CLOUDSTACK-2114
6-

https://issues.apache.org/jira/browse/CLOUDSTACK-2148
7-
https://issues.apache.org/jira/browse/CLOUDSTACK-2449
8-
https://issues.apache.org/jira/browse/CLOUDSTACK-2451

Pass

Pass

 

https://issues.apache.org/jira/browse/CLOUDSTACK-3713
https://issues.apache.org/jira/browse/CLOUDSTACK-4036
https://issues.apache.org/jira/browse/CLOUDSTACK-4068

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User VM  CPU/ RAM scale up

 

 

 

 

 

 

 

 

 

 

 

2

Scaling up CPU
(Capacity available on current host)

1-Select a running user vm
2-upgrade SO

1- SO upgrade should be successful
2-VM should get weight on xen according to new service offering

P0

Functional

Y

Passed with workaround

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

Pass

Pass

 

Pass

3

Scaling up CPU
(Capacity not available on current host but available in current cluster)

1-Select a running user vm
2-upgrade SO

1-Vm should migrate(live) to another host (having Capacity).
2- SO upgrade should be successful
3-VM should get weight on xen according to new service offering

P0

Functional

Y

Pass

 

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2985
as per Nitin comment above will get solved if https://issues.apache.org/jira/browse/CLOUDSTACK-1809 will  be solved

Fail

4

Scaling up CPU
(Capacity not available in current cluster)

1-Select a running user vm
2-upgrade SO

1-SO upgrade should fail.

P0

Functional

Y

Pass

 

Pass

Pass

 

Pass

5

Scaling up RAM
(Capacity available on current host)

1-Select a running user vm
2-upgrade SO

1-SO upgrade should be successful

P0

Functional

Y

Pass

 

Pass

pass

 

Pass(boundary condition)

http://bugs-ccp.citrix.com/browse/CS-18112

6

Scaling up RAM
(Capacity not available on current host but available in current cluster)

1-Select a running user vm
2-upgrade SO

1-Vm should migrate(live) to another host (having Capacity).
2- SO upgrade should be successful

P0

Functional

Y

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2107
https://issues.apache.org/jira/browse/CLOUDSTACK-3847

Pass

 Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2985
as per Nitin comment above will get solved if https://issues.apache.org/jira/browse/CLOUDSTACK-1809 will  be solved

Fail

 

 

 

 

 

 

 

 

 

 

 

 

 

7

Scaling up RAM
(Capacity not available in current cluster)

1-Select a running user vm
2-upgrade SO

1-SO upgrade should fail..

P0

Functional

Y

Pass

 

Pass

Pass

 

Pass

8

Scaling up CPU and RAM
(Capacity available on current host)

1-Select a running user vm
2-upgrade SO

1- SO upgrade should be successful

P0

Functional

Y

Pass

 

Pass

pass
for less than 2 GB MEM

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

Pass

 

Pass

9

Scaling up CPU and RAM
(Capacity not available on current host but available in current cluster)

1-Select a running user vm
2-upgrade SO

1-Vm should migrate(live) to another host (having Capacity).
2- SO upgrade should be successful

P0

Function

Y

Fail

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

Pass

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2985
as per Nitin comment above will get solved if https://issues.apache.org/jira/browse/CLOUDSTACK-1809 will  be solved

Fail

10

Scaling up CPU and RAM
(Capacity not available in current cluster)

1-Select a running user vm
2-upgrade SO

1-SO upgrade should fail..

P0

Functional

Y

Pass

 

Pass

Pass

 

Pass

 

System VM  CPU/RAM scale up

(Not supported in XEN)

( Need to repeat  for SSVM,CPVM,VR)

 

 

 

 

 

 

 

 

 

 

 

11

Scaling up CPU
(Capacity available on current host)

1-Select a running system  vm
2-upgrade SO

1- SO upgrade should be successful

P0

Functional

Y

Pass

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

N/A

Fail

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

Pass

12

Scaling up CPU
(Capacity not available on current host but available in current cluster)

1-Select a running system  vm
2-upgrade SO

1-Vm should migrate(live) to another host (having Capacity).
2- SO upgrade should be successful

P1

Functional

Y

blocked

 

N/A

Blocked

 

 

13

Scaling up RAM
(Capacity available on current host)

1-Select a running system  vm
2-upgrade SO

1- SO upgrade should be successful

P0

Functional

Y

Pass

 

N/A

Blocked

 

Pass

14

Scaling up RAM
(Capacity not available on current host but available in current cluster)

1-Select a running system  vm
2-upgrade SO

1-Vm should migrate(live) to another host (having Capacity).
2- SO upgrade should be successful

P1

Functional

Y

blocked

 

N/A

Blocked

 

 

15

Scaling up CPU and RAM
(Capacity available on current host)

1-Select a running system  vm
2-upgrade SO

1- SO upgrade should be successful

P0

Functional

Y

Pass

 

N/A

Blocked

 

pass

16

Scaling up CPU and RAM
(Capacity not available on current host but available in current cluster)

1-Select a running system  vm
2-upgrade SO

1-Vm should migrate(live) to another host (having Capacity).
2- SO upgrade should be successful

P1

Functional

Y

blocked

 

N/A

Blocked

 

 

 

  Scale up vm while  Restart/power off  VM is in process

 

 

 

 

 

 

 

 

 

 

 

17

1-Restart/stop VM  
2-scaleup CPU and RAM
(Capacity available on current host)

1-Use API to restart/stop VM
2-Select a running vm
3-Upgrade SO
 

1- Restart vm should not have any effect on scaling up
3-In case of stop  scaling up vm should fail

P0

Functional

Y

Pass

 

 

Pass

 

 

 

Scale up system vm while  Restart/power off  VM is in process

(not supported in xen)

( Need to repeat for SSVM,CPVM,VR )

 

 

 

 

 

 

 

 

 

 

 

18

1-Restart/stop VM  
2-scaleup CPU and RAM
(Capacity available on current host)

1-Use API to restart/stop VM
2-Select a running vm
3-Upgrade SO

1-Scaling up vm should fail

P1

Functional

Y

Pass

 

 

pass

 

 

 

Scaling up while snapshot creation is in process

 

 

 

 

 

 

 

 

 

 

 

19

Scaling up RAM while snapshot creation is in process

1-Select a running system  vm.
2-upgrade SO .
3-Use API to create snapshot.

scaling up should be successful

P2

Functional

Y

Pass

 

 

Pass

 

 

20

Scaling up CPU while snapshot creation is  in process

1-Select a running system  vm.
2-upgrade SO .
3-Use API to create snapshot.

scaling up should be successful

P2

Functional

Y

Pass

 

 

Pass

 

 

21

Scaling up CPU and RAM while snapshot creation is in process

1-Select a running system  vm.
2-upgrade SO .
3-Use API to create snapshot.

scaling up should be successful

P2

Functional

Y

Pass

 

 

Pass

 

 

 

Guest OS Support

 

 

 

 

 

 

 

 

 

 

 

22

Guest OS does not support scaling up

1-Select a running user VM
2-Click on upgrade SO

Should throw  "not supported exception"

P3

Functional

Y

 

 

 

 

 

 

 

CS behavior when migration fails while scaling up CPU/RAM

(power off /service network stop , Destination host)

 

 

 

 

 

 

 

 

 

 

 

23

Scaling up CPU

1-select a running VM and upgrade SO
2-power of destination host

1-Scaleup should failed
2-VM should remain in start state

P1

Functional

Y

Fail

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

 

Blocked

 

 

24

scaling up CPU

1-select a running VM and upgrade SO
2-Issue service network stop on target host

1-Scaleup should failed
2-VM should remain in start state

P1

Functional

Y

Fail

 

 

Blocked

 

 

25

scaling up RAM

1-select a running VM and upgrade SO
2-power off destination host

1-Scaleup should failed
2-VM should remain in start state

P1

Functional

Y

Fail

 

 

Blocked

 

 

26

scaling up RAM

1-select a running VM and upgrade SO
2-Issue service network stop on target host

1-Scaleup should failed
2-VM should remain in start state

P1

Functional

Y

Fail

 

 

Blocked

 

 

27

scaling up CPU and  RAM

1-select a running VM and upgrade SO
2-power off target host

1-Scaleup should failed
2-VM should remain in start state

P1

Functional

Y

Fail

 

 

Blocked

 

 

28

scaling up CPU and  RAM

1-select a running VM and upgrade SO
2-Issue service network stop on target host

1-Scaleup should failed
2-VM should remain in start state

P1

Functional

Y

Fail

 

 

Blocked

 

 

 

 

 

 

 

 

 

 

 

System VM scale up

( Need to test for each of them SSVM,CPVM,VR)

 

 

 

 

 

 

Scaling up CPU

1-Loginm through UI
2-Click upgrade SO
3-Requirde Resource are  available on host

SO should get upgrade

P0

Functional

Y

 

Scaling up CPU

1-Loginm through UI
2-Click upgrade SO
3-Required Resource are  not available on host but in cluster

1-System VM should get upgrade

P0

Functional

Y

Scale Down

 

 

 

 

 

 

 

 

 

 

 

29

Scale down CPU and Memory

1- Upgrade vm with  CO(=Compute offering)  have less  RAM and CPU than current CO

should get a message  "scale down not supported"

P1

Functional

Y

Fail

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

Pass

Fail

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

Pass

 

UPGRADE

 

Scaling up CPU

1-Loginm through UI
2-Click upgrade SO
3-Required Resource are  not available on current host and not in current cluster.

1-System VM

 

 

 

 

Scaling up RAM

 

  1-Loginm through UI
2-Click upgrade SO
3-Requirde Resource are  available on host

 

 

 

 

  Scaling up RAM

30

upgrade path

Pre upgrade Steps

1-Loginm through UI Deploy some vms
2-Click upgrade SO Create some snapshots
3-Required Resource are  not available on host but in cluster

 

 

 

 

 

Scaling up RAM

1-Loginm through UI
2-Click upgrade SO
3-Required Resource are  not available on current host and not in current cluster

 

 

 

 

 

Scaling up CPU and RAM

1-Loginm through UI
2-Click upgrade SO
3-Requirde Resource are  available on host

 

 

 

 

 

Scaling up CPU and RAM

-Loginm through UI
2-Click upgrade SO
3-Required Resource are  not available on host but in cluster

 

 

 

 

 

Scaling up CPU and RAM

1-Loginm through UI
2-Click upgrade SO
3-Required Resource are  not available on current host and not in current cluster.

 

 

 

 

create some compute offerings

FOLLOW UPGRADE STEPS DEFINE IN RELEASE DOC

Post upgrade steps

4-upgrade existing vms with compute offering (before upgrade)
5-Deploy a vm and Create new compute offering
6-upgrade existing vms with compute offering (created after upgrade)
7-Upgrade  new vm  using olde compute offering
8-upgrade new vm using new compute offering
(REPEAT FOR EACH SSVM,CPVM,VR,RVR)
9-upgeade ssvm with old offering
10-upgrade ssvm with new compute offering

1-upgrade should go properly
2-step 4 should fail
3-step 5 should be successful
4-step 6 should fail
5-step 7 should be successful
6-step 8 should be successful
7-step 9 should be successful
8-step 10 should be successful

P1

Upgrade

N

 

 

Pass

 

 

Pass

 

Other

 

 

 

 

 

 

 

 

 Restart/power off  VM during operation

 

 

 

 

 

11

Restart VM while scaling UP CPU

1-Login through UI
2-click on upgrade SO
3-Use API to restart VM
4- Required resources are available on current host .

P1

Functional

Y

 

Restart VM while scaling UP CPU

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are available in cluster.

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering)

 

Functional

 

 

Restart VM while scaling UP CPU

1-Login through UI
2-click on upgrade SO
3-Use API to restart VM
3-Required resources are not available on current host
  and not  available in current  cluster

1-Should not get upgraded

 

Functional

 

12

Restart VM while scaling UP RAM

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4- Required resources are not available on current host
but available in same cluster

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering)

P1

Functional

Y

31

Change SO of a stop VM

1-Scale up vm
1-Stop the vm
2-Change SO

step 2 should be successful 

 

Functional

Y

Pass

 

Pass

Pass

fail
https://issues.apache.org/jira/browse/CLOUDSTACK-3703
https://issues.apache.org/jira/browse/CLOUDSTACK-3712

Pass

 

Dashboard

 

 

 

 

 

 

 

 

 

 

 

32

scale up cpu /RAM

1-Change CO of a running VM

Dashboard should display new used and free value of CPU and RAM according to CO values.

 

Functional

N

Pass

 

Pass

Pass

 

Pass

 

 

 

 

 

 

 

 

 

 

 

 

 

33

Usage Event

 

Waiting for FS  update

 

 

 

--

 

Pass

Fail
https://issues.apache.org/jira/browse/CLOUDSTACK-3848

 

Restart VM while scaling UP RAM

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are available in cluster.

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering)

 

 

 

 

Restart VM while scaling UP RAM

1-Login through UI
2-click on upgrade SO
3-Use API to restart VM
3-Required resources are not available on current host
  and not  available in current  cluster

Race condition

 

 

 

 

 

  1-Should not get upgraded

 

 

 

 

Restart VM while scaling UP CPU and RAM

1-Login through UI
2-click on upgrade SO
3-Use API to restart VM
4- Required resources are available on current host .

 

34

update some vms on same host

Update (5-10) vms on same host

vm should get updated without error-exception

 

Functional

Y

Pass

 

 

Pass

 

 

 

Manage-Unmanage/Disable-Enable

 

 

 

 

 

 

 

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering

 

 

 

 

Restart VM while scaling UP CPU and RAM

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are available in cluster.

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering

 

 

 

 

Restart VM while scaling UP CPU and RAM

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are not available in cluster.

1-Should not get upgraded

 

 

 

 

Restart/power off system vms during operation

( Need to test for each of them SSVM,CPVM,VR,RVR

 

 

 

 

 

35

Manage-Unmanage cluster

1-Scaleup vm (cpu and RAM)
2-Manage-unmanage

1-step 2 should not have any effect on step 1

 

Functional

Y


Pass

 

Pass

Pass

 

Pass

36

Disable-Enable cluster/pod/zone

1-Scaleup vm
2-Disable-enable cluster/pod/zone

1-step 2 should not have any effect on step 1

 

Functional

Y

Pass

 

Pass

Pass

 

Pass

 

Attach-Detach Volume

 

 

 

 

 

 

 

 

Restart VM while scaling UP CPU

1-Login through UI
2-click on upgrade SO
3-Use API to restart VM
4- Required resources are available on current host .

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering)

 

 

 

  Restart VM while scaling UP CPU

37

Attach-Detach volumes

1-Login through UI deploy vm
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are available in cluster. 1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering) -scale up cpu-Ram
3-Attach volume
4-detach volume

all operation should go smoothly

 

Functional

Y

Pass

 

Pass

Pass

 

Pass

 

VM Life cycle

 

 

 

 

Restart VM while scaling UP CPU

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are not available in cluster.

1-Should not get upgraded  

 

 

 

 

Restart VM while scaling UP RAM

1-Login through UI
2-click on upgrade SO
3-Use API to restart VM
4- Required resources are available on current host .

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering)

 

 

 

 

Restart VM while scaling UP RAM

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are available in cluster.

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering)

 

 

 

 

Restart VM while scaling UP RAM

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are not available in cluster.

1-Should not get upgraded

 

 

 

 

 

38

stop-start

1-scale up cpu/ram
2-stop-start vm

1-vm should be using scaled  up service offering

 

Functional

Y

Pass

 

Pass

Pass

 

Pass

39

Reboot

1-scale up cpu/ram
2-stop-start vm

1-vm should be using scaled  up service offering

 

Functional

Y

Pass

 

Pass

Pass

 

Pass

40

expunge and restore and start

1-scale up cpu/ram
2-stop-start vm

1-vm should be using scaled  up service offering

 

Functional

Y

Pass

 

Pass

Pass

 

Pass

 

Global Settings

 

 

 

 

 

 

 

 

Restart VM while scaling UP CPU and RAM

1-Login through UI
2-click on upgrade SO
3-Use API to restart VM
4- Required resources are available on current host .

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering)

 

 

 

 

Restart VM while scaling UP CPU and RAM

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are available in cluster.

1-DB should get updated with new compute offering
2-When Vm started it should use those values(new  compute offering)

41

cluster.cpu.allocated.capacity.disablethreshold

 

should not be allowed to scale up cpu beyond cpu threshold

 

 

 

hold

Global parameter is in dev process

Fail
https://issues.apache.org/jira/browse/CLOUDSTACK-3664 

 

 

 

Restart VM while scaling UP CPU and RAM

1-Login through UI
2-Click on upgrade SO
3-Use API to restart VM
4-Required Resources  are not available on current host
 5-required resources are not available in cluster.

1-Should not get upgraded

42

cluster.memery.allocated.capacity.desablethreshould

 

scaleup should not be allowed beyond memory threshold

 

Function

Y

hold

Global parameter is in dev process

Fail
https://issues.apache.org/jira/browse/CLOUDSTACK-3664

 

 

 

 

Snapshot creation while scaling up

 

 

 

 

 

17

snapshot creation while scaling up RAM

1-Login through UI
2-click on upgrade SO
3-click create snapshot
4- Required Resources on host available

snapshot creation should fail

P2

Functional

Y

18

snapshot creation while scaling up RAM

1-login through UI
2-click on upgrade SO
3-Click create snapshot
3-Required Resources not available on host
4-Resource available in same cluster

snapshot creation should fail

P2

Functional

Y

19

snapshot creation while scaling up CPU

1-Login through UI
2-click on upgrade SO
3-click create snapshot
4- Required Resources on host available

snapshot creation should fail

P2

Functional

Y

20

snapshot creation while scaling up CPU

1-Login through UI
2-click on upgrade SO
3-click create snapshot
4- Required Resources not available on host
5-Required resource are available within same cluster

snapshot creation should fail

P2

Functional

Y

21

snapshot creation while scaling up RAM and CPU

1-Login through UI
2-click on upgrade SO
3-click create snapshot
4- Required Resources on host available

snapshot creation should fail

P2

Functional

Y

22

snapshot creation while scaling up RAM and CPU

1-login through UI
2-click on upgrade SO
3-Click create snapshot
3-Required Resources not available on host
4-Resource available in same cluster

snapshot creation should fail

P2

Functional

Y

 

Guest OS Support

 

 

 

 

 

23

Guest OS does not support scaling up

1-Login through UI
2-click on upgrade SO
3-click create snapshot
4- Required Resources on host available

Should through a not supported exception

 

Functional

Y

 Vcpus

 

 

 

 

 

 

 

 

 

 

 

43

Vcpus

Scaleup number of vcpus

only scaling up number of vcpus should be allowed

 

Function

Y

Fail

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

Pass

Pass

 

Pass

 

Memory actual

 

 

 

 

 

 

 

 

 

 

 

44

memory-actual

after scaling up check memery actual of vms

1-For system vms and user vms memory actual should get changed to new values

 

Functional

Y

Fail

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

 

N/A

 

N/A

 

 

 

 

 

 

 

 

 

 

 

 

 

45

CPU cap

scale up vm to a SO which have cpu cap enabled

cpu limit should be set for vm

 

Functional

 

Fail

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

Pass

Fail

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

Pass

 

 

Migration Fails

(power off /service network stop  Destination host)

 

 

 

 

 

25

Scaling up CPU

1-in case no resources are available on current host, live migration to next host
2-issue Network down command .

1-CS should try N times
2-If unsuccessful throw exception

P1

Functional

Y

 

scaling up CPU

1-in case no resources are available on current host, live migration to next host
2-Power off the destination host.

1-CS should try N times
2-If unsuccessful throw exception

 

 

 

26

scaling up RAM

1-in case no resources are available on current host, live migration to next host
2-Power off the destination host.

1-CS should try N times
2-If unsuccessful throw exception

P1

Functional

N

 

 

 

 

 

 

 

46

Gust OS

1-Scale up a vm form small to medium instance
2-run cat /proc/meminfo and check for memory and cpu inside the guest os

vm should have 1 GB memory and 1GHz CPU

 

Functional

Y

Pass

 

Pass

Fail

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

Pass

47

Guest OS (window-8)

Scale up a windows 8 vm

memory and ram should get registered

 

Functional

Y

--

 

 

Pass

 

scaling up RAM

1-in case no resources are available on current host, live migration to next host
2-Power off the destination host.

1-CS should try N times
2-If unsuccessful throw exception

 

 

 

27

scaling up CPU and  RAM

1-in case no resources are available on current host, live migration to next host
2-issue Network down command  on destination host.

1-CS should try N times
2-If unsuccessful throw exception

P1

Functional

Y

 

scaling up CPU and  RAM

1-in case no resources are available on current host, live migration to next host
2-issue Network down command  on destination host.

1-CS should try N times
2-If unsuccessful throw exception

 

 

 

 

Scale Down

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

48

Global parameter

1-set GP "enable.dynamic.scale.vm" to false
2-try to scaleup a vm
3-set GP "enable.dyanmic.scale.vm"
to true
4-Try to scaleup vm

1-step two should failed
2-step 4 should be successful

 

Functional

Y

--

 

Pass

 

 

Pass

 

Memory Hot Add on VMware

 

 

28

Scale down CPU and Memory

1- Upgrade vm with  CO(=Compute offering)  have less  RAM and CPU than current CO

should get a message  "scale down not supported"

P1

 

 

 

UPGRADE

 

 

 

 

 

29  

49

 

upgrade path

Pre upgrade Steps

1- deploy a vm with a SO having memory = 1GB
2-Scaleup vm to SO 4 GB

For xen server
mas limit will be static max for vm
->scaling up is not permitted beyond this limit

should fail since max limit is 3 GB

 

Functional

 

 

 

 

Pass

 

Pass

50

 

1- deploy a vm with a SO having memory = 1GB
2-Scaleup vm to SO 3 GB

scaleup should be successful

 

Functional

 

 

 

 

Pass

 

Pass

 

 

 

 

 Deploy some vms
2-Create some snapshots
3-create some compute offerings
FOLLOW UPGRADE STEPS DEFINE IN RELEASE DOC
Post upgrade steps
4-upgrade existing vms with compute offering (before upgrade)
5-Deploy a vm and Create new compute offering
6-upgrade existing vms with compute offering (created after upgrade)
7-Upgrade  new vm  using olde compute offering
8-upgrade new vm using new compute offering
(REPEAT FOR EACH SSVM,CPVM,VR,RVR)
9-upgeade ssvm with old offering
10-upgrade ssvm with new compute offering
1-upgrade should go properly
2-step 4 should fail
3-step 5 should be successful
4-step 6 should fail
5-step 7 should be successful
6-step 8 should be successful
7-step 9 should be successful
8-step 10 should be successful

 

 

 

 

 

 

 

 

51

VM property "isdyanmicallyscalable"

1-set isdynamicallyscalable to false
2-try to sale up vm

step 2 should be fail

 

Fuantional

--

--

 

31

Usage Event

1-Waiting for FS upgrade

 

 

 

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