From e31dede2b03a13f4b9c35f697bc849ba09e2fd8c Mon Sep 17 00:00:00 2001 From: liyingjun Date: Sat, 10 Sep 2016 10:08:49 +0800 Subject: [PATCH] Fix generated sahara conf There should be a blank line between 'transport_url' and 'use_neutron = True', otherwise these line will be merge into one line after rendering. TrivialFix Change-Id: I66d14d5bc4b03b450cdcc0f7ac80548ed90bcd2d --- ansible/roles/sahara/templates/sahara.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/sahara/templates/sahara.conf.j2 b/ansible/roles/sahara/templates/sahara.conf.j2 index 9f47f3db7c..9cf162daef 100644 --- a/ansible/roles/sahara/templates/sahara.conf.j2 +++ b/ansible/roles/sahara/templates/sahara.conf.j2 @@ -4,6 +4,7 @@ log_dir = /var/log/kolla/sahara port = {{ sahara_api_port }} host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} 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 %} + use_neutron = True api_workers = 2 use_floating_ips = False