Current Series Release Notes¶
5.8.0¶
New Features¶
This release introduces the range request capability for the S3 store driver. This allows users to download specific byte ranges of an image. It can also improve overall download speeds significantly when a client uses multiple streams in parallel to fetch an image, especially when the S3 backend has limited single-stream performance. Note that ranged downloads bypass the Glance image cache and will neither populate nor be served from it. For more details, see the unified spec at https://review.opendev.org/c/openstack/glance-specs/+/1010854 .
Stores can now generate temporary URLs to their images, through the new
get_temp_url()method of the store drivers and theglance_store.get_temp_url()multi-store helper. Whoever holds such a URL can read the image data straight from the backend, without credentials, until it expires. Stores that give them have the newTEMP_URLcapability. The S3 driver supports it: a temporary URL is a presignedGETof the image object, signed with SigV4. It is disabled by default; enable it per store withs3_store_temp_url_enabledand set how long a URL stays valid withs3_store_temp_url_expiry(60 seconds by default, at most 300). URLs are signed fors3_store_region_name, else for the regions3_store_hostimplies, else forus-east-1: sets3_store_region_namefor a bucket in another region. With anhttp://s3_store_host, temporary URLs travel in clear and can be replayed by anyone on the path until they expire: use HTTPS. When temporary URLs are enabled, the S3 driver also redacts the secrets of presigned URLs (the signature and the credential) from thebotocoredebug logs, where they would otherwise be written while the URL is signed.
Upgrade Notes¶
Cinder: Changed default value of
cinder_catalog_infofromvolumev3::publicURLtoblock-storage:cinder:publicURLas the official service name and service type for cinder iscinderandblock-storagerespectively.
The
filesystem_store_datadirsoption has been removed after being deprecated in the Flamingo release. Operators willing to use multiple filesystem stores should use the multistore feature instead.
Support for Pyton 3.10 has been removed. Now Python 3.11 is the minimum version supported.
Deprecation Notes¶
Cinder: Deprecated the default value of
cinder_catalog_infowhich wasvolumev3::publicURL. The new defaultblock-storage:cinder:publicURLis set as the official service name and service type for cinder iscinderandblock-storagerespectively.
Bug Fixes¶
Bug 2174622: Store lookups no longer mutate the live
enabled_backendsconfiguration. This prevents reserved stores from leaking into later discovery responses and avoids iteration failures in callers that inspect the configured backends.
register_store_opts()now only loads the drivers of the stores listed inenabled_backendsinstead of every installed driver. Previously, drivers whose optional dependencies were not installed (for exampleos-brickfor the cinder store) loggedCould not loaderrors at service startup even when they were not configured.