[sqlalchemy-20] Add the corresponding context to the upgrade checks methods

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

Bug Description

In ``cmd.upgrade_checks.checks``, there are some methods that access to the database. The queries are not inside a database context (reader or writer depending on the query).

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
importance: Undecided → Medium
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/+/882865

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/+/882865
Committed: https://opendev.org/openstack/neutron/commit/98ac1fa31a80387d9c270b676dd96ac8ba649891
Submitter: "Zuul (22348)"
Branch: master

commit 98ac1fa31a80387d9c270b676dd96ac8ba649891
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed May 10 03:06:23 2023 +0200

    [sqlalchemy-20] Add the transaction context to the upgrade checks methods

    In ``cmd.upgrade_checks.checks``, there are some methods that access to
    the database. The queries are now inside a database context (reader or
    writer depending on the query).

    Closes-Bug: #2019119

    Change-Id: I35b1311576bcf1681ab4932f0baeb4cd3099301c

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

This issue was fixed in the openstack/neutron 23.0.0.0b3 development milestone.

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.