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
This commit is contained in:
Darren DeJaeger 2020-05-06 20:40:20 +00:00 committed by DeJaeger, Darren (dd118r)
parent 8f7b486b97
commit c2fbfb630e

View File

@ -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: |