[sqlalchemy-20] The Session.begin.subtransactions flag is deprecated

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

Bug Description

Testing patch: https://review.opendev.org/c/openstack/neutron/+/874778

Logs: https://c06c4109be1832423601-1eb2471c773c922210e88856273ba212.ssl.cf5.rackcdn.com/874778/1/check/neutron-functional-with-uwsgi/4c704c1/job-output.txt

Error:
2023-02-22 20:14:32.646654 | controller | /home/zuul/src/opendev.org/openstack/neutron/neutron/db/migration/alembic_migrations/versions/mitaka/contract/8a6d8bdae39_migrate_neutron_resources_table.py:72: RemovedIn20Warning: The Session.begin.subtransactions flag is deprecated and will be removed in SQLAlchemy version 2.0. See the documentation at session_subtransactions for background on a compatible alternative pattern. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)

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/+/874938

Changed in neutron:
status: New → In Progress
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit d4a85833a70d1ffe06985988a87dd85d39c9d7a8
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Feb 18 21:06:38 2023 +0100

    [sqlalchemy-20] The Session.begin.subtransactions flag is deprecated

    Closes-Bug: #2008276
    Change-Id: I5472db98c6ae24b8b1e6add2c0d73aeb1ed016ca

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.0b2

This issue was fixed in the openstack/neutron 23.0.0.0b2 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.