Add option to add config under [cinder-ceph]
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_
cinder_
image_volume_
image_volume_
[cinder-ceph]
image_volume_
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.
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