cinder/releasenotes/notes/shared-backend-config-d841b806354ad5be.yaml
Patrick East 76016fffc9 Add support for shared "backend_defaults" config
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
2017-07-11 18:58:58 +00:00

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.