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 | ||
attachments.inc | ||
capabilities-v3.inc | ||
clusters.inc | ||
consistencygroups-v3.inc | ||
default-types.inc | ||
ext-backups-actions-v3.inc | ||
ext-backups.inc | ||
group-replication.inc | ||
group-snapshots.inc | ||
group-type-specs.inc | ||
group-types.inc | ||
groups.inc | ||
hosts.inc | ||
index.rst | ||
limits.inc | ||
messages.inc | ||
os-cgsnapshots-v3.inc | ||
os-services.inc | ||
os-vol-pool-v3.inc | ||
os-vol-transfer-v3.inc | ||
parameters.yaml | ||
qos-specs-v3-qos-specs.inc | ||
quota-classes.inc | ||
quota-sets.inc | ||
resource-filters.inc | ||
snapshot-manage.inc | ||
valid-boolean-values.inc | ||
vol-transfer-v3.inc | ||
volume-manage.inc | ||
volume-type-access.inc | ||
volumes-v3-extensions.inc | ||
volumes-v3-snapshots-actions.inc | ||
volumes-v3-snapshots.inc | ||
volumes-v3-types.inc | ||
volumes-v3-versions.inc | ||
volumes-v3-volumes-actions.inc | ||
volumes-v3-volumes.inc | ||
worker-cleanup.inc |