Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
1-Select a running user VM
2-Click on upgrade SO
Scaling up CPU
1-select a running VM and upgrade SO
2-power of destination host
Pre upgrade Steps
1-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

 

Hypervisor : Xenserver

Abbreviation
CO:compute offering
SO: Service Ofeering

 

 

 

 

 

 

 

 

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

VMware

Comments

1

UI and API

1-Check for upgrade button
2-Select  CO and  Upgrade

1-Upgrade button should be present.
2- Should call scaleVirtualMachine  and return job id


P0

Functional

Y

Pass

1-

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

 

 

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

 

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  

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

 

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

Fail

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

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

 

 

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

 

 

 

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

 

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

 

Fail

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

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

 

 

System VM  CPU/RAM scale up

( 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

 

Fail

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

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

  

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

  

Blocked

 

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

  

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

  

Blocked

 

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

  

Blocked

 

 

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

 

 

 

 

 

 

 

 

 

17

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

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

1- DB should get updated with new compute offering
2-When Vm start it should use  values of new  compute offering
Restart vm should not have any effect on scaling up
3-In case of stop  scaleup scaling up vm should fail

P0

Functional

Y

Pass

 

Pass

 

18  

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

( Need to repeat for SSVM,CPVM,VR )

 

 

 

 

 

 

 

 

 

18

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

1 VM while scaling UP CPU
(Capacity not available on current host but available in current cluster)
1-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM
2-Select a running vm
3-Upgrade SO

1-Scaling up 1-VM should live migrate
2-DB should get updated with new compute offering
3-When Vm start it should use those values of new  compute offering.
4-In case of stop  scaleup vm should fail

P0 P1

Functional

Y

Pass

 

Pass Blocked

 

19   Restart

Scaling up while snapshot creation is in process

 

 

 

 

 

 

 

 

 

19

Scaling up RAM while snapshot creation is in process VM while scaling UP RAM
(Capacity available on current host)

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

1-DB should get updated with new compute offering
2-When Vm start it should use  values of new  compute offering
3-In case of stop  scaleup vm should fail

P0

create snapshot.

scaling up should be successful

P2

Functional Functional

Y

Pass

  

Pass

 

20

Restart VM while scaling UP RAM
(Capacity not available on current host but available in current cluster)

Scaling up CPU while snapshot creation is  in process

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

1-VM should live mirgate
2-DB should get updated with new compute offering
3-When Vm start it should use  values of new  compute offering
4-In case of stop  scaleup vm should fail

P0

Functional

Y

Fail

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

 

 

21

Restart VM while scaling UP CPU and RAM
(Capacity available on current host)

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 . -Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-DB should get updated with new compute offering
2-When Vm start it should use those values of new  compute offering
3-In case of stop  scaleup vm should fail

create snapshot.

scaling up should be successful

P2 P0

Functional

Y

Pass

 

Pass

 

 

22

Restart VM while scaling UP CPU and RAM
(Capacity not available on current host but available in current cluster)

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

1-Vm should live migrate
2-DB should get updated with new compute offering
3-When Vm starte it should use those values of new  compute offering
4-In case of stop  scaleup vm should fail

P0

Functional

Y

Fail

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

 

 

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

 

Restart system vms during operation

( Need to repeat for SSVM,CPVM,VR )

 

 

 

 

 

 

 

 

 

23

Scaling up CPU Restart VM while scaling UP CPU
(Capacity available on current host)

1-Select select a running system  vm
2-VM and upgrade SO
3-Use API to restart VM 2-power of destination host

1-DB should get updated with new compute offering Scaleup should failed
2-When Vm start it should use those values of new  compute offering VM should remain in start state

P1

Functional

Y

blocked

 

Fail

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

Blocked  

 

24

Restart VM while scaling UP CPU
(Capacity not available on current host but available in current cluster)
up CPU

1-select a running VM and 1-Select a running system  vm
2- upgrade SO
3-Use API to restart VM 2-Issue service network stop on target host

1-VM should  migrate Scaleup should failed
2-DB should get updated with new compute offering
3-When Vm start it should use those values of new  compute offering.

P1

Functional

Y

blocked

 

VM should remain in start state

P1

Functional

Y

Fail

 

Blocked  

 

25

Restart VM while scaling UP RAM
(Capacity available on current host) up RAM

1-Select select a running system  vm
2-VM and upgrade SO
3-Use API to restart VM 2-power off destination host

1-DB should get updated with new compute offering Scaleup should failed
2-When Vm start it should use those values of new  compute offering. VM should remain in start state

P1

Functional

Y

blocked Fail

  

Blocked

 

26

Restart VM while scaling UP up RAM (Capacity not available on current host but available in current cluster)

1-Select select a running system  vm
2-VM and upgrade SO
3-Use API to restart VM 2-Issue service network stop on target host

1-VM should  migrate Scaleup should failed
2-DB should get updated with new compute offering
3-When Vm start it should use those values of new  compute offering VM should remain in start state

P1

Functional

Y

blocked Fail

  

Blocked

 

27

Restart VM while scaling UP up CPU and RAM
(Capacity available on current host) and  RAM

1-Select select a running system  vm
2-VM and upgrade SO
3-Use API to restart VM 2-power off target host

1-DB should get updated with new compute offering Scaleup should failed
2-When Vm start it should use those values of new  compute offering VM should remain in start state

P1

Functional

Y

blocked Fail

  

Blocked

 

28

Restart VM while scaling UP up CPU and and  RAM (Capacity not available on current host but available in current cluster)

1-Select select a running system  vm VM and upgrade SO
2-upgrade SO
3-Use API to restart VM Issue service network stop on target host

1-VM Scaleup should migrate failed
2-DB should get updated with new compute offering
3-When Vm start it should use  values of new  compute offering VM should remain in start state

P1

Functional

Y

blocked Fail

 

Blocked

 

 

 

Scaling up while snapshot creation is in process

 

 

 

 

 

 

 

 

 

Scale Down

 

29

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

 

 

 

29 30

Scaling up CPU while snapshot creation is  in process Scale down CPU and Memory

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

scaling up should be successful

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

should get a message  "scale down not supported"

P1 P2

Functional

Y

Pass

 

 

 

31

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

 

 

 

Fail

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

Fail

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

 

UPGRADE

 

 

 

Guest OS Support

 

 

 

 

 

 

  

30

 

32

Guest OS does not support scaling up

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)

 

 

 

 

 

 

 

 

 

