From 1763afc2558050784e672f334b7833e20a74eee3 Mon Sep 17 00:00:00 2001 From: Xing Zhang Date: Fri, 10 Apr 2020 21:14:18 +0800 Subject: [PATCH] Set mistral to use internalURL in admin-openrc.sh mistralclient osc plugin does not support cacert and insecure [1] mistralclient interface support fixed in [2] [1] https://bugs.launchpad.net/python-mistralclient/+bug/1715091 [2] https://review.opendev.org/#/q/topic:bug/1854339 Change-Id: I44726b12358bc3c5898ba952371fb838693aca2c --- ansible/roles/common/templates/admin-openrc.sh.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/roles/common/templates/admin-openrc.sh.j2 b/ansible/roles/common/templates/admin-openrc.sh.j2 index 0659a350f6..1d7ab04ce2 100644 --- a/ansible/roles/common/templates/admin-openrc.sh.j2 +++ b/ansible/roles/common/templates/admin-openrc.sh.j2 @@ -12,6 +12,9 @@ export OS_ENDPOINT_TYPE=internalURL {% if enable_manila | bool %} export OS_MANILA_ENDPOINT_TYPE=internalURL {% endif %} +{% if enable_mistral | bool %} +export OS_MISTRAL_ENDPOINT_TYPE=internalURL +{% endif %} export OS_IDENTITY_API_VERSION=3 export OS_REGION_NAME={{ openstack_region_name }} export OS_AUTH_PLUGIN=password