Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

This test plan is done for KVM hypervisor, once the support for other hypervisors are available, this doc will be enhanced as applicable
Most of the testing will done on NFS primary storage pool
Basic sanity tests will be run on ISCSI primary storage pool
Ceph??

...

sl. No.

...

Test case ID

...

Test case description

...

1

...

zwps_create_zone_add_storage

...

add zone scoped primary storage while creating zone

...

2

...

zwps_create_primary_existing_zone_cluster

...

add zone scoped primary storage to an existing zone which already has cluster scoped primary storage

...

3

...

zwps_create_primary_existing_zone_local

...

add zone scoped primary storage to an existing zone which already has local(host scoped) primary storage

...

4

...

zwps_co_existence_cluster_zone_host

...

deploy a VM in a zone where cluster wide, zone wide and local primary storages are available

...

5

...

zwps_only_zone_wide_primary

...

deploy a VM in a zone where only one zone wide storage is available

...

6

...

zwps_multi_zone_wide_primary

...

deploy a VM in a zone where multiple zone wide storage is available

...

7

...

zwps_KVM

...

In a zone with KVM cluster with zone wide primary storage and cluster wide primary storage, deploy a VM

...

8

...

zwps_vol_ops_create

...

In a zone with zone wide primary storage, create a data volume.

...

9

...

zwps_vol_ops_attach

...

In a zone with zone wide primary storage, create a data volume and attach it to a VM with root volume on cluster wide primary storage

...

-

...

10

...

zwps_vol_ops_detach

...

In a zone with zone wide primary storage, create a data volume and attach it to a VM with root volume on cluster wide primary storage and then detach

...

-

...

11

...

zwps_vol_ops_reattach

...

In a zone with zone wide primary storage, create a data volume and attach it to a VM with root volume on cluster wide primary storage , detach and reattach to the same VM

...

-

...

12

...

zwps_vol_ops_reattach_diff_cluster

...

In a zone with zone wide primary storage, create a data volume and attach it to a VM with root volume on cluster wide primary storage , detach and reattach to a VM in different cluster.

...

-

...

13

...

zwps_vol_ops_delete

...

In a zone with zone wide primary storage, create a data volume and attach it to a VM with root volume on cluster wide primary storage , detach and reattach to a VM in different cluster. Finally detach and delete the volume

...

-

...

14

...

zwps_vol_ops_create_snap

...

In a zone with zone wide primary storage, create a data volume and attach it to a VM with root volume on cluster wide primary storage and create a snapshot

...

-

...

15

...

zwps_vol_ops_restore_snap

...

In a zone with zone wide primary storage, create a data volume and attach it to a VM with root volume on cluster wide primary storage and create few snapshots. Restore to the second snapshot and check the contents

...

-

...

16

...

zwps_tags

...

Have cluster wide, zone wide and local storage, add tags to them and create disk offerings with these tags and use the tagged disk offerings to create volumes

...

-

...

17

...

zwps_upgrade_db

...

upgrade a management server (with all local and shared storage) with a build which doesn't support zone wide primary storage to a build which supports zone wide primary storage and check the DB entries in "storage_pool" table, 'scope' field should be 'NULL' after upgrade

...

-

...

18

...

zwps_upgrade_add_zone_wide_primary

...

upgrade a management server (with all local and shared storage) with a build which doesn't support zone wide primary storage to a build which supports zone wide primary storage and add zone wide primary storage.

...

-

...

19

...

zwps_create_primary_API

...

check the newly added parameter 'scope' to create primary API

...

-

...

20

...

zwps_list_primary_API

...

check the newly added parameter 'scope' to list primary storage API

...

-

...

21

...

zwps_vm_life_cycle

...

check VM deploy,start,stop,destroy,recover,restore while zone wide primary storage is used

...

-

...

22

...

zwps_UI_create_storage

...

check UI flow to add zone wide primary storage to a zone

...

-

...

23

...

zwps_vol_ops_migrate_zone2clus

...

Migrate a data volume from zone wide primary to cluster wide primary storage

...

-

...

24

...

zwps_vol_ops_migrate_clus2zone

...

Migrate a data volume from cluster wide primary to zone wide primary storage

...

-

...

25

...

zwps_vol_ops_migrate_zone2zone

...

Migrate a data volume from one zone wide primary to another zone wide primary

...

-

...

26

...

zwps_vol_ops_migrate_zone2local

...

Migrate a data volume from one zone wide primary to local primary

...

-

Associated bug id : https://issues.apache.org/jira/browse/CLOUDSTACK-724
FS: https://cwiki.apache.org/CLOUDSTACK/zone-wide-primary-storage-target.html

ZoneWidePrimaryStorage_1_1.xlsx

...

27

...

zwps_vol_ops_migrate_local2zone

...