Merge "Add the ability to configure ovn-remote-probe-interval"

This commit is contained in:
Zuul 2019-11-26 00:12:01 +00:00 committed by Gerrit Code Review
commit 0b7945e0ce
2 changed files with 14 additions and 0 deletions

View File

@ -112,6 +112,10 @@ parameters:
description: Additional domain sockets for the docker daemon to bind to (useful for mounting
into containers that launch other containers)
type: comma_delimited_list
OVNRemoteProbeInterval:
description: Probe interval in ms
type: number
default: 60000
conditions:
haproxy_wrapper_enabled: {equals: [{get_param: OVNEnableHaproxyDockerWrapper}, true]}
@ -166,6 +170,7 @@ outputs:
neutron::agents::ovn_metadata::metadata_host: {get_param: [EndpointMap, NovaMetadataCellInternal, host_nobrackets]}
neutron::agents::ovn_metadata::ovsdb_connection_timeout: {get_param: OVNDbConnectionTimeout}
ovn::southbound::port: {get_param: OVNSouthboundServerPort}
neutron::agents::ovn_metadata::ovn_remote_probe_interval: {get_param: OVNRemoteProbeInterval}
neutron::agents::ovn_metadata::debug:
if:
- service_debug_unset

View File

@ -0,0 +1,9 @@
---
features:
- |
This parameter sets inactive probe interval of the JSON session
from ovn-metadata to the OVN SB database. By default this it
is 5s which not be sufficient in loaded systems or during high
control-plane activity spikes, leading to unnecessary reconnections
to OVSDB server. Now it is extended by default to 1 min and it is
configurable by param OVNRemoteProbeInterval.