← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1267291] [NEW] DB lock wait timeout is possible for metaplugin

 

Public bug reported:

There are some places that a target plugin's method is called in 
'with context.session.begin(subtransaction=True)'.
This causes 'lock wait timeout' error potentially. 
--- error is like:
OperationalError: (OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction') ...snip
---

For example say ml2 is target plugin. Ml2's mechanism drivers separates precommit and postcommit
method so that 'lock wait timeout' error does not occur. 
But it is meaningless if ml2 is used under metaplugin.

** Affects: neutron
     Importance: Undecided
     Assignee: Itsuro Oda (oda-g)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Itsuro Oda (oda-g)

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

Title:
  DB lock wait timeout is possible for metaplugin

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  There are some places that a target plugin's method is called in 
  'with context.session.begin(subtransaction=True)'.
  This causes 'lock wait timeout' error potentially. 
  --- error is like:
  OperationalError: (OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction') ...snip
  ---

  For example say ml2 is target plugin. Ml2's mechanism drivers separates precommit and postcommit
  method so that 'lock wait timeout' error does not occur. 
  But it is meaningless if ml2 is used under metaplugin.

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


Follow ups

References