Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1677616

Summary: openvswitch using 100% cpu on OVN deployment, delay on security groups being applied
Product: Red Hat OpenStack Reporter: Eduard Barrera <ebarrera>
Component: openvswitchAssignee: Numan Siddique <nusiddiq>
Status: CLOSED ERRATA QA Contact: Roman Safronov <rsafrono>
Severity: high Docs Contact:
Priority: urgent    
Version: 13.0 (Queens)CC: apevec, bcafarel, chrisw, dalvarez, dmaley, ebarrera, ekuris, lmartins, madgupta, nate.johnston, nusiddiq, ojanas, pmorey, rhos-maint, rkhan, shdunne
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch-2.9.0-103.el7fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-30 17:23:45 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:

Comment 2 Daniel Alvarez Sanchez 2019-02-15 11:38:54 UTC
Thanks Eduard.

All the neutron ports belong to the same security group(s)? Can you paste the output of "openstack security group show <sgid>" for each sgid which the VMs belong to?
I think this is related to:

https://bugzilla.redhat.com/show_bug.cgi?id=1622469

Comment 46 Roman Safronov 2019-04-15 16:14:41 UTC
Verified on 13.0-RHEL-7/2019-04-10.1 with openvswitch-2.9.0-103.el7fdp.x86_64

Scenario:
Created 5 tenants. For each tenant created a router each with 2 internal networks. 
Created a security group for each tenant. Each security group with maximal number of rules (100)
Connected VMs to each network.
On 2 VMs executed a script got from Numan (https://paste.fedoraproject.org/paste/3iuxYe9TLqPBNJ6u0sHyTw) that sends multiple dhcp packets.
Verified that ovn-controller is able to handle these multiple dhcp requests from VMs without any delay. CPU load was not high (15-20%). Verified that it is possible to run new instances when ovn-controller is under load. No issues with applying security groups observed.

Comment 50 errata-xmlrpc 2019-04-30 17:23:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0926