forked from openstack/cinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Reject bad img formats for uploaded encrypted vols"
- Loading branch information
Showing
5 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
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. |