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
This commit is contained in:
Bertrand Lallau 2017-06-13 09:17:35 +02:00 committed by Bertrand Lallau
parent f568358c63
commit 4c04d067f9

View File

@ -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 }}