summaryrefslogtreecommitdiff
path: root/os_client_config/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'os_client_config/config.py')
-rw-r--r--os_client_config/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py
index 015a783..1840d18 100644
--- a/os_client_config/config.py
+++ b/os_client_config/config.py
@@ -314,6 +314,12 @@ class OpenStackConfig(object):
target = cloud[key]
del cloud[key]
cloud[target_key] = target
+ # Because we force alignment to v3 nouns, we want to force
+ # use of the auth plugin that can do auto-selection and dealing
+ # with that based on auth parameters. v2password is basically
+ # completely broken
+ if cloud['auth_type'] == 'v2password':
+ cloud['auth_type'] = 'password'
return cloud
def _fix_backwards_interface(self, cloud):