← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2019119] Re: [sqlalchemy-20] Add the corresponding context to the upgrade checks methods

 

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 <ralonsoh@xxxxxxxxxx>
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

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

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

Status in neutron:
  Fix Released

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).

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



References