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

Bug 2280046

Summary: The ovn-octavia-provider creates on OVSDB connection for every request
Product: Red Hat OpenStack Reporter: Terry Wilson <twilson>
Component: python-ovn-octavia-providerAssignee: Arkady Shtempler <ashtempl>
Status: CLOSED ERRATA QA Contact: Lilach Avraham <lavraham>
Severity: high Docs Contact:
Priority: high    
Version: 17.1 (Wallaby)CC: ashtempl, bcafarel, bmv, froyo, gthiemon, jlibosva, mariel, tweining
Target Milestone: z4Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ovn-octavia-provider-1.0.3-17.1.20240828070804.d779786.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-21 09:40:30 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 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