← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/960271
Committed: https://opendev.org/openstack/neutron/commit/d3fb3f8e213e4c092a05e426d9f711f76eaeb4c0
Submitter: "Zuul (22348)"
Branch:    master

commit d3fb3f8e213e4c092a05e426d9f711f76eaeb4c0
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Tue Sep 9 14:34:47 2025 +0000

    [logapi] Wrap inside a DB context the method ``_check_port_bound_sg``
    
    Closes-Bug: #2122429
    Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
    Change-Id: I5fa8e2011203e75e8754a1b9035ee8c6f5af2919


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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



References