cinder/cinder/api
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
..
contrib Reject bad img formats for uploaded encrypted vols 2022-02-03 18:16:17 -05:00
middleware Reduce deprecation warnings 2020-04-14 15:53:27 -05:00
openstack Add prelude to victoria release notes 2020-09-24 14:39:15 -04:00
schemas Fix: Schema validation for attachment create API 2022-04-06 10:01:42 +02:00
v2 Default type overrides 2020-09-16 14:05:31 +00:00
v3 Fix: Schema validation for attachment create API 2022-04-06 10:01:42 +02:00
validation API validation: Add cinder_host type to support ipv6 in manage 2021-03-11 12:24:06 -05:00
views Fix issue of getting detail backups list info 2019-08-02 03:17:29 +00:00
__init__.py Remove API v1 2017-09-06 07:39:10 -05:00
api_utils.py Move some code out of utils.py 2019-08-26 11:34:20 -04:00
common.py Add log if resource_filters json does not exist 2020-05-26 20:16:40 +00:00
extensions.py Remove exception.Error class 2020-07-21 18:21:21 +03:00
microversions.py Default type overrides 2020-09-16 14:05:31 +00:00
urlmap.py Remove unused logging import and LOG global var 2016-05-20 17:17:38 +08:00
versions.py Exclude disabled API versions from listing 2018-09-26 23:31:46 +00:00