Bug 1723463

Summary: OVN: bump the ovn-remote-probe-interval for ovn-controller
Product: Red Hat OpenStack Reporter: Lucas Alvares Gomes <lmartins>
Component: openstack-tripleo-heat-templatesAssignee: Kamil Sambor <ksambor>
Status: CLOSED CURRENTRELEASE QA Contact: Roman Safronov <rsafrono>
Severity: high Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: afazekas, dhill, ekuris, jlibosva, ksambor, lhh, mburns, rsafrono, slinaber, twilson
Target Milestone: z9Keywords: TestOnly, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.3.1-74.el7ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1797575 (view as bug list) Environment:
Last Closed: 2021-03-24 12:04:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1740524    
Bug Blocks: 1740335, 1797575    

Description Lucas Alvares Gomes 2019-06-24 14:57:01 UTC
Description of problem:

For some deployments the default ovn-remove-probe-interval of 5000ms (5s) [0] is not enough.

If the ovn-controller takes more time recomputing the flows than the probe interval, chances are that it will try to reconnected to the SB OVSDB causing a full re-sync of the DB with it's in-memory replica (costy).

In order to change this default one can run the following command where the ovn-controller is running:

$ ovs-vsctl set open . external_ids:ovn-remote-probe-interval=<TIME IN MS>

We need to make it either configurable via Tripleo-Heat-Templates.

Perhaps even thing about a "saner" default to accommodate for bigger deployments which requires ovn-controller to process a lot of flows (e.g having a lot of SG and SG rules would result in a lot of flows being created for ACLs, specially in OSP 13 where we do not have Port Groups).

[0] https://github.com/openvswitch/ovs/blob/88d2ac50aa4e3383e185b698a1b3a44a6f7b4f80/ovn/controller/ovn-controller.c#L75


Version-Release number of selected component (if applicable):
OSP-13 and forward

Comment 1 Lucas Alvares Gomes 2019-07-09 14:13:57 UTC
*** Bug 1716394 has been marked as a duplicate of this bug. ***

Comment 12 Lon Hohberger 2019-09-04 10:44:16 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-8.3.1-79.el7ost.  This build is available now.