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
This commit is contained in:
parent
7b3ce15377
commit
7880ffffa8
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue