From 24beec2e47e11c8639e20e5d2289c0c12c7c1908 Mon Sep 17 00:00:00 2001 From: shaofeng_cheng Date: Mon, 24 Apr 2017 11:31:46 +0800 Subject: [PATCH] Add OS_REGION_NAME to admin-openrc.sh.j2 Change-Id: I6c769e5231e9d0e327ef6b9928666369d694f5fe Closes-Bug: #1685692 --- ansible/roles/common/templates/admin-openrc.sh.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/common/templates/admin-openrc.sh.j2 b/ansible/roles/common/templates/admin-openrc.sh.j2 index 955047c861..afd5bf17e5 100644 --- a/ansible/roles/common/templates/admin-openrc.sh.j2 +++ b/ansible/roles/common/templates/admin-openrc.sh.j2 @@ -7,6 +7,7 @@ export OS_PASSWORD={{ keystone_admin_password }} export OS_AUTH_URL={{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}/v3 export OS_INTERFACE=internal export OS_IDENTITY_API_VERSION=3 +export OS_REGION_NAME={{ openstack_region_name }} {% if kolla_enable_tls_external | bool and kolla_external_fqdn_cacert %} export OS_CACERT={{ kolla_external_fqdn_cacert }} {% endif %}