cinder/cinder/api
Brian Rosmaita 513ba07ed6 Reject bad img formats for uploaded encrypted vols
Cinder only supports uploading volumes of encrypted volume types as
images with disk format 'raw' and container format 'bare'.  Screen
for this at the REST API layer when the request is made.

This change is applied directly to the VolumeActionsController in
the cinder.api.contrib module, so it affects both the Block Storage
API v2 and v3.

Change-Id: Ibb77b8b1be6c35c5db3b07fdc4056afd51d48782
Closes-bug: #1935688
(cherry picked from commit de8b3b0b00)
(cherry picked from commit 78682022d2)
(cherry picked from commit 12f7376fe4)
(cherry picked from commit fac676112d)
(cherry picked from commit 7c3f7379fe)
2022-04-11 15:41:06 +00:00
..
contrib Reject bad img formats for uploaded encrypted vols 2022-04-11 15:41:06 +00:00
middleware Move some code out of utils.py 2019-08-26 11:34:20 -04:00
openstack Denote max microversion for Train 2019-09-11 11:21:34 -05:00
schemas API validation: Add cinder_host type to support ipv6 in manage 2021-05-05 10:36:43 -04:00
v2 Modify default/delete volume type logic 2020-09-21 11:08:49 +00:00
v3 Modify default/delete volume type logic 2020-09-21 11:08:49 +00:00
validation API validation: Add cinder_host type to support ipv6 in manage 2021-05-05 10:36:43 -04:00
views Fix issue of getting detail backups list info 2021-09-21 20:01:12 +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 Refactor API utilities into api_utils.py 2019-08-05 16:59:59 -04:00
extensions.py Add OS-SCH-HNT in extensions list 2019-06-07 08:38:06 +05:30
microversions.py Add project_id in group snapshots list and show API 2019-03-01 22:59:19 +05:30
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