Files
devstack/lib
Rajat Dhasmana 4e2fe3a468 Create multiattach volume type for tempest
Creating multiattach volume is a non-admin operation but creating
multiattach volume type is an admin operation.
Previously cinder allowed creating multiattach volumes without a
volume type but that support is being removed with[1].
The change requires updating tempest tests[2] but some tempest
tests are non-admin, which require admin priviledges to create the
multiattach volume type.
Based on the last discussion with tempest team[3], the proposed
solution is to create a multiattach volume type in devstack,
if ENABLE_VOLUME_MULTIATTACH is True, and use it in tempest
tests. Similar to how admins create multiattach volume types
for non-admin users.

This patch creates a multiattach volume type if
ENABLE_VOLUME_MULTIATTACH is True. Also we set the multiattach
type name as a tempest config option 'volume_type_multiattach'.

[1] https://review.opendev.org/c/openstack/cinder/+/874865
[2] https://review.opendev.org/c/openstack/tempest/+/875372
[3] https://meetings.opendev.org/irclogs/%23openstack-cinder/%23openstack-cinder.2023-03-13.log.html#t2023-03-13T18:47:56

Change-Id: Icd3690565bf7b27898cd206641e612da3993703d
(cherry picked from commit 1898a683be)
(cherry picked from commit 16594b7b2a)
Conflicts: lib/cinder
    conflicts due to nvme support being added in 2023.1
    https://review.opendev.org/c/openstack/devstack/+/814193
(cherry picked from commit 977b591ee1)
2023-03-15 19:32:24 +00:00
..
2020-07-08 14:11:18 +00:00
2019-02-05 11:21:39 -05:00
2021-08-17 09:41:33 +02:00
2022-02-08 11:05:14 +01:00
2022-01-11 14:14:20 +01:00
2017-06-20 14:09:30 -04:00
2020-10-28 13:06:52 +00:00
2022-02-21 20:04:23 +01:00
2019-03-29 11:20:19 -07:00
2022-03-11 20:28:39 +00:00