Bug 1723463 - OVN: bump the ovn-remote-probe-interval for ovn-controller
Summary: OVN: bump the ovn-remote-probe-interval for ovn-controller
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: z9
: 13.0 (Queens)
Assignee: Kamil Sambor
QA Contact: Roman Safronov
URL:
Whiteboard:
: 1716394 (view as bug list)
Depends On: 1740524
Blocks: 1740335 1797575
TreeView+ depends on / blocked
 
Reported: 2019-06-24 14:57 UTC by Lucas Alvares Gomes
Modified: 2021-06-21 13:15 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.3.1-74.el7ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1797575 (view as bug list)
Environment:
Last Closed: 2021-03-24 12:04:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 670861 0 'None' MERGED Add the ability to configure ovn-remote-probe-interval 2021-02-16 12:24:37 UTC
OpenStack gerrit 670864 0 'None' MERGED Add the ability to configure ovn-remote-probe-interval 2021-02-16 12:24:37 UTC
Red Hat Knowledge Base (Solution) 4292521 0 None None None 2019-07-18 19:38:02 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.