From 7880ffffa872f6e6a1d7629fc389e5eb15f45194 Mon Sep 17 00:00:00 2001 From: zhurong Date: Wed, 7 Jun 2017 14:51:01 +0800 Subject: [PATCH] Fix dashboard Authentication failed error Now the dashboard gives the error: Recoverable error: Authentication failed. Missing options: endpoint, username, password, tenant_id, tenant_name This patch add get endpoint when get_auth_plugin. Change-Id: Ifa3013dce13232d1e61f20601b94a28c5df27b57 Closes-bug: #1696313 --- solumclient/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solumclient/client.py b/solumclient/client.py index 7529e19..2a1acc0 100644 --- a/solumclient/client.py +++ b/solumclient/client.py @@ -81,7 +81,7 @@ def get_client(version, **kwargs): or (DEPRECATED): * os_token: pre-existing token to re-use - * os_endpoint: Cloudkitty API endpoint + * os_endpoint: Solum API endpoint or (DEPRECATED): @@ -136,6 +136,7 @@ def get_auth_plugin(**kwargs): service_type=kwargs.get('service_type'), token=kwargs.get('token'), endpoint_type=kwargs.get('endpoint_type'), + endpoint=kwargs.get('endpoint'), cacert=kwargs.get('cacert'), tenant_id=kwargs.get('project_id') or kwargs.get('tenant_id'), username=kwargs.get('username'),