glance/releasenotes
Rajat Dhasmana 8318da1d5f Fix: optimized upload volume in Cinder store
When Glance is configured to use Cinder store and we upload
volume to Glance in the optimized path, it fails with
InvalidLocation error.
This happens because Cinder is not aware about the store
in which we will create the image and supplies the old
format URL i.e. cinder://<vol-id> whereas Glance expects
new location format i.e. cinder://<store-id>/<vol-id>.

Glance has code to update the format from old location format
to new location format but it isn't triggered in case of
old location APIs.

This patch adds the context to the update store ID request
which calls the Cinder store to provide the updated location,
hence fixing the optimized path for upload volume to image.

Closes-Bug: #2054575
Change-Id: Idd1cb8982b40b85a17821596f76dfa10207f6381
2024-07-04 17:39:28 +00:00
..
notes Fix: optimized upload volume in Cinder store 2024-07-04 17:39:28 +00:00
source Imported Translations from Zanata 2024-05-23 04:23:16 +00:00