Bug 1753845

Summary: ovn-controller recomputing flows for any change into the external_ids columns of certail SB tables.
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Numan Siddique <nusiddiq>
Component: ovn2.11Assignee: Numan Siddique <nusiddiq>
Status: CLOSED CURRENTRELEASE QA Contact: haidong li <haili>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: FDP 19.GCC: ctrautma, haili, yalli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-13 17:35:24 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:

Description Numan Siddique 2019-09-20 04:21:17 UTC
Description of problem:

If CMS updates the external_ids column of logical_switch_port/logical_router_port, ovn-northd updates the same to the corresponding Port_Binding row. And this causes ovn-controller to wakeup and recompute flows. This results in unnecessary CPU usage

Version-Release number of selected component (if applicable):


How reproducible:

Run
ovn-nbctl set logical_switch_port <PORT_NAME> external_ids:foo=bar in a continuous loop and notice the notice the ovn-controller log file and the CPU usage of ovn-controller.

This would result in 100% cpu usage.

Steps to Reproduce:
1.
2.
3.

Actual results:

ovn-controller should not recompute logical flows and this should not result in 100% cpu usage.


Expected results:


Additional info:

Comment 1 Numan Siddique 2019-09-20 04:23:41 UTC
This issue is seen in a customer deployment - https://bugzilla.redhat.com/show_bug.cgi?id=1740335

Comment 2 Numan Siddique 2019-10-13 17:34:58 UTC
This issue is not seen in 19.F ovn2.11-2.11.1-2.

Closing this BZ.

Comment 3 Numan Siddique 2019-10-13 17:35:24 UTC
This issue is not seen in 19.F ovn2.11-2.11.1-2.

Closing this BZ.