commit | db0fa68908d2b3576c85f281809c2fa4a55caec1 | [log] [tgz] |
---|---|---|
author | whoami-rajat <rajatdhasmana@gmail.com> | Mon Feb 27 09:41:22 2023 +0000 |
committer | Roman Bubyr <rbubyr@mirantis.com> | Sat Jul 08 09:09:40 2023 +0200 |
tree | 8dccec4b6ba05dcf8c3607cc5f98a51545e3c2cc | |
parent | b31d4b760a9a206dc71772b022fd79db174e72cf [diff] |
Update multiattach tests Multiattach tests use legacy format to create multiattach volumes i.e. provide "multiattach=True" in request body of a create volume operation. This patch updates the multiattach tests to use multiattach volume type, which is the standard and only way[1], to create multiattach volumes. Note that the old functionality will be changed by patch[2] and passing multiattach=True in volume create request body will error out with BadRequest. Devstack will create the multiattach volume type, like an operator will create in a real deployment, and set it as a tempest config option (see depends on patch). We are adding a new config option `volume_type_multiattach` which is used as the multiattach volume type to create multiattach volumes. [1] https://docs.openstack.org/cinder/latest/admin/volume-multiattach.html#how-to-create-a-multiattach-volume [2] https://review.opendev.org/c/openstack/cinder/+/874865 Depends-On: https://review.opendev.org/c/openstack/devstack/+/877337 Depends-On: https://review.opendev.org/c/openstack/devstack/+/877497 Depends-On: https://review.opendev.org/c/openstack/devstack/+/877548 Depends-On: https://review.opendev.org/c/openstack/devstack/+/877498 Depends-On: https://review.opendev.org/c/openstack/devstack/+/877499 Related-prod: PRODX-32154 Change-Id: I5f68ef56fcc55dfc636936dabb5e6ad761579519