cinder/cinder
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
..
api Fix: Schema validation for attachment create API 2022-04-06 10:01:42 +02:00
backup [RBD] Fix snapshot backup name 2021-12-29 14:33:12 -03:00
brick LVM: Retry lvextend commands on code 139 2021-09-15 18:11:25 +00:00
cmd Merge "Remove "cinder-manage shell" commands" 2020-09-04 17:18:49 +00:00
common Change 'host' option from HostAddressOpt to StrOpt 2021-09-10 11:57:18 -04:00
compute Fix instance locality scheduler filter 2021-08-24 10:53:02 +00:00
db Fix: Race between attachment and volume deletion 2022-01-18 12:11:31 +01:00
group Use resource_backend for volumes and groups 2020-08-14 08:13:42 +00:00
image Label temporary files created by image_utils 2021-03-16 13:51:45 +00:00
interface Move get_volume_stats impl to the base volume driver 2020-07-01 12:41:20 +03:00
keymgr Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
locale Imported Translations from Zanata 2020-09-13 06:31:50 +00:00
message Add user messages for some volume snapshot actions 2019-04-26 17:02:05 -04:00
objects Expose volume_attachments in Volume OVO 2022-01-18 12:11:31 +01:00
policies Correct group:reset_group_snapshot_status policy 2021-01-06 18:16:21 +00:00
privsep Enable flake8-logging-format extension 2020-01-09 14:35:20 -06:00
scheduler Fix instance locality scheduler filter 2021-08-24 10:53:02 +00:00
tests Merge "Reject bad img formats for uploaded encrypted vols" into stable/victoria 2022-02-11 14:35:13 +00:00
transfer Fix: show volume transfer by name for non-admins 2020-08-03 12:46:31 +00:00
volume Merge "Fix: Race between attachment and volume deletion" into stable/victoria 2022-02-10 17:00:18 +00:00
wsgi Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
zonemanager Brocade: Fix lookup UnboundLocalError 2020-08-07 15:24:44 +02:00
__init__.py
context.py Reduce deprecation warnings 2020-04-14 15:53:27 -05:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Default type overrides 2020-09-16 14:05:31 +00:00
flow_utils.py
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py Merge "Publish backup capabilities to a scheduler" 2020-01-14 19:50:21 +00:00
opts.py Merge "Backup: Limit number of concurent operations" 2020-08-07 17:54:37 +00:00
policy.py Default type overrides 2020-09-16 14:05:31 +00:00
quota.py Bump hacking version to 1.1.x 2019-05-30 15:06:02 -04:00
quota_utils.py Add support for system and domain scoped tokens 2020-09-30 13:47:42 +00:00
rpc.py Replace assert to raise AssertionError 2019-06-05 18:41:21 +03:00
service.py Fix typo on service cluster change method 2020-05-06 19:36:07 -05:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Stop a connections leak when freeing an SSHPool 2018-02-14 18:16:55 -06:00
utils.py LVM: Fix delete volume error due to lvs failure 2021-04-08 17:15:03 +02:00
version.py