cinder/api-ref/source/v3
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 api-ref: Add docs for clusters 2022-08-31 10:02:20 +01:00
api-versions.inc Automate generation of API versions api-ref samples 2019-01-10 19:48:18 +05:30
attachments.inc Fix: Schema validation for attachment create API 2021-06-16 11:26:21 -04:00
capabilities-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
clusters.inc api-ref: Add docs for clusters 2022-08-31 10:02:20 +01:00
consistencygroups-v3.inc cinder:api-ref replace mention of "policy.json" 2020-07-07 20:55:09 +05:30
default-types.inc Default type overrides 2020-09-16 14:05:31 +00:00
ext-backups-actions-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
ext-backups.inc api-ref: include links on backups list and details 2022-01-24 11:43:29 -03:00
group-replication.inc Update api-ref 2020-02-04 18:41:30 -05:00
group-snapshots.inc Update api-ref 2020-02-04 18:41:30 -05:00
group-type-specs.inc Update api-ref 2020-02-04 18:41:30 -05:00
group-types.inc Update api-ref 2020-02-04 18:41:30 -05:00
groups.inc [api-ref]Add replication_status(optional) to List groups with details response 2020-09-15 15:47:26 +08:00
hosts.inc [api-ref]Fix values of service-status in list-hosts 2019-08-23 09:41:37 +08:00
index.rst api-ref: Add docs for clusters 2022-08-31 10:02:20 +01:00
limits.inc Automate generation of qos specs api-ref samples 2019-09-27 17:43:40 +05:30
messages.inc Update api-ref 2020-02-04 18:41:30 -05:00
os-cgsnapshots-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
os-services.inc api-ref: Add docs for clusters 2022-08-31 10:02:20 +01:00
os-vol-pool-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
os-vol-transfer-v3.inc api-ref: Fix "id" parameter 2021-03-25 09:14:32 -04:00
parameters.yaml Remove multiatttach request parameter 2023-03-06 08:58:59 +00:00
qos-specs-v3-qos-specs.inc Automate generation of qos specs api-ref samples 2019-09-27 17:43:40 +05:30
quota-classes.inc Automate generation of quotas api-ref samples 2019-09-30 16:29:49 +05:30
quota-sets.inc Remove NestedQuotaDriver 2021-01-19 17:43:29 +00:00
resource-filters.inc Expose volume & snapshot use_quota field 2021-08-26 19:04:12 +02:00
snapshot-manage.inc Cleanup api-ref sample files 2019-07-03 13:22:33 -05:00
valid-boolean-values.inc Include .inc files in doc8 linting 2019-02-19 11:33:05 -06:00
vol-transfer-v3.inc api-ref: Fix "name" parameter 2021-04-16 20:31:08 +00:00
volume-manage.inc Prohibit volume manage to an encrypted volume type 2022-03-21 11:48:01 -04:00
volume-type-access.inc Update api-ref 2020-02-04 18:41:30 -05:00
volumes-v3-extensions.inc Automate generation of API versions api-ref samples 2019-01-10 19:48:18 +05:30
volumes-v3-snapshots-actions.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
volumes-v3-snapshots.inc Snapshot in-use volumes without force flag 2021-08-31 14:48:32 -04:00
volumes-v3-types.inc Add default types info in admin docs 2021-11-19 05:13:46 -05:00
volumes-v3-versions.inc Automate generation of API versions api-ref samples 2019-01-10 19:48:18 +05:30
volumes-v3-volumes-actions.inc Support volume re-image 2022-02-24 15:23:38 +05:30
volumes-v3-volumes.inc Remove multiatttach request parameter 2023-03-06 08:58:59 +00:00
worker-cleanup.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30