ovn-octavia-provider results in a new OVSDB connection for every Octavia API request
Bug #2065460 reported by
Terry Wilson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Terry Wilson |
Bug Description
Octavia API instantiates a driver for each request e.g.:
def post():
...
driver = driver_
...
and then driver goes out of scope after the request. ovn-octavia-driver currently starts an OVSDB connection when it is instantiated. This is a very expensive operation, as it requests all of the rows from all of the monitored tables in the OVN DB and then stores them in memory, just to throw them all away after the request. For even medium-large deployments, this can mean the minimum time for any Octavia API request is > 10s.
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → High |
To post a comment you must log in.
Proposed fix is here: https:/ /review. opendev. org/c/openstack /ovn-octavia- provider/ +/919229