cinder/cinder/api/v3
Rajat Dhasmana d7bb194d09 Fix: Schema validation for attachment create API
Currently the schema validation for attachment create assumes that
instance UUID will always be present in the request but that is
not the case when glance calls cinder for attachment.
Also there isn't any schema validation for MV3.54 which accepts
attachment mode in the request hence failing requests passing mode.
This patch removes the instance_uuid from required parameters and
adds schema validation for MV3.54.

Also includes a squash to add a releasenote from
Change-Id: I4a6e93ea98cfd4988d38bedca6e5538391c1f74d

Change-Id: I5108fd51effa4d72581654ed450d191a13e0e964
(cherry picked from commit 560318c82e)
(cherry picked from commit 58250aae06)
Conflicts:
    cinder/api/v3/attachments.py
2022-04-06 10:01:42 +02:00
..
views Default type overrides 2020-09-16 14:05:31 +00:00
__init__.py cinder-api-microversions code 2016-02-24 06:50:54 -07:00
attachments.py Fix: Schema validation for attachment create API 2022-04-06 10:01:42 +02:00
backups.py Add user_id in backup list and show API 2018-12-12 00:52:05 -05:00
clusters.py V3 jsonschema validation: Clusters 2018-03-23 13:17:56 +05:30
consistencygroups.py Add cg policies and clean up old policy handling 2017-12-04 10:07:54 +08:00
default_types.py Default type overrides 2020-09-16 14:05:31 +00:00
group_snapshots.py Update delete group snapshot API exception handling 2018-07-31 17:36:10 -04:00
group_specs.py V3 jsonschema validation: Group type specs 2017-12-12 14:48:42 +05:30
group_types.py Refactor API utilities into api_utils.py 2019-08-05 16:59:59 -04:00
groups.py V3 json schema validation: generic volume groups 2018-05-08 18:07:28 +05:30
limits.py Use constants for microversion values 2017-09-22 08:15:56 -05:00
messages.py Add missing 'target_obj' when perform policy check 2018-03-19 19:02:00 +08:00
resource_common_manage.py Use constants for microversion values 2017-09-22 08:15:56 -05:00
resource_filters.py Use constants for microversion values 2017-09-22 08:15:56 -05:00
router.py Default type overrides 2020-09-16 14:05:31 +00:00
snapshot_manage.py V2/V3 json schema validation: snapshot manage 2018-01-02 09:52:42 +05:30
snapshots.py Refactor API utilities into api_utils.py 2019-08-05 16:59:59 -04:00
volume_manage.py V3 json schema validation: volume manage 2018-04-16 09:56:23 +05:30
volume_metadata.py V3 jsonschema validation: Volume metadata 2017-12-08 12:40:01 +05:30
volume_transfer.py Support volume transfer name filters 2020-02-07 06:30:42 +00:00
volumes.py Modify default/delete volume type logic 2020-08-19 02:07:15 +00:00
workers.py Replace HTTP numeric codes with constants 2019-04-02 14:07:30 +05:30