← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1433536] [NEW] neutron service unnecessarily calls pool.dispose() on non-db services

 

Public bug reported:

During the wsgi service initialization
db.api.get_engine().pool.dispose() is called as a safety mechanism to
make sure all DB connections are thread-local. However, in services such
as agents that have no database connection, this call unnecessarily
creates an entire DB engine that will never be used.

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  neutron service unnecessarily calls pool.dispose() on non-db services

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  During the wsgi service initialization
  db.api.get_engine().pool.dispose() is called as a safety mechanism to
  make sure all DB connections are thread-local. However, in services
  such as agents that have no database connection, this call
  unnecessarily creates an entire DB engine that will never be used.

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


Follow ups

References