Use internal interface instead of public interface

In some case, public interface may not reachable in internal.

Change-Id: Ibcdef571a6814e6626216fe33028e5e69889b4f2
Closes-Bug: #1670259
(cherry picked from commit 57dc5b3e36)
This commit is contained in:
Jeffrey Zhang 2017-03-06 14:08:35 +08:00
parent 163cadcfca
commit ed483fda23
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ export OS_TENANT_NAME=admin
export OS_USERNAME=admin
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
{% if kolla_enable_tls_external | bool and kolla_external_fqdn_cacert %}
export OS_CACERT={{ kolla_external_fqdn_cacert }}

View File

@ -2,6 +2,7 @@
- name: Waiting for nova-compute service up
command: >
docker exec kolla_toolbox openstack
--os-interface internal
--os-auth-url {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}/v3
--os-identity-api-version 3
--os-project-domain-name default