cinder/cinder
Kaitlin Farr 96948e48b1 Modifies override logic for key_manager
Makes the logic for overriding config options for the key_manager
more robust.

Before this patch, the override logic seemed to be called before the global
CONF object has been populated with values from the configuration file.
ConfKeyManager, the default for if no value had been specified, would be
used to override the value for api_class. Then when CONF was populated
with the actual values, the ConfKeyManager override value would still be
set.

This patch makes the logic a little bit more robust so that the value
is only overriden if explicitly passed into the function, not at the
global scope outside of the function.

SecurityImpact

Closes-Bug: 1621109
Change-Id: Id5f83f69fd3a877459fab924c005047e55f98c7b
(cherry picked from commit b66d4d997c)
2016-09-26 13:57:43 -04:00
..
api Merge "Add strict Boolean checking for storage pools" 2016-09-13 19:24:53 +00:00
backup Merge "Fix invalid services caused by enabled_backends" 2016-09-08 17:05:11 +00:00
brick Remove race condition from lvextend 2016-08-01 20:26:14 +00:00
cmd Merge "Fix invalid services caused by enabled_backends" 2016-09-08 17:05:11 +00:00
common Register state_path opts and add it to sample conf 2016-09-07 11:53:12 +02:00
compute Fix the interface to call update_server_volume 2016-08-18 11:45:47 +08:00
config Replace key manager with Castellan 2016-08-29 10:19:10 +08:00
consistencygroup Removed RPC topic config options 2016-08-29 11:16:53 +05:30
db Merge "Add group snapshots - APIs" 2016-08-31 16:47:09 +00:00
group Save volume_type/group_type uuid into db when creating group 2016-09-12 06:37:17 -04:00
hacking Revert "Add hacking check to prevent assert_called_once" 2016-05-24 12:36:22 -04:00
image Limit memory & CPU when running qemu-img info 2016-09-22 20:48:27 +00:00
interface Driver documentation cleanup 2016-08-25 15:51:37 +05:30
keymgr Modifies override logic for key_manager 2016-09-26 13:57:43 -04:00
locale Imported Translations from Zanata 2016-09-18 18:56:49 +00:00
message Add pagination support to messages 2016-05-27 10:49:00 +00:00
objects Fix lazy loading cluster field from Service OVO 2016-09-02 17:50:31 +02:00
replication Remove unused logging import and LOG global var 2016-05-20 17:17:38 +08:00
scheduler Merge "Fix request_spec conversion from o.vo to dict" into stable/newton 2016-09-26 05:00:50 +00:00
tests Modifies override logic for key_manager 2016-09-26 13:57:43 -04:00
transfer check quota per_volume_gigabytes for transfer-accept 2016-09-02 03:13:25 +00:00
volume Merge "Dell SC: ISCSI initialize_connection fixes" into stable/newton 2016-09-26 05:08:21 +00:00
wsgi Remove unused logging import and LOG global var 2016-05-20 17:17:38 +08:00
zonemanager Add supported driver checks to Zone Manager 2016-09-01 15:45:42 -07:00
__init__.py Re-enabled hacking checks for H105 2016-01-05 11:22:40 +02:00
context.py Use to_policy_values for enforcing policy 2016-09-13 01:13:15 +00:00
coordination.py update coordination.Lock.release's docstring 2016-06-19 01:55:35 -04:00
exception.py Add supported driver checks to Zone Manager 2016-09-01 15:45:42 -07:00
flow_utils.py
i18n.py Remove unused gettextutils from oslo-incubator 2015-10-16 15:22:49 -05:00
manager.py Add cluster job distribution 2016-07-22 21:00:11 +02:00
opts.py Register state_path opts and add it to sample conf 2016-09-07 11:53:12 +02:00
policy.py Use to_policy_values for enforcing policy 2016-09-13 01:13:15 +00:00
quota.py Add generic volume groups 2016-07-16 19:34:39 -04:00
quota_utils.py Handle API NotFound exceptions at WSGI level 2016-07-22 21:06:13 +02:00
rpc.py Add volume RPC API v3.0 2016-09-15 15:02:01 +02:00
service.py Merge "Added config option to enable SSL" 2016-09-15 02:01:23 +00:00
ssh_utils.py Fix sshpool.remove code 2016-03-01 03:20:04 +00:00
test.py Merge "Stop using mox in unit/*.py tests (1/2)" 2016-08-30 10:51:16 +00:00
utils.py Modifies override logic for key_manager 2016-09-26 13:57:43 -04:00
version.py