glance/releasenotes/notes/support-cinder-multiple-stores-eb4e6d912d549ee9.yaml
whoami-rajat 98a1e792c6 Support cinder multiple stores
This patch updates the location URL of the legacy images while
upgrading from single cinder store to multiple stores.
It does that with the help of lazy loading logic i.e. while
GET images call, it checks the location URL and metadata
of the image against the configured store ids and updates
images to respective stores on the basis of volume type (comparing
image-volume's type with the configured cinder_volume_type).
Legacy image URL:
cinder://<volume-id>
New image URL:
cinder://<store-id>/<volume-id>

NOTE: bumping lower-constraints/requirements of glance-store to 2.3.0 as
it includes changes[1] that are a hard requirement for cinder multiple
stores to work with glance

[1] https://review.opendev.org/#/c/746556/

Change-Id: I087a89c20813378fea8ff22ddf81d7a10c220db3
Implements: blueprint multiple-cinder-backend-support
2020-09-07 09:07:42 +00:00

13 lines
380 B
YAML

---
features:
- |
Added support for cinder multiple stores.
upgrade:
- |
During upgrade from single cinder store to multiple cinder stores, legacy
images location url will be updated to the new format with respect to the
volume type configured in the stores.
Legacy location url: cinder://<volume-id>
New location url: cinder://<store-id>/<volume-id>