
We have been using --db-nb-create-insecure-remote=yes - that results a TCP method is set by ovn-ctl script to run ovsdb-server. Downside is - we can't configure inactivity probe on that connection. Closes-Bug: #1917484 Change-Id: I550aa4fe92aadea2a49ca5aff49c0183609b9470
78 lines
2.8 KiB
YAML
78 lines
2.8 KiB
YAML
---
|
|
ovn_db_services:
|
|
ovn-northd:
|
|
container_name: ovn_northd
|
|
group: ovn-northd
|
|
enabled: true
|
|
image: "{{ ovn_northd_image_full }}"
|
|
volumes: "{{ ovn_northd_default_volumes + ovn_northd_extra_volumes }}"
|
|
dimensions: "{{ ovn_northd_dimensions }}"
|
|
ovn-nb-db:
|
|
container_name: ovn_nb_db
|
|
group: ovn-nb-db
|
|
enabled: true
|
|
image: "{{ ovn_nb_db_image_full }}"
|
|
volumes: "{{ ovn_nb_db_default_volumes + ovn_nb_db_extra_volumes }}"
|
|
dimensions: "{{ ovn_nb_db_dimensions }}"
|
|
ovn-sb-db:
|
|
container_name: ovn_sb_db
|
|
group: ovn-sb-db
|
|
enabled: true
|
|
image: "{{ ovn_sb_db_image_full }}"
|
|
volumes: "{{ ovn_sb_db_default_volumes + ovn_sb_db_extra_volumes }}"
|
|
dimensions: "{{ ovn_sb_db_dimensions }}"
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
ovn_tag: "{{ openstack_tag }}"
|
|
|
|
ovn_northd_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/ovn-northd"
|
|
ovn_northd_tag: "{{ ovn_tag }}"
|
|
ovn_northd_image_full: "{{ ovn_northd_image }}:{{ ovn_northd_tag }}"
|
|
|
|
ovn_nb_db_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/ovn-nb-db-server"
|
|
ovn_nb_db_tag: "{{ ovn_tag }}"
|
|
ovn_nb_db_image_full: "{{ ovn_nb_db_image }}:{{ ovn_nb_db_tag }}"
|
|
|
|
ovn_sb_db_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/ovn-sb-db-server"
|
|
ovn_sb_db_tag: "{{ ovn_tag }}"
|
|
ovn_sb_db_image_full: "{{ ovn_sb_db_image }}:{{ ovn_sb_db_tag }}"
|
|
|
|
ovn_northd_dimensions: "{{ default_container_dimensions }}"
|
|
ovn_nb_db_dimensions: "{{ default_container_dimensions }}"
|
|
ovn_sb_db_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
ovn_northd_default_volumes:
|
|
- "{{ node_config_directory }}/ovn-northd/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
ovn_nb_db_default_volumes:
|
|
- "{{ node_config_directory }}/ovn-nb-db/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "ovn_nb_db:/var/lib/openvswitch/ovn-nb/"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
ovn_sb_db_default_volumes:
|
|
- "{{ node_config_directory }}/ovn-sb-db/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "ovn_sb_db:/var/lib/openvswitch/ovn-sb/"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
ovn_db_extra_volumes: "{{ default_extra_volumes }}"
|
|
ovn_northd_extra_volumes: "{{ ovn_db_extra_volumes }}"
|
|
ovn_nb_db_extra_volumes: "{{ ovn_db_extra_volumes }}"
|
|
ovn_sb_db_extra_volumes: "{{ ovn_db_extra_volumes }}"
|
|
|
|
#####
|
|
# OVN
|
|
#####
|
|
# Configure OVN remote probe interval time in ms
|
|
ovn_remote_probe_interval: "60000"
|
|
# Configure OVN openflow interval in s
|
|
ovn_openflow_probe_interval: "60"
|
|
# Configure OVN DB inactivity probe time in ms
|
|
ovn_db_inactivity_probe: "60000"
|
|
ovn_sb_db_inactivity_probe: "{{ ovn_db_inactivity_probe }}"
|
|
ovn_nb_db_inactivity_probe: "{{ ovn_db_inactivity_probe }}"
|