de8b3b0b00
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. Change-Id: Ibb77b8b1be6c35c5db3b07fdc4056afd51d48782 Closes-bug: #1935688
13 lines
695 B
YAML
13 lines
695 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`Bug #1935688 <https://bugs.launchpad.net/cinder/+bug/1935688>`_:
|
|
Cinder only supports uploading a volume of an encrypted volume type as an
|
|
image to the Image service in ``raw`` format using a ``bare`` container
|
|
type. Previously, ``os-volume_upload_image`` action requests to the Block
|
|
Storage API specifying different format option values were accepted, but
|
|
would result in a later failure. This condition is now checked at the API
|
|
layer, and ``os-volume_upload_image`` action requests on a volume of an
|
|
encrypted type that specify unsupported values for ``disk_format`` or
|
|
``container_format`` now result in a 400 (Bad Request) response.
|