a158432223
The etcd service protocol is currently configured with internal_protocol. The etcd service is not load balanced by a HAProxy container, so there is no proxy layer to do TLS termination when internal_protocol is configured to be "https". Until the etcd service is configured to deploy with native TLS termination, the etcd uses should be independent of internal_protocol, and "http" by default. Change-Id: I730c02331514244e44004aa06e9399c01264c65d Closes-Bug: 1884137
70 lines
1.7 KiB
Django/Jinja
70 lines
1.7 KiB
Django/Jinja
### Skydive agent config file
|
|
|
|
auth:
|
|
analyzer_username: {{ openstack_auth['username'] }}
|
|
analyzer_password: {{ openstack_auth['password'] }}
|
|
|
|
logging:
|
|
level: INFO
|
|
backends:
|
|
- file
|
|
file:
|
|
path: /var/log/kolla/skydive/skydive-agent.log
|
|
|
|
etcd:
|
|
servers:
|
|
{% if enable_etcd | bool %}
|
|
{% for host in groups['etcd'] %}
|
|
- {{ etcd_protocol }}://{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ etcd_client_port }}
|
|
{% endfor %}
|
|
{% else %}
|
|
{% for host in groups['skydive-analyzer'] %}
|
|
- {{ etcd_protocol }}://{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ etcd_client_port }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
analyzers:
|
|
{% for host in groups['skydive-analyzer'] %}
|
|
- {{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ skydive_analyzer_port }}
|
|
{% endfor %}
|
|
|
|
agent:
|
|
listen: {{ 'api' | kolla_address | put_address_in_context('url') }}:{{ skydive_agents_port }}
|
|
flow:
|
|
probes:
|
|
- gopacket
|
|
{% if neutron_plugin_agent in ['openvswitch'] %}
|
|
- ovssflow
|
|
{% endif %}
|
|
topology:
|
|
probes:
|
|
- netlink
|
|
- netns
|
|
- neutron
|
|
{% if neutron_plugin_agent in ['openvswitch'] %}
|
|
- ovsdb
|
|
{% endif %}
|
|
|
|
neutron:
|
|
auth_url: {{ keystone_internal_url }}/v3
|
|
username: {{ openstack_auth['username'] }}
|
|
password: {{ openstack_auth['password'] }}
|
|
tenant_name: {{ openstack_auth['project_name'] }}
|
|
region_name: {{ openstack_region_name }}
|
|
domain_name: Default
|
|
endpoint_type: internal
|
|
|
|
netns:
|
|
run_path: /host/run
|
|
|
|
flow:
|
|
expire: 600
|
|
update: 60
|
|
|
|
{% if neutron_plugin_agent in ['openvswitch'] %}
|
|
ovs:
|
|
ovsdb: tcp://127.0.0.1:{{ ovsdb_port }}
|
|
oflow:
|
|
enable: true
|
|
{% endif %}
|