From 4c04d067f91487b670d1846708029d8793833796 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Tue, 13 Jun 2017 09:17:35 +0200 Subject: [PATCH] Fix skydive analyzer "etcd" config When an external Etcd server is used, config is generated like following: etcd: client_timeout: 100 embeded: no servers: - http://10.200.200.10:2379 "embeded" config has wrong spelling, the good one is "embedded". Hence default config is used (yes), and external Etcd server is not used. Closes-Bug: #1697614 Change-Id: I59ac990b0b865c926b53f829bdfea186fc1e10b1 --- ansible/roles/skydive/templates/skydive-analyzer.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/skydive/templates/skydive-analyzer.conf.j2 b/ansible/roles/skydive/templates/skydive-analyzer.conf.j2 index 62933a513d..9206832360 100644 --- a/ansible/roles/skydive/templates/skydive-analyzer.conf.j2 +++ b/ansible/roles/skydive/templates/skydive-analyzer.conf.j2 @@ -17,13 +17,13 @@ openstack: etcd: client_timeout: 100 {% if enable_etcd == "yes" %} - embeded: no + embedded: false servers: {% for host in groups['etcd'] %} - http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }} {% endfor %} {% else %} - embeded: yes + embedded: true servers: {% for host in groups['skydive-analyzer'] %} - http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }}