commit | 94f2f10384dc5b6dfaf8c3e1344825fdc07fffff | [log] [tgz] |
---|---|---|
author | whoami-rajat <rajatdhasmana@gmail.com> | Mon Feb 27 09:41:22 2023 +0000 |
committer | Pavlo Shchelokovskyy <pshchelokovskyy@mirantis.com> | Wed Sep 13 09:51:57 2023 +0000 |
tree | 2439c183e0ca1ce84abe71fbb248d73622adb066 | |
parent | ed967f83eee685ae9d414e98f66fab51b152ee92 [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 (cherry picked from commit ca010d30e81a02842e9a6b6ab5cf9b4bbdc5278e)