Lines Matching refs:volume

24 # Thick volume testing: create, delete, expand, change properties (read/write cache), expand and ch…
35 - name: Delete volume in raid 0 storage pool
39 name: volume
41 - name: Create volume in raid 0 storage pool
45 name: volume
58 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
60 msg: "Failed to create volume"
61 loop: "{{ lookup('list', volume, wantList=True) }}"
63 volume: "{{ current | json_query('json[?name==`volume`]') }}"
65 - name: Re-execute volume creation in raid 0 storage pool
69 name: volume
82 that: "{{ not results.changed and item.name == 'volume' and not item.thinProvisioned and
84 msg: "Failed to create volume"
85 loop: "{{ lookup('list', volume, wantList=True) }}"
87 volume: "{{ current | json_query('json[?name==`volume`]') }}"
89 - name: Update volume size
93 name: volume
106 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
108 msg: "Failed to create volume"
109 loop: "{{ lookup('list', volume, wantList=True) }}"
111 volume: "{{ current | json_query('json[?name==`volume`]') }}"
115 - name: Update volume properties
119 name: volume
134 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
137 msg: "Failed to create volume"
138 loop: "{{ lookup('list', volume, wantList=True) }}"
140 volume: "{{ current | json_query('json[?name==`volume`]') }}"
142 - name: Update volume properties and expand storage capabilities
146 name: volume
161 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
164 msg: "Failed to create volume"
165 loop: "{{ lookup('list', volume, wantList=True) }}"
167 volume: "{{ current | json_query('json[?name==`volume`]') }}"
174 name: volume
185 - name: Validate volume workload changes
193 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
196 {'key': 'volumeTypeId', 'value': 'volume'} in item.metadata }}"
197 msg: "Failed to modify volume metadata!"
198 loop: "{{ lookup('list', volume, wantList=True) }}"
200 volume: "{{ current | json_query('json[?name==`volume`]') }}"
219 name: volume
230 - name: Validate volume workload changes
238 that: "{{ not results.changed and item.name == 'volume' and not item.thinProvisioned and
241 {'key': 'volumeTypeId', 'value': 'volume'} in item.metadata }}"
242 msg: "Failed to not modify volume metadata!"
243 loop: "{{ lookup('list', volume, wantList=True) }}"
245 volume: "{{ current | json_query('json[?name==`volume`]') }}"
264 name: volume
273 - name: Validate volume workload changes
281 that: "{{ not results.changed and item.name == 'volume' and not item.thinProvisioned and
284 {'key': 'volumeTypeId', 'value': 'volume'} in item.metadata }}"
285 msg: "Failed to not modify volume metadata!"
286 loop: "{{ lookup('list', volume, wantList=True) }}"
288 volume: "{{ current | json_query('json[?name==`volume`]') }}"
307 name: volume
318 - name: Validate volume workload changes
326 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
329 {'key': 'volumeTypeId', 'value': 'volume'} in item.metadata }}"
330 msg: "Failed to not modify volume metadata!"
331 loop: "{{ lookup('list', volume, wantList=True) }}"
333 volume: "{{ current | json_query('json[?name==`volume`]') }}"
348 - name: Remove workload tag from volume (change)
352 name: volume
360 - name: Validate volume workload changes
368 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
372 msg: "Failed to not modify volume metadata!"
373 loop: "{{ lookup('list', volume, wantList=True) }}"
375 volume: "{{ current | json_query('json[?name==`volume`]') }}"
415 # *** Thin volume testing (May not work with simulator) ***
424 - name: Create thin volume
447 msg: "Failed to create volume"
448 loop: "{{ lookup('list', volume, wantList=True) }}"
450 volume: "{{ current | json_query('json[?name==`thin_volume`]') }}"
452 - name: (Rerun) Create thin volume
475 msg: "Failed to create volume"
476 loop: "{{ lookup('list', volume, wantList=True) }}"
478 volume: "{{ current | json_query('json[?name==`thin_volume`]') }}"
481 - name: Expand thin volume's virtual size
504 msg: "Failed to create volume"
505 loop: "{{ lookup('list', volume, wantList=True) }}"
507 volume: "{{ current | json_query('json[?name==`thin_volume`]') }}"
510 - name: Expand thin volume's maximum repository size
533 msg: "Failed to create volume"
534 loop: "{{ lookup('list', volume, wantList=True) }}"
536 volume: "{{ current | json_query('json[?name==`thin_volume`]') }}"
547 - name: Create second thin volume with manual expansion policy
571 msg: "Failed to create volume"
572 loop: "{{ lookup('list', volume, wantList=True) }}"
574 volume: "{{ current | json_query('json[?name==`thin_volume2`]') }}"
577 - name: Create second thin volume with manual expansion policy
601 msg: "Failed to create volume"
602 loop: "{{ lookup('list', volume, wantList=True) }}"
604 volume: "{{ current | json_query('json[?name==`thin_volume2`]') }}"
606 - name: Modify second thin volume to use automatic expansion policy
630 msg: "Failed to create volume"
631 loop: "{{ lookup('list', volume, wantList=True) }}"
633 volume: "{{ current | json_query('json[?name==`thin_volume2`]') }}"
654 # Thick volume expansion testing: wait and don't wait for operation to complete
665 - name: Delete volume in raid 6 storage pool
669 name: volume
671 - name: Create volume in raid 0 storage pool for expansion testing
675 name: volume
688 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
690 msg: "Failed to create volume"
691 loop: "{{ lookup('list', volume, wantList=True) }}"
693 volume: "{{ current | json_query('json[?name==`volume`]') }}"
695 - name: Modify volume in raid 0 storage pool and wait for expansion testing
699 name: volume
713 …url: "{{ credentials.api_url }}storage-systems/{{ credentials.ssid }}/volumes/{{ volume[0]['id'] }…
719 volume: "{{ current | json_query('json[?name==`volume`]') }}"
721 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
725 loop: "{{ lookup('list', volume, wantList=True) }}"
727 volume: "{{ current | json_query('json[?name==`volume`]') }}"
729 - name: Modify volume in raid 0 storage pool and don't wait for expansion testing
733 name: volume
747 …url: "{{ credentials.api_url }}storage-systems/{{ credentials.ssid }}/volumes/{{ volume[0]['id'] }…
753 volume: "{{ current | json_query('json[?name==`volume`]') }}"
755 that: "{{ results.changed and item.name == 'volume' and not item.thinProvisioned and
757 msg: "Failed to create volume"
758 loop: "{{ lookup('list', volume, wantList=True) }}"
760 volume: "{{ current | json_query('json[?name==`volume`]') }}"