summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-03-01 14:54:02 +0000
committerGerrit Code Review <review@openstack.org>2015-03-01 14:54:02 +0000
commitb8cb99bf1de2e84342a44bc5a3db296173628a89 (patch)
treeca40ed90870b752f7313d39428af4e8726661f11
parente483abccbb84a9dd49b266105309610ca0924fb2 (diff)
parent9752febeb6abd7d975af53e95ef1aed7c7d4cb56 (diff)
downloados-client-config-b8cb99bf1de2e84342a44bc5a3db296173628a89.tar.gz
Merge "Allow keystone validation bypass for noauth usage"
-rw-r--r--os_client_config/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py
index 7c50b5d..1be57ce 100644
--- a/os_client_config/config.py
+++ b/os_client_config/config.py
@@ -294,6 +294,10 @@ class OpenStackConfig(object):
if type(config[key]) is not bool:
config[key] = get_boolean(config[key])
+ if 'auth_plugin' in config:
+ if config['auth_plugin'] in ('', 'None', None):
+ validate = False
+
if validate and ksc_auth:
config = self._validate_auth(config)