diff --git a/ansible/roles/octavia/templates/octavia.conf.j2 b/ansible/roles/octavia/templates/octavia.conf.j2 index 6a8eef618c..35eae99ffc 100644 --- a/ansible/roles/octavia/templates/octavia.conf.j2 +++ b/ansible/roles/octavia/templates/octavia.conf.j2 @@ -3,10 +3,9 @@ debug = {{ octavia_logging_debug }} log_dir = /var/log/kolla/octavia -api_handler = queue_producer - 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 %} +[api_settings] bind_host = {{ api_interface_address }} bind_port = {{ octavia_api_port }}