cinder/api-ref/source/v2
whoami-rajat 32f1145b7d Remove multiatttach request parameter
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] f1bfd9790d
[5] https://docs.openstack.org/cinder/latest/admin/volume-multiattach.html#how-to-create-a-multiattach-volume
[6] 94dbf5cce2
[7] adb141a262
[8] 3c1b417959

Depends-On: https://review.opendev.org/c/openstack/tempest/+/875372
Closes-Bug: 2008259

Change-Id: I0ece6e279048abcc04b3674108290a80eca6bd62
2023-03-06 08:58:59 +00:00
..
samples Fix functional jobs 2021-05-25 16:55:05 +02:00
api-versions.inc Fix api-ref response code title levels 2018-03-13 15:57:54 -05:00
capabilities-v2.inc api-ref: Fix namespace parameter for backend capabilities 2018-10-06 00:28:09 -04:00
consistencygroups-v2.inc cinder:api-ref replace mention of "policy.json" 2020-07-07 20:55:09 +05:30
ext-backups-actions-v2.inc Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
ext-backups.inc Correct the rest api url of import_record of backup 2021-08-28 02:42:14 +00:00
hosts.inc [api-ref]Fix values of service-status in list-hosts 2019-08-23 09:41:37 +08:00
index.rst Update Block Storage API v2 api-ref 2021-06-04 18:18:07 -04:00
limits.inc Fix api-ref response code title levels 2018-03-13 15:57:54 -05:00
os-cgsnapshots-v2.inc api-ref: Correct the cgsnapshot_id parameter 2018-04-26 17:08:32 +00:00
os-vol-pool-v2.inc api-ref: total/free_capacity should be with postfix _gb 2018-09-28 15:30:37 +08:00
os-vol-transfer-v2.inc api-ref: add preconditions for volume transfer APIs 2018-09-11 17:43:05 -04:00
parameters.yaml Remove multiatttach request parameter 2023-03-06 08:58:59 +00:00
qos-specs-v2-qos-specs.inc Fix api-ref title levels and index 2018-08-15 08:18:28 -05:00
quota-classes.inc Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
quota-sets.inc Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
volume-manage.inc Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
volume-type-access.inc Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
volumes-v2-extensions.inc api-ref: Change extensions updated type to updated_at 2018-09-30 10:25:46 -04:00
volumes-v2-snapshots-actions.inc Fix api-ref title levels and index 2018-08-15 08:18:28 -05:00
volumes-v2-snapshots.inc Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
volumes-v2-types.inc Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
volumes-v2-versions.inc Fix api-ref response code title levels 2018-03-13 15:57:54 -05:00
volumes-v2-volumes-actions.inc Doc note warning about retyping unencrypted/encrypted volume 2020-08-06 18:13:24 +00:00
volumes-v2-volumes.inc Remove multiatttach request parameter 2023-03-06 08:58:59 +00:00