From c2fbfb630e974ae83cab1e839d173dc76eaf437a Mon Sep 17 00:00:00 2001 From: Darren DeJaeger Date: Wed, 6 May 2020 20:40:20 +0000 Subject: [PATCH] Enable Cinder image-volume cache for the 'rbd1' backend Enables and sets some sane, default configuration, based off documentation [0] for the 'rbd1' scoped Cinder backend. When a volume is first created from an image, a new cached image-volume will be created that is owned by the Block Storage Internal Tenant. Subsequent requests to create volumes from that image will clone the cached version instead of downloading the image contents and copying data to the volume. [0]: https://docs.openstack.org/cinder/stein/admin/blockstorage-image-volume-cache.html Change-Id: I1eae74b7058f0c6c0826289cf468033eccecaa8a --- cinder/values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cinder/values.yaml b/cinder/values.yaml index 85344d8387..b6c4586b17 100644 --- a/cinder/values.yaml +++ b/cinder/values.yaml @@ -957,6 +957,9 @@ conf: rados_connect_timeout: -1 rbd_user: cinder rbd_secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337 + image_volume_cache_enabled: True + image_volume_cache_max_size_gb: 200 + image_volume_cache_max_count: 50 rally_tests: run_tempest: false clean_up: |