From d15f5926244ca3bda5230b052a4dac937e1af308 Mon Sep 17 00:00:00 2001 From: Kamil Sambor Date: Tue, 20 Jul 2021 14:23:31 +0200 Subject: [PATCH] Enable ovn-monitor-all option to ovn-controller With conditional monitoring enabled in OVN, southbound ovsdb-serve takes lot of time in handling the monitoring and sending the updates to all its connected clients. Its takes lot of CPU. With monitor-all option, all ovn-controllers do not enable conditional monitoring there by reducing the load on the Southbound ovsdb-server. Enable this for all deployments is-lowrisk and user shoudn't have posibilities to modified this manually form tht level. Depends-On: https://review.opendev.org/c/openstack/puppet-ovn/+/801455 Closes-Bug: #1936781 Signed-off-by: Kamil Sambor Change-Id: I9014ad0c7fae391dec4ad70bcbc0728667d413c5 (cherry picked from commit bc934d18a47bca5dcfb78f9ab903d3a6042706f5) --- deployment/ovn/ovn-controller-container-puppet.yaml | 1 + releasenotes/notes/ovn-monitor-all-2fefb215c6f7166c.yaml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/ovn-monitor-all-2fefb215c6f7166c.yaml diff --git a/deployment/ovn/ovn-controller-container-puppet.yaml b/deployment/ovn/ovn-controller-container-puppet.yaml index f807b3684a..d837d41b62 100644 --- a/deployment/ovn/ovn-controller-container-puppet.yaml +++ b/deployment/ovn/ovn-controller-container-puppet.yaml @@ -225,6 +225,7 @@ outputs: ovn::controller::hostname: "%{hiera('fqdn_canonical')}" ovn::controller::ovn_remote_probe_interval: {get_param: OVNRemoteProbeInterval} ovn::controller::ovn_openflow_probe_interval: {get_param: OVNOpenflowProbeInterval} + ovn::controller::ovn_monitor_all: true - if: - force_config_drive - nova::compute::force_config_drive: true diff --git a/releasenotes/notes/ovn-monitor-all-2fefb215c6f7166c.yaml b/releasenotes/notes/ovn-monitor-all-2fefb215c6f7166c.yaml new file mode 100644 index 0000000000..4898359951 --- /dev/null +++ b/releasenotes/notes/ovn-monitor-all-2fefb215c6f7166c.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + With conditional monitoring enabled in OVN, southbound ovsdb-serve + takes lot of time in handling the monitoring and sending the updates + to all its connected clients. Its takes lot of CPU. With monitor-all + option, all ovn-controllers do not enable conditional monitoring there + by reducing the load on the Southbound ovsdb-server.