Bug 2280046 - The ovn-octavia-provider creates on OVSDB connection for every request
Summary: The ovn-octavia-provider creates on OVSDB connection for every request
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-ovn-octavia-provider
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z4
: 17.1
Assignee: Arkady Shtempler
QA Contact: Lilach Avraham
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-10 20:21 UTC by Terry Wilson
Modified: 2024-11-21 09:40 UTC (History)
8 users (show)

Fixed In Version: python-ovn-octavia-provider-1.0.3-17.1.20240828070804.d779786.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-21 09:40:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 2065459 0 None None None 2024-05-13 11:14:52 UTC
Launchpad 2065460 0 None None None 2024-05-13 11:14:52 UTC
OpenStack gerrit 919229 0 None MERGED Don't create an OVSDB connection per API request 2024-05-16 13:59:42 UTC
OpenStack gerrit 919408 0 None ABANDONED Don't setup a notifier from the ProviderDriver 2024-05-16 13:59:42 UTC
OpenStack gerrit 919411 0 None ABANDONED Fix ssl configuration for idl 2024-05-16 13:59:41 UTC
OpenStack gerrit 919412 0 None ABANDONED Actually start notifier connection 2024-05-16 13:59:40 UTC
Red Hat Issue Tracker OSP-32098 0 None None None 2024-05-10 20:24:37 UTC
Red Hat Product Errata RHBA-2024:9974 0 None None None 2024-11-21 09:40:32 UTC

Description Terry Wilson 2024-05-10 20:21:41 UTC
Description of problem:

Octavia spawns a new "driver" with every API request. The driver code starts a new OVSDB connection, which in turn transfers the database contents across the network and stores them locally in memory, only to be thrown away at the end of the request.

This makes these API requests *incredibly* expensive and can lead to timeouts on large installs.

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


How reproducible:
100%

Steps to Reproduce:
1. Make an API request with a large OVSDB DB
2. Note that it takes a long time and ovsdb-server gets pretty busy

Actual results:
The API requests time scales with the database size (example, 50MB ovsdb, minimum API request time was 12 seconds)

Expected results:
The API request time is significantly less, monitoring OVSDB traffic after the initial request should not show a new DB dump

Additional info:

Comment 13 errata-xmlrpc 2024-11-21 09:40:30 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 (RHOSP 17.1.4 bug fix and enhancement 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-2024:9974


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