Skip to content
Snippets Groups Projects
Commit 4c04d067 authored by Bertrand Lallau's avatar Bertrand Lallau Committed by Bertrand Lallau
Browse files

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
parent f568358c
No related branches found
No related tags found
No related merge requests found
......@@ -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 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment