Ask Your Question

Cinder Volume Cache

asked 2019-07-22 09:11:50 -0600

fgonzales gravatar image

Hi All, I'm creating a VM with the root volume based on a image. Basic a volume from an image.

So I followed these steps to enable cinder cache ( Editing my cinder.conf in my controller. But, it's downloading the image in every new VM request.

My question is, is there a way to create a VM when I create a Volume based on an image using a cache? I'd not like to download the image in every VM request.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-07-22 23:44:34 -0600

arunx gravatar image

This is test in Mitaka on Ceph Storage

Enable Cinder Cache Image on Ceph

Create a normal user and a normal project. No need to have any special privileges on the user or project

If you use Juju as your deployment tool, Add the following into /etc/cinder/cinder.conf ( via juju config-flags, cinder cache via template )


cinder_internal_tenant_project_id = PROJECT_ID
cinder_internal_tenant_user_id = USER_ID

image_volume_cache_enabled = True
image_volume_cache_max_size_gb = 400
image_volume_cache_max_count = 20

first time server creation would be slow due to first time cache, 2nd time server creation from the same Image creates faster.

Reference (

edit flag offensive delete link more


Great, if I'm not using ceph, could I just add after a cinder-volume tag? That is the backend tag, right? (cinder-ceph) In my currently case I'm not using ceph, only cinder...

fgonzales gravatar imagefgonzales ( 2019-07-23 07:22:45 -0600 )edit

It worked, thanks @arunx. I just needed to use my backend tag on that.

fgonzales gravatar imagefgonzales ( 2019-07-26 14:20:50 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-07-22 09:11:50 -0600

Seen: 246 times

Last updated: Jul 22 '19