From f8bbba55312876e71ef5415b530d3ee1fe95b648 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Mon, 10 Jul 2017 20:20:25 +0200 Subject: [PATCH] Fix designate-api listen interface designate-api service is launched using dns_interface instead of api_interface. Haproxy is using the good interface (api_interface), hence designate_api can't be accessed. Change-Id: I24e356c167c931a6b69a283efba12117fcff936a Closes-Bug: #1703425 --- ansible/roles/designate/templates/designate.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/designate/templates/designate.conf.j2 b/ansible/roles/designate/templates/designate.conf.j2 index d722c8230b..cee94fa66d 100644 --- a/ansible/roles/designate/templates/designate.conf.j2 +++ b/ansible/roles/designate/templates/designate.conf.j2 @@ -11,7 +11,7 @@ default_pool_id = {{ designate_pool_id }} workers = {{ openstack_service_workers }} [service:api] -listen = {{ hostvars[inventory_hostname]['ansible_' + dns_interface]['ipv4']['address'] }}:{{ designate_api_port }} +listen = {{ api_interface_address }}:{{ designate_api_port }} api_base_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ designate_api_port }} enabled_extensions_v2 = 'quotas, reports' workers = {{ openstack_service_workers }}