From 0856011478e3f5cca51cf4e33637a6056f53ea2b Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Wed, 10 Oct 2018 10:49:42 -0400 Subject: [PATCH] Sets ODL OVSDB inactivity probe timer Defaults the ODL OVSDB inactivity probe timer to 180s. This value is more suitable for large number of compute nodes as the default ODL value of 5s causes too much stress on the controller in large scale environments. Closes-Bug: 1797128 Change-Id: I74a8c40b609adec97a27602700bbfa7203ad031f Signed-off-by: Tim Rozet (cherry picked from commit 2006b8218d66a0a88f3cd970b9ebf40e3e7a793e) --- puppet/services/opendaylight-api.yaml | 6 ++++++ ...endaylight-inactivity-probe-config-a89f6dcd204192a8.yaml | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 puppet/services/releasenotes/notes/add-opendaylight-inactivity-probe-config-a89f6dcd204192a8.yaml diff --git a/puppet/services/opendaylight-api.yaml b/puppet/services/opendaylight-api.yaml index 54a816eafe..0952b71b3a 100644 --- a/puppet/services/opendaylight-api.yaml +++ b/puppet/services/opendaylight-api.yaml @@ -94,6 +94,11 @@ parameters: Note, these options are in addition to the default Java options set by the karaf/ODL boot scripts and IP version based flag set by 'opendaylight' class. + OpenDaylightInactivityProbe: + description: Time in millseconds before an inactivity probe is sent via + OVSDB to OVS + type: number + default: 180000 parameter_groups: - label: deprecated @@ -147,6 +152,7 @@ outputs: opendaylight::snat_mechanism: {get_param: OpenDaylightSNATMechanism} opendaylight::log_mechanism: {get_param: OpenDaylightLogMechanism} opendaylight::java_opts: {get_param: OpenDaylightJavaOpts} + opendaylight::inactivity_probe: {get_param: OpenDaylightInactivityProbe} - if: - internal_tls_enabled diff --git a/puppet/services/releasenotes/notes/add-opendaylight-inactivity-probe-config-a89f6dcd204192a8.yaml b/puppet/services/releasenotes/notes/add-opendaylight-inactivity-probe-config-a89f6dcd204192a8.yaml new file mode 100644 index 0000000000..bc3b702fc1 --- /dev/null +++ b/puppet/services/releasenotes/notes/add-opendaylight-inactivity-probe-config-a89f6dcd204192a8.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + OpenDaylight inactivity probe for setting the OVSDB timeout now defaults + to 180s. This helps fix scale issues for large number of computes nodes + in OpenDaylight deployments.