cinder/releasenotes/notes/bug-1978020-glance-upload-uri-8fbc70c442ac620c.yaml
Peter Penchev 08e80390f3 Send the correct location URI to the Glance v2 API
When uploading a volume to an image, send the new-style
cinder://<store-id>/<volume-id> URL to the Glance API if
image_service:store_id is present in the volume type extra specs.

Closes-Bug: #1978020
Co-Authored-By: Rajat Dhasmana <rajatdhasmana@gmail.com>
Change-Id: I815706f691a7d1e5a0c54eb15222417008ef1f34
2023-01-16 16:34:21 +02:00

12 lines
586 B
YAML

---
fixes:
- |
`Bug #1978020 <https://bugs.launchpad.net/cinder/+bug/1978020>`_: Fixed
uploading a volume to a Cinder-backed Glance image; if a store name is set
in the volume type's extra specs, it must also be sent to Glance as part of
the new image location URI.
Please note that while the `image_service:store_id` extra spec is
validated when it is set for the volume type, it is not validated later;
it is the operator's responsibility to make sure that the Glance store is
not renamed or removed or that the volume types are updated accordingly.