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:
parent
f568358c63
commit
4c04d067f9
@ -17,13 +17,13 @@ openstack:
|
|||||||
etcd:
|
etcd:
|
||||||
client_timeout: 100
|
client_timeout: 100
|
||||||
{% if enable_etcd == "yes" %}
|
{% if enable_etcd == "yes" %}
|
||||||
embeded: no
|
embedded: false
|
||||||
servers:
|
servers:
|
||||||
{% for host in groups['etcd'] %}
|
{% for host in groups['etcd'] %}
|
||||||
- http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }}
|
- http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
embeded: yes
|
embedded: true
|
||||||
servers:
|
servers:
|
||||||
{% for host in groups['skydive-analyzer'] %}
|
{% for host in groups['skydive-analyzer'] %}
|
||||||
- http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }}
|
- http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }}
|
||||||
|
Loading…
Reference in New Issue
Block a user