← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2065460] [NEW] ovn-octavia-provider results in a new OVSDB connection for every Octavia API request

 

Public bug reported:

Octavia API instantiates a driver for each request e.g.:

def post():
   ...
   driver = driver_factory.get_driver(provider)
   ...

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.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovn-octavia-provider

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2065460

Title:
  ovn-octavia-provider  results in a new OVSDB connection for every
  Octavia API request

Status in neutron:
  New

Bug description:
  Octavia API instantiates a driver for each request e.g.:

  def post():
     ...
     driver = driver_factory.get_driver(provider)
     ...

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2065460/+subscriptions



Follow ups