32f1145b7d
The initial cinder design[1][2][3] allowed users to create mutliattach volumes by spcifying the ``multiattach`` parameter in the request body of volume create operation (``--allow-multiattach`` option in cinderclient). This functionality changed in Queens with the introduction of microversion 3.50[4] where we used volume types to store the multiattach capabilities. Any volume created with a multiattach volume type will be a multiattach volume[5]. While implementing the new functionality, we had to keep backward compatibility with the *old way* of creating multiattach volumes. We deprecated the ``multiattach`` (``--allow-multiattach`` on cinderclient side) parameter in the queens release[6][7]. We also removed the support of the ``--allow-multiattach`` optional parameter from cinderclient in the train release[8] but the API side never removed the compatibility code to disallow functionality of creating multiattach volumes by using the ``multiattach`` parameter (instead of a multiattach volume type). This patch removes the support of providing the ``multiattach`` parameter in the request body of a volume create operation and will fail with a BadRequest exception stating the reason of failure and how it can be fixed. [1] https://blueprints.launchpad.net/cinder/+spec/multi-attach-volume [2] https://review.opendev.org/c/openstack/cinder/+/85847/ [3] https://review.opendev.org/c/openstack/python-cinderclient/+/85856 [4] |
||
---|---|---|
.. | ||
samples | ||
api-versions.inc | ||
capabilities-v2.inc | ||
consistencygroups-v2.inc | ||
ext-backups-actions-v2.inc | ||
ext-backups.inc | ||
hosts.inc | ||
index.rst | ||
limits.inc | ||
os-cgsnapshots-v2.inc | ||
os-vol-pool-v2.inc | ||
os-vol-transfer-v2.inc | ||
parameters.yaml | ||
qos-specs-v2-qos-specs.inc | ||
quota-classes.inc | ||
quota-sets.inc | ||
volume-manage.inc | ||
volume-type-access.inc | ||
volumes-v2-extensions.inc | ||
volumes-v2-snapshots-actions.inc | ||
volumes-v2-snapshots.inc | ||
volumes-v2-types.inc | ||
volumes-v2-versions.inc | ||
volumes-v2-volumes-actions.inc | ||
volumes-v2-volumes.inc |