← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2122429] [NEW] [logapi] ``_check_port_bound_sg`` called outside a READER context

 

Public bug reported:

The method ``_check_port_bound_sg`` is being called outside a READER
context. The method is retrieving the ``SecurityGroupPortBinding``
associated to a SG and a port. This is directly using a model query
instead of using a OVO. It is mandatory to wrap this call inside a DB
context.

** Affects: neutron
     Importance: High
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

** Changed in: neutron
   Importance: Undecided => High

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

Title:
  [logapi] ``_check_port_bound_sg`` called outside a READER context

Status in neutron:
  In Progress

Bug description:
  The method ``_check_port_bound_sg`` is being called outside a READER
  context. The method is retrieving the ``SecurityGroupPortBinding``
  associated to a SG and a port. This is directly using a model query
  instead of using a OVO. It is mandatory to wrap this call inside a DB
  context.

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



Follow ups