From 5ca39266a96c49ea150304ff0275b9ae93388bb6 Mon Sep 17 00:00:00 2001 From: ramboman Date: Wed, 11 Dec 2019 13:03:55 +0800 Subject: [PATCH] fix the mistralclient set endpoint_type invaild The reason is that mistralclient transfer error parameter for keystoneauth. Closes-Bug: #1854339 (cherry picked from commit c060dd7a1e9d17672e6cf96e07ee13762070b9ea) Change-Id: I37996caf53937468c8d04402e4dc06e23f7e6204 --- mistralclient/auth/keystone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mistralclient/auth/keystone.py b/mistralclient/auth/keystone.py index e8c4445a..cf9ae2fe 100644 --- a/mistralclient/auth/keystone.py +++ b/mistralclient/auth/keystone.py @@ -171,7 +171,7 @@ class KeystoneAuthHandler(mistral_auth.AuthHandler): try: mistral_url = session.get_endpoint( service_type=service_type, - endpoint_type=endpoint_type, + interface=endpoint_type, region_name=region_name ) except Exception: