From 8ec885d04443ee2e73813ee65f0a9ffcda2e34b6 Mon Sep 17 00:00:00 2001 From: Kamil Sambor Date: Mon, 12 Aug 2019 16:53:48 +0200 Subject: [PATCH] Add the ability to configure ovn-remote-probe-interval This parameter sets inactive probe interval of the JSON session from ovn-controller 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. Depends-On: https://review.opendev.org/#/c/675921 Change-Id: Ie7cb761ad3b4a180990de2916d6210d15ec0bf50 Closes-Bug: #1836604 (cherry picked from commit 942dd1367eb1e379528569e719e5b9df45684857) --- puppet/services/ovn-controller.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/puppet/services/ovn-controller.yaml b/puppet/services/ovn-controller.yaml index 52bbc54694..4932718493 100644 --- a/puppet/services/ovn-controller.yaml +++ b/puppet/services/ovn-controller.yaml @@ -62,6 +62,10 @@ parameters: description: | Enable OVS Hardware Offload. This feature supported from OVS 2.8.0 type: boolean + OVNRemoteProbeInterval: + description: Probe interval in ms + type: number + default: 60000 resources: # Merging role-specific parameters (RoleParameters) with the default parameters. @@ -102,6 +106,7 @@ outputs: $NETWORK: {get_param: [ServiceNetMap, NeutronTenantNetwork]} ovn::controller::ovn_bridge: {get_param: OVNIntegrationBridge} nova::compute::force_config_drive: {if: [force_config_drive, true, false]} + ovn::controller::ovn_remote_probe_interval: {get_param: OVNRemoteProbeInterval} tripleo.ovn_controller.firewall_rules: '118 neutron vxlan networks': proto: 'udp'