Merge "Fix cluster mode for skydive"

This commit is contained in:
Zuul 2018-02-07 11:27:08 +00:00 committed by Gerrit Code Review
commit 8b5c937c58
2 changed files with 7 additions and 2 deletions
ansible/roles/skydive/templates

@ -23,7 +23,7 @@ openstack:
etcd:
servers:
{% if enable_etcd == "yes" %}
{% if enable_etcd | bool %}
{% for host in groups['etcd'] %}
- http://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ etcd_client_port }}
{% endfor %}

@ -19,9 +19,14 @@ openstack:
domain_name: Default
endpoint_type: internal
analyzers:
{% for host in groups['skydive-analyzer'] %}
- {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ skydive_analyzer_port }}
{% endfor %}
etcd:
client_timeout: 100
{% if enable_etcd == "yes" %}
{% if enable_etcd | bool %}
embedded: false
servers:
{% for host in groups['etcd'] %}