Register state_path opts and add it to sample conf

the state_path option is used in different places in cinder.conf
but the option itself was not available as config option.

Change-Id: Ic59371f99471b432c2305fdc27dc0d0957ee193e
Closes-Bug: #1620969
This commit is contained in:
Thomas Bechtold 2016-09-07 11:53:12 +02:00
parent 4ea6d587ab
commit d797294b67
2 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,7 @@ global_opts = [
'account.'),
]
CONF.register_opts(core_opts)
CONF.register_opts(global_opts)

View File

@ -240,6 +240,7 @@ def list_opts():
cinder_volume_drivers_nexenta_options.NEXENTA_RRMGR_OPTS,
cinder_volume_drivers_nexenta_options.NEXENTA_EDGE_OPTS,
cinder_exception.exc_log_opts,
cinder_common_config.core_opts,
cinder_common_config.global_opts,
cinder_scheduler_weights_capacity.capacity_weight_opts,
cinder_volume_drivers_sheepdog.sheepdog_opts,