You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9e27bfc
Browse filesBrowse the repository at this point in the historyBrowse files
| NFS3 Pool Lifecycle |`nfs3/pool/test_pool_lifecycle.py`| 16 | Create, grow to 300 TiB, reject grow past 300 TiB, safe shrink, disable, resize while disabled, enable, maintenance, resize in maintenance, delete, then re-create with a volume, reject shrink below used capacity, deploy a VM and attach the volume, cleanup |
335
+
| NFS3 Pool Lifecycle |`nfs3/pool/test_pool_lifecycle.py`| 16 | Create, grow to 300 TiB, reject grow past 300 TiB, safe shrink, disable, resize while disabled, enable, maintenance, grow and shrink in maintenance, delete, then re-create with a volume, reject shrink below used capacity, deploy a VM and attach the volume, cleanup |
336
336
| NFS3 Pool with Volumes |`nfs3/pool/test_pool_with_volumes.py`| 7 | Same + live volume present; negative delete guard |
337
337
| NFS3 Zone-Scoped Pool |`nfs3/pool/test_zone_scoped_pool.py`| 4 | Zone scope — all hosts connected via `attachZone`|
338
338
| NFS3 Volume Lifecycle |`nfs3/volume/test_volume_lifecycle.py`| 5 | Volume is metadata-only; FlexVol unchanged on delete |
339
339
| NFS3 VM + Volume Attach |`nfs3/instance/test_vm_volume_attach.py`| 13 | Full VM lifecycle with stopped-VM qcow2 grow; ROOT on tagged pool seeds/reuses template cache, which survives VM delete |
| iSCSI Pool Lifecycle |`iscsi/pool/test_pool_lifecycle.py`| 16 | Create, grow to 300 TiB, reject grow past 300 TiB, safe shrink, disable, resize while disabled, enable, maintenance, resize in maintenance, delete + igroups, then re-create with a volume (LUN), reject shrink below used capacity, deploy a VM and attach the volume, cleanup |
341
+
| iSCSI Pool Lifecycle |`iscsi/pool/test_pool_lifecycle.py`| 16 | Create, grow to 300 TiB, reject grow past 300 TiB, safe shrink, disable, resize while disabled, enable, maintenance, grow and shrink in maintenance, delete + igroups, then re-create with a volume (LUN), reject shrink below used capacity, deploy a VM and attach the volume, cleanup |
342
342
| iSCSI Pool with Volumes |`iscsi/pool/test_pool_with_volumes.py`| 7 | Same + live LUN present; negative delete guard |
343
343
| iSCSI Zone-Scoped Pool |`iscsi/pool/test_zone_scoped_pool.py`| 4 | Zone scope |
344
344
| iSCSI Volume Lifecycle |`iscsi/volume/test_volume_lifecycle.py`| 5 | LUN created per CS volume; LUN removed on delete |
Copy file name to clipboardExpand all lines: test/integration/plugins/ontap/TEST_CASES.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,16 +51,16 @@ Each suite is sequential — tests must run in numbered order; each step builds
51
51
| 03 |`test_03_reject_grow_above_max_size`| Reject a grow past the 300 TiB ONTAP FlexVol maximum (overshoots by 1 GiB; asserts ONTAP's autosize-maximum error, not a generic failure such as aggregate space) | test_02 |`CloudstackAPIException`; `capacitybytes` stays at 300 TiB; pool stays `Up`| FlexVol `space.size` unchanged; export policy unchanged | negative |
52
52
| 04 |`test_04_shrink_storage_pool`| Safely shrink the original empty pool to its initial capacity | test_02 |`capacitybytes` reaches the safe target; pool stays `Up`| FlexVol `space.size` reaches the safe target; remains `online`; export policy unchanged | positive |
53
53
| 05 |`test_05_disable_storage_pool`| Disable the pool (admin operation) | test_04 |`pool.state == "Disabled"`| FlexVol still `online`; export policy still present | positive |
54
-
| 06 |`test_06_resize_storage_pool_while_disabled`| Grow then shrink the pool back while it is Disabled | test_05 | Both `updateStoragePool` calls accepted; `capacitybytes` reaches each target; KVM hosts report each resized NFS capacity; `pool.state` stays `"Disabled"` throughout | FlexVol `space.size` reaches each target and stays `online`; export policy still present and still covers every host IP | positive |
54
+
| 06 |`test_06_grow_and_shrink_storage_pool_while_disabled`| Grow then shrink the pool back while it is Disabled | test_05 | Both `updateStoragePool` calls accepted; `capacitybytes` reaches each target; KVM hosts report each resized NFS capacity; `pool.state` stays `"Disabled"` throughout | FlexVol `space.size` reaches each target and stays `online`; export policy still present and still covers every host IP | positive |
55
55
| 07 |`test_07_enable_storage_pool`| Re-enable the pool | test_06 |`pool.state == "Up"`| FlexVol still `online`; export policy still present | positive |
56
56
| 08 |`test_08_enter_maintenance_mode`| Put pool into maintenance (drains new volume allocations) | test_07 |`pool.state == "Maintenance"`| FlexVol still `online`; export policy still present (maintenance is CS-only state) | positive |
57
-
| 09 |`test_09_resize_storage_pool_in_maintenance`| Grow the pool while it is in maintenance mode | test_08 |`updateStoragePool` accepted; `capacitybytes` reaches the requested size; `pool.state` stays `"Maintenance"`| FlexVol `space.size` reaches the requested size; remains`online`; export policy unchanged| positive |
57
+
| 09 |`test_09_grow_and_shrink_storage_pool_in_maintenance`| Grow then shrink the pool back while it is in Maintenance | test_08 |Both `updateStoragePool`calls accepted; `capacitybytes` reaches each target; `pool.state` stays `"Maintenance"`throughout | FlexVol `space.size` reaches each target and stays`online`; export policy still present| positive |
58
58
| 10 |`test_10_cancel_maintenance_mode`| Cancel maintenance, return pool to service | test_09 |`pool.state == "Up"`| FlexVol still `online`; export policy still present | positive |
59
59
| 11 |`test_11_delete_pool_from_maintenance`| Enter maintenance then permanently delete the original pool | test_10 | Pool no longer returned by `listStoragePools` (CS 431 error expected on ID lookup) | FlexVol and export policy deleted | positive |
60
60
| 12 |`test_12_create_volume_on_pool`| Create a fresh pool and allocate a CloudStack data volume | test_11 | New pool is `Up`; `createVolume` returns a volume | FlexVol `online`; export policy present | positive |
61
61
| 13 |`test_13_create_vm_and_attach_volume`| Deploy a VM and attach the ONTAP data volume to it | test_12 | VM reaches `Running`; volume reports `virtualmachineid` equal to the VM id; VM still `Running` after attach; pool capacity unchanged | FlexVol still `online`; volume data file materialised in the FlexVol (NFS3 creates it lazily at attach) | positive |
62
62
| 14 |`test_14_reject_shrink_below_used_capacity`| Reject shrink below the used space of the VM-attached volume, with the target held above the ONTAP FlexVol minimum. Writes incompressible data through the ONTAP files API when the VM-attached thin volume leaves used space under the minimum, and removes it before returning | test_13 (`pool`, `volume`, `vm`) |`CloudstackAPIException`; volume remains listed with unchanged `id`/`state`/`size`/`poolid`; pool capacity unchanged | FlexVol size and export policy unchanged; used space stays above the FlexVol minimum | negative |
63
-
| 15 |`test_15_resize_pool_with_vm_attached`| Grow then shrink the pool back while the volume is attached to the running VM | test_13 (`vm`, `volume`) | Both resizes reach the requested capacity; pool stays `Up`; VM stays `Running` and keeps `virtualmachineid` on the volume | FlexVol reaches each size and stays `online`; export policy still covers every host IP | positive |
63
+
| 15 |`test_15_grow_and_shrink_pool_with_vm_attached`| Grow then shrink the pool back while the volume is attached to the running VM | test_13 (`vm`, `volume`) | Both resizes reach the requested capacity; pool stays `Up`; VM stays `Running` and keeps `virtualmachineid` on the volume | FlexVol reaches each size and stays `online`; export policy still covers every host IP | positive |
64
64
| 16 |`test_16_delete_volume_and_pool`| Detach and destroy the VM, delete the volume, then force-delete the pool | test_15 | VM destroyed; volume and pool no longer listed | FlexVol and export policy deleted | cleanup |
65
65
66
66
---
@@ -156,16 +156,16 @@ Each suite is sequential — tests must run in numbered order; each step builds
156
156
| 03 |`test_03_reject_grow_above_max_size`| Reject a grow past the 300 TiB ONTAP FlexVol maximum (overshoots by 1 GiB; asserts ONTAP's autosize-maximum error, not a generic failure such as aggregate space) | test_02 |`CloudstackAPIException`; `capacitybytes` stays at 300 TiB; pool stays `Up`| FlexVol `space.size` unchanged; igroups unchanged | negative |
157
157
| 04 |`test_04_shrink_storage_pool`| Safely shrink the original empty pool to its initial capacity | test_02 |`capacitybytes` reaches the safe target; pool stays `Up`| FlexVol reaches the safe target and remains `online`; igroups remain present | positive |
158
158
| 05 |`test_05_disable_storage_pool`| Disable the pool | test_04 |`pool.state == "Disabled"`| FlexVol still `online`| positive |
159
-
| 06 |`test_06_resize_storage_pool_while_disabled`| Grow then shrink the pool back while it is Disabled | test_05 | Both `updateStoragePool` calls accepted; `capacitybytes` reaches each target; `pool.state` stays `"Disabled"` throughout | FlexVol `space.size` reaches each target and stays `online`; per-host igroups still present | positive |
159
+
| 06 |`test_06_grow_and_shrink_storage_pool_while_disabled`| Grow then shrink the pool back while it is Disabled | test_05 | Both `updateStoragePool` calls accepted; `capacitybytes` reaches each target; `pool.state` stays `"Disabled"` throughout | FlexVol `space.size` reaches each target and stays `online`; per-host igroups still present | positive |
160
160
| 07 |`test_07_enable_storage_pool`| Re-enable the pool | test_06 |`pool.state == "Up"`| FlexVol still `online`| positive |
161
161
| 08 |`test_08_enter_maintenance_mode`| Put pool into maintenance | test_07 |`pool.state == "Maintenance"`| FlexVol still `online`; igroups unchanged | positive |
162
-
| 09 |`test_09_resize_storage_pool_in_maintenance`| Grow the pool while it is in maintenance mode | test_08 |`updateStoragePool` accepted; `capacitybytes` reaches the requested size; `pool.state` stays `"Maintenance"`| FlexVol reaches the requested size and remains`online`; igroups unchanged| positive |
162
+
| 09 |`test_09_grow_and_shrink_storage_pool_in_maintenance`| Grow then shrink the pool back while it is in Maintenance | test_08 |Both `updateStoragePool`calls accepted; `capacitybytes` reaches each target; `pool.state` stays `"Maintenance"`throughout | FlexVol `space.size`reaches each target and stays`online`; per-host igroups still present| positive |
| 11 |`test_11_enter_maintenance_and_delete_pool`| Enter maintenance then delete the original pool | test_10 | Pool no longer listed | FlexVol and all host igroups deleted | positive |
165
165
| 12 |`test_12_create_volume_on_pool`| Create a fresh pool and allocate a CloudStack volume | test_11 | New pool is `Up`; `createVolume` returns a volume | FlexVol `online`; at least one LUN present | positive |
166
166
| 13 |`test_13_create_vm_and_attach_volume`| Deploy a VM and attach the ONTAP data volume (LUN) to it | test_12 | VM reaches `Running`; volume reports `virtualmachineid` equal to the VM id; VM still `Running` after attach | FlexVol still `online`; LUN still present; per-host igroups unchanged | positive |
167
167
| 14 |`test_14_reject_shrink_below_used_capacity`| Reject shrink below the used space of the VM-attached LUN, with the target held above the ONTAP FlexVol minimum. Writes incompressible data through the ONTAP files API when the VM-attached thin volume leaves used space under the minimum, and removes it before returning | test_13 (`pool`, `volume`, `vm`) |`CloudstackAPIException`; volume remains listed with unchanged `id`/`state`/`size`/`poolid`; pool capacity unchanged | FlexVol size and LUN uuid/name list unchanged; used space stays above the FlexVol minimum | negative |
168
-
| 15 |`test_15_resize_pool_with_vm_attached`| Grow then shrink the pool back while the volume (LUN) is attached to the running VM | test_13 (`vm`, `volume`) | Both resizes reach the requested capacity; pool stays `Up`; VM stays `Running` and keeps `virtualmachineid` on the volume | FlexVol reaches each size and stays `online`; LUN still present | positive |
168
+
| 15 |`test_15_grow_and_shrink_pool_with_vm_attached`| Grow then shrink the pool back while the volume (LUN) is attached to the running VM | test_13 (`vm`, `volume`) | Both resizes reach the requested capacity; pool stays `Up`; VM stays `Running` and keeps `virtualmachineid` on the volume | FlexVol reaches each size and stays `online`; LUN still present | positive |
169
169
| 16 |`test_16_delete_volume_and_pool`| Detach and destroy the VM, delete the volume, then force-delete the pool | test_15 | VM destroyed; volume and pool no longer listed | LUN, FlexVol, and igroups deleted | cleanup |
0 commit comments