cinder/cinder
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
..
api Show user_id when cinder snapshot-show 2017-06-27 22:33:33 -04:00
backup Merge "Fix wrong usage of rbd.list_snaps return value" 2017-07-06 17:44:20 +00:00
brick LVM: Don't initialize VG with lvm_type='auto' 2017-07-05 13:20:35 -04:00
cmd Merge "Remove deprecated 'host' option for cinder-volume" 2017-06-27 14:38:20 +00:00
common Add service dynamic log change/query 2017-05-16 13:37:35 +02:00
compute Fix the inappropriate parameter name 2017-07-06 13:41:06 +08:00
config Move driver options to "backend_defaults" section 2017-07-03 16:42:03 +02:00
consistencygroup Merge "Add quota limit check and enhance roll back for cg create" 2017-03-20 13:13:08 +00:00
db Modify the length of project_id for Messages 2017-07-06 12:32:41 +05:30
group Use GroupStatus enum field 2017-07-02 16:46:10 +08:00
hacking Update log translation hacking rule 2017-06-29 04:05:52 -04:00
image Fix image cache db query when limits are enabled 2017-06-30 11:22:19 -07:00
interface Rename method 'delete' to 'delete_backup' in backup drivers 2017-07-04 13:35:03 +03:00
keymgr Remove log translations 2017-03-19 14:59:57 +00:00
locale Imported Translations from Zanata 2016-10-15 07:34:30 +00:00
message Optimize: Replace 'fields.Enum' with 'object' 2017-07-04 16:34:42 +08:00
objects Merge "Fix connection_info field in VolumeAttachment object" 2017-06-27 10:27:50 +00:00
scheduler Merge "Enable H904 check" 2017-07-08 16:37:08 +00:00
tests Add support for shared "backend_defaults" config 2017-07-11 18:58:58 +00:00
transfer Trivial fix typos while reading code 2017-05-04 10:27:57 +07:00
volume Add support for shared "backend_defaults" config 2017-07-11 18:58:58 +00:00
wsgi Remove unused logging import and LOG global var 2016-05-20 17:17:38 +08:00
zonemanager Trivial fix typos 2017-06-01 09:25:28 +07:00
__init__.py Set EVENTLET_NO_GREENDNS for IPv6 and dnspython compat 2016-11-11 13:19:07 -06:00
context.py Remove log translations 2017-03-19 14:59:57 +00:00
coordination.py coordination: remove un-used method is_active() 2017-05-18 21:17:52 +02:00
exception.py Remove dothill driver 2017-06-30 19:34:21 -04:00
flow_utils.py Fix logging traceback in service logs 2016-12-20 12:39:07 +05:30
i18n.py Remove log translations 2017-03-19 14:59:57 +00:00
manager.py Remove periodic_tasks method from base manager 2017-07-06 12:26:40 +03:00
opts.py Move driver options to "backend_defaults" section 2017-07-03 16:42:03 +02:00
policy.py Use to_policy_values for enforcing policy 2016-09-13 01:13:15 +00:00
quota.py Periodic task to clean expired reservation 2017-05-30 22:21:38 +08:00
quota_utils.py Add Generic Volume Group Into Quota Management 2017-05-26 01:43:23 +00:00
rpc.py Remove deprecated oslo_messaging.get_transport 2017-06-13 14:25:38 +07:00
service.py Remove periodic_tasks method from base manager 2017-07-06 12:26:40 +03:00
ssh_utils.py Remove log translations 2017-03-19 14:59:57 +00:00
test.py Tests: Disallow use of assertTrue(str) 2017-06-15 12:09:52 -04:00
utils.py Merge "Windows: case insensitive path comparisons" 2017-06-27 02:19:35 +00:00
version.py