Add a ovsdb_timeout variable for better configuration

ovsdb_timeout value need be increased when has lots of ports.

Change-Id: I86a8cc7b66dd262282a148f95d22c504fbe81409
Closes-Bug: #1914011
This commit is contained in:
Jeffrey Zhang 2021-02-01 16:26:39 +08:00
parent 045c2f1565
commit 90435f6a9d
5 changed files with 7 additions and 1 deletions

View File

@ -530,6 +530,8 @@ neutron_tls_proxy_extra_volumes: "{{ neutron_extra_volumes }}"
dhcp_agents_per_network: 2 dhcp_agents_per_network: 2
max_l3_agents_per_router: 3 max_l3_agents_per_router: 3
ovsdb_timeout: 10
neutron_logging_debug: "{{ openstack_logging_debug }}" neutron_logging_debug: "{{ openstack_logging_debug }}"
openstack_neutron_auth: "{{ openstack_auth }}" openstack_neutron_auth: "{{ openstack_auth }}"

View File

@ -19,3 +19,4 @@ dhcp_override_mac = {{ vmware_dvs_dhcp_override_mac }}
[ovs] [ovs]
ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }} ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }}
ovsdb_timeout = {{ ovsdb_timeout }}

View File

@ -28,3 +28,4 @@ vpn_device_driver = {{ vpn_device_driver }}
[ovs] [ovs]
ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }} ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }}
ovsdb_timeout = {{ ovsdb_timeout }}

View File

@ -10,7 +10,8 @@ log_dir = /var/log/kolla/neutron
metadata_workers = 2 metadata_workers = 2
[ovs] [ovs]
ovsdb_connection = tcp:127.0.0.1:6640 ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }}
ovsdb_timeout = {{ ovsdb_timeout }}
[ovn] [ovn]
ovn_nb_connection = {{ ovn_nb_connection }} ovn_nb_connection = {{ ovn_nb_connection }}

View File

@ -19,6 +19,7 @@ bridge_mappings = {% for bridge in neutron_bridge_name.split(',') %}physnet{{ lo
{% endif %} {% endif %}
datapath_type = {{ ovs_datapath }} datapath_type = {{ ovs_datapath }}
ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }} ovsdb_connection = tcp:127.0.0.1:{{ ovsdb_port }}
ovsdb_timeout = {{ ovsdb_timeout }}
local_ip = {{ tunnel_interface_address }} local_ip = {{ tunnel_interface_address }}
{% if enable_nova_fake | bool %} {% if enable_nova_fake | bool %}
integration_bridge = br-int-{{ item }} integration_bridge = br-int-{{ item }}