Bug 1677616 - openvswitch using 100% cpu on OVN deployment, delay on security groups being applied
Summary: openvswitch using 100% cpu on OVN deployment, delay on security groups being ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openvswitch
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 13.0 (Queens)
Assignee: Numan Siddique
QA Contact: Roman Safronov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-15 11:31 UTC by Eduard Barrera
Modified: 2022-08-10 10:04 UTC (History)
16 users (show)

Fixed In Version: openvswitch-2.9.0-103.el7fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-30 17:23:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-7699 0 None None None 2022-08-10 10:04:51 UTC
Red Hat Knowledge Base (Solution) 4018331 0 Performance tune None [OpenStack] openvswitch using 100% cpu on OVN deployment, delay on security groups being applied 2019-03-29 11:25:00 UTC
Red Hat Product Errata RHBA-2019:0926 0 None None None 2019-04-30 17:23:55 UTC

Internal Links: 1716394

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


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