forked from openstack/cinder
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure stale image metadata is not used
When uploading a volume to an image, Cinder checks to see if there's any image metadata already present on the volume, and if so, it adds it to the image-create request so that Glance will persist these additional properties on the new image. If during upload preparation, Cinder wants to add specific metadata to the new image (for example, a new encryption key id), we need to ensure that the new value for this property is preferred to a value in the volume_glance_metadata table. Closes-bug: #1844725 Change-Id: Iba3c5fa4db87641a84eb22a0fc93294dd55a3132
- Loading branch information
1 parent
e46aecb
commit ecf7041
Showing
3 changed files
with
93 additions
and
18 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