Current Series Release Notes¶
4.13.0¶
New Features¶
Client support has been added for the Glance Image API v2.18 cache maintenance endpoints. The following commands have been added to the command line interface:
cache-clean- Clean invalid cache entries and stalled incomplete imagescache-prune- Prune cached images when the cache size exceeds the maximum configured size
These commands require a direct glance-api server endpoint and are only available when image caching is enabled on the Glance service.
Add support for the Glance image-cache API
GET /v2/cache/nodes/{image_id}(list node reference URLs where an image is cached when centralized caching is enabled). This adds thecache-nodes-listshell command and thelist_cached_nodesmethod on the v2 cache controller.
Upgrade Notes¶
Support for Python 3.10 has been removed. Now the minimum python version supported is 3.11.
4.12.0¶
New Features¶
The
image-downloadcommand now supports the--preferparameter to suggest which stores to try when downloading images. The prefer parameter accepts a comma-separated list of store identifiers.If the image is not found in any of the specified stores, Glance will fall back to trying all available stores.
Example usage:
glance image-download <image-id> --prefer store1,store2 --file image.qcow2
Store identifiers are site-specific and can be discovered using the
stores-infocommand.