Use internalURL for internal communication

When using separate networks for external APIs and internal
APIs, services need to be configured to use the internal APIs.
The default is typically publicURL.

TrivialFix

Change-Id: I24da63220a65e210c37d9f24b6d76a0031d66f3d
This commit is contained in:
Dave McCowan 2016-03-05 12:22:55 -05:00
parent b0b891ed60
commit 1c31951b85
3 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,8 @@ registry_host = {{ kolla_internal_fqdn }}
show_image_direct_url= True show_image_direct_url= True
{% endif %} {% endif %}
cinder_catalog_info = volume:cinder:internalURL
[database] [database]
connection = mysql+pymysql://{{ glance_database_user }}:{{ glance_database_password }}@{{ glance_database_address }}/{{ glance_database_name }} connection = mysql+pymysql://{{ glance_database_user }}:{{ glance_database_password }}@{{ glance_database_address }}/{{ glance_database_name }}

View File

@ -65,3 +65,6 @@ auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_publi
[oslo_messaging_notifications] [oslo_messaging_notifications]
driver = noop driver = noop
[clients]
endpoint_type = internalURL

View File

@ -12,6 +12,7 @@ bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4'][
bind_port = {{ neutron_server_port }} bind_port = {{ neutron_server_port }}
api_paste_config = /usr/share/neutron/api-paste.ini api_paste_config = /usr/share/neutron/api-paste.ini
endpoint_type = internalURL
# NOTE(SamYaple): We must specify this value here rather than the metadata conf # NOTE(SamYaple): We must specify this value here rather than the metadata conf
# because it is used by the l3 and dhcp agents. The reason the path has 'kolla' # because it is used by the l3 and dhcp agents. The reason the path has 'kolla'