Fix senlin api bind host

Change-Id: I4f24bcc69e02eaa961b5791b3986e969368c50a8
Closes-Bug: #1625691
This commit is contained in:
Eduardo Gonzalez 2016-09-20 17:27:31 +02:00
parent d10015dbea
commit 9e324268d0
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,12 @@ log_dir = /var/log/kolla/senlin
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
{% if service_name == 'senlin-api' %}
[senlin_api]
bind_host = {{ api_interface_address }}
bind_port = {{ senlin_api_port }}
{% endif %}
[authentication]
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}
service_username = {{ senlin_keystone_user }}