Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 48b5696b authored by Kevin TIBI's avatar Kevin TIBI
Browse files

Fix cluster mode for skydive

If we use multiple skydive analyzers, we need to add this configuration.
Works with one node.

Change-Id: I9b52bf184e269d314e2af2ac80dc45557e3533af
parent 70a50993
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ openstack: ...@@ -23,7 +23,7 @@ openstack:
etcd: etcd:
servers: servers:
{% if enable_etcd == "yes" %} {% if enable_etcd | bool %}
{% 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 %}
......
...@@ -19,9 +19,14 @@ openstack: ...@@ -19,9 +19,14 @@ openstack:
domain_name: Default domain_name: Default
endpoint_type: internal endpoint_type: internal
analyzers:
{% for host in groups['skydive-analyzer'] %}
- {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ skydive_analyzer_port }}
{% endfor %}
etcd: etcd:
client_timeout: 100 client_timeout: 100
{% if enable_etcd == "yes" %} {% if enable_etcd | bool %}
embedded: false embedded: false
servers: servers:
{% for host in groups['etcd'] %} {% for host in groups['etcd'] %}
......
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