"get_reservations_for_resources" execute DB operations without opening a DB context

Bug #1930876 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Rodolfo Alonso

Bug Description

"get_reservations_for_resources" execute DB operations without opening a DB context. In this case, this method should be decorated with CONTEXT_READER.

Changed in neutron:
importance: Undecided → Low
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/794777

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 96b2926671d66e7a1b32cdfec645aa9dd143aa48
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Jun 4 11:18:53 2021 +0000

    Add CONTEXT_READER to "get_reservations_for_resources"

    The method executes DB operations outside a DB context and with an
    inactive session.

    Change-Id: Ifd1c7b99421768dfa9462237e2b1b14af0e68f41
    Closes-Bug: #1930876

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 19.0.0.0rc1

This issue was fixed in the openstack/neutron 19.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.