76016fffc9
This gives a new config section that is shared for all enabled_backends in a cinder.conf. This is optional but can be used like: [DEFAULT] ... enabled_backends=lvm-1,lvm-2 ... [backend_defaults] image_volume_cache_enabled = True volume_clear = none iscsi_helper = tgtadm volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver [lvm-1] volume_group = stack-volumes-lvm-1 [lvm-2] volume_group = stack-volumes-lvmd-2 lvm_type = thin This also sets up the config helper to be easily refactored to remove support for DEFAULT stanza configured backends. DocImpact: Need to document upgrade path and new recommended config. Implements: blueprint shared-backend-config Change-Id: I2f94118b32076f264b3cf21caa259785fd415167
5 lines
242 B
YAML
5 lines
242 B
YAML
---
|
|
features:
|
|
- New config format to allow for using shared Volume Driver configuration
|
|
defaults via the [backend_defaults] stanza. Config options defined there
|
|
will be used as defaults for each backend enabled via enabled_backends. |