33

upgrade path

Pre upgrade Steps

1-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

P1

Upgrade

N

 

 

 

 

 

Other

 

 

 

 

 

 

 

 

 

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

 

 

Dashboard

 

 

 

 

 

 

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

P1

Functional

Y

Fail

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

 

 

34

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

 

 

 

35

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

 

 

 

36 32

scaling scale up cpu /RAM

1-select Change CO of 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

 

 

 

37

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

 

 

 

38

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

 

 

 

 

 

 

 

 

 

 

 

 

 


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

 

Functional

N

Pass

 

Pass

 

 

 

 

 

 

 

 

 

 

 

 

33

Usage Event

 

Waiting for FS  update

 

 

Scale Down

 

 

 

 

 

 

 

 

 

39

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

Fail

 

 

UPGRADE

 

 

 

 

 

 

 

 

 

40

upgrade path

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

 

 

 

 

 

Other

 

 

Race condition

 

 

 

 

 

 

 

 

 

34

update to many vms on same host

Update  too many(5-10) vms on same host

vm should get updated without error-exception

41

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

 

 

Dashboard
Manage-Unmanage/Disable-Enable

 

 

 

 

 

 

 

 

 

35

Manage-Unmanage cluster

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

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

42

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

Y N


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

43

Usage Event

 

Waiting for FS  update

 

  

Attach-Detach Volume

 

 

 

 

 

Race condition

 

 

 

 

 

 

 

 

 

37

Attach-Detach volumes

1-deploy vm
2-scale up cpu-Ram
3-Attach volume
4-detach volume

all operation should go smoothly

44

update to many vms on same host

Update  too many(5-10) vms on same host

vm should get updated without error-exception

 

Functional

Y

Pass

 

Pass

 

 

Manage-Unmanage/Disable-Enable
VM Life cycle

 

 

 

 

 

 

 

 

 

45 38

Manage stop-Unmanage cluster start

1-Scaleup vm (cpu and RAM) scale up cpu/ram
2-Managestop-unmanage start vm

1-step 2 should not have any effect on step 1 vm should be using scaled  up service offering

 

Functional

Y

Pass

 

Pass

 

39

Reboot

46

Disable-Enable cluster/pod/zone

1-Scaleup vm scale up cpu/ram
2-Disable-enable cluster/pod/zone stop-start vm

1-step 2 should not have any effect on step 1 vm should be using scaled  up service offering

 

Functional

Y

Pass

 

Pass

 

 

Attach-Detach Volume

 

 

 

 

 

 

 

 

 

40

expunge and restore and start

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

1-vm should be using scaled  up service offering

47

Attach-Detach volumes

1-deploy vm
2-scale up cpu-Ram
3-Attach volume
4-detach volume

all operation should go smoothly

 

Functional

Y

Pass

 

Pass

 

 

VM
Life cycle
Global Settings

 

 

 

 

 

 

 

 

 

48

stop-start

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

1-vm should be using scaled  up service offering

 

Functional

Y

Pass

 

Pass

 

49

Reboot

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

1-vm should be using scaled  up service offering

 

Functional

Y

Pass

 

Pass

 

50

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

 

 

Global Settings

 

 

 

 

 

 

 

 

 

51

cluster.cpu.allocated.capacity.disablethreshold

 

should not be allowed to scale up cpu beyond cpu threshold

 

 

 

hold

Global parameter is in dev process

 

 

41

cluster.cpu.allocated.capacity.disablethreshold

 

should not be allowed to scale up cpu beyond cpu threshold

 

 

 

hold

Global parameter is in dev process

 

 

42

cluster.memery.allocated.capacity.desablethreshould

 

scaleup should not be allowed after memory threshold

 

Function

Y

hold

Global parameter is in dev process

 

 

 

 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

 

 

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

52

cluster.memery.allocated.capacity.desablethreshould

 

scaleup should not be allowed after memory threshold

 

Function

Y

hold

Global parameter is in dev process

 

 

 

 Vcpus

 

 

 

 

 

 

 

 

 

 

45 53

Vcpus

Scaleup number of vcpus

only scaling up number of vcpus should be allowed

 

Function

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 Y

Fail

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

 

 

 

Memory actual

 

 

 

 

 

 

 

  

46
54

Gust OS

memory-actual

after scaling up check memery actual of vms

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 1-For system vms and user vms memory actual should get changed to new values

 

Functional

Y

Pass

 

Fail

https://issues.apache.org/jira/browse/CLOUDSTACK-2454-2990#comment-13682213

47

Guest OS (window-8)

Scale up a windows 8 vm

memory and ram should get registered

 

Functoinal

Y

--

 

Pass