Current Series Release Notes

4.12.0-6

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 images

    • cache-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 the cache-nodes-list shell command and the list_cached_nodes method on the v2 cache controller.

4.12.0

New Features

  • The image-download command now supports the --prefer parameter 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-info command.