Add option to add config under [cinder-ceph]

Bug #1943878 reported by Mirek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Cinder Charm
New
Undecided
Unassigned

Bug Description

Add option to add config under [cinder-ceph], currently, you can only add custom values under [DEFAULTS] however when I tried to enable image_volume_cache it needs to be added under a backed where you want to use it, [cinder-ceph] in my example. In order not to change cinder.conf manually so Juju won't wipe my change if I do any juju config, I've tried to do cinder.conf.d similar to what you can do with nova.conf.d. However, I don't think cinder search for conf.d as I couldn't get it to work only when I manually added the following changes in cinder.conf I've got cached enabled.

cinder_internal_tenant_project_id=910338c2886f465bb2d567148b0dac13
cinder_internal_tenant_user_id=edb967c574dd4c66becb55989a623c25
image_volume_cache_max_size_gb=300
image_volume_cache_max_count=10
[cinder-ceph]
image_volume_cache_enabled = True

It would be good if you could add some sort regex or search that if the following section/key-value pair is found then replace it or add it, in this case, you could have your extra customization within Juju deployment.

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

While this feature seems to be about a generic request to be able to add config into backend config sections, it should be noted that support for Cinder's image caching just landed in the cinder charm: https://bugs.launchpad.net/charm-cinder/+bug/1869903

Revision history for this message
Mirek (mirek186) wrote :

Thanks, I'll give it a go, but still, I think it would be useful to have a more generic way of "If you know what you doing" configuration.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.