← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1926426] Re: Nova is not compatible with sqlalchemy 1.4

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/788471
Committed: https://opendev.org/openstack/nova/commit/39a617752f71cb8fe7188baee08b1c2ba48ad066
Submitter: "Zuul (22348)"
Branch:    master

commit 39a617752f71cb8fe7188baee08b1c2ba48ad066
Author: Balazs Gibizer <balazs.gibizer@xxxxxxxx>
Date:   Mon May 3 10:44:52 2021 +0200

    Adapt to SQLAlchemy 1.4
    
    This patch makes the necessary change to adapt to the SQLAlchemy 1.4
    release in a way that is still compatible with the currently pinned 1.3
    versions.
    
    This is related to the overall effort to bump SQLAlchemy to 1.4
    https://review.opendev.org/c/openstack/requirements/+/788339
    
    Co-Authored-By: Mike Bayer <mike_mp@xxxxxxxxxxxxxxxx>
    
    Closes-Bug: #1926426
    Change-Id: I8a0ab3b91b4203ab603caac02ee5132be7890e9a


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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1926426

Title:
  Nova is not compatible with sqlalchemy 1.4

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  As testing in [1] shows we have issues with the new sqlalchemy
  release.

  Two types of error are visible:

  1) sqlalchemy.exc.InvalidRequestError: Entity namespace for "count(instances.id)" has no property "deleted"
  during: /home/zuul/src/opendev.org/openstack/nova/nova/objects/instance.py", line 1525, in _get_counts_in_db

  
  and

  2) url.database = ident 
     AttributeError: can't set attribute
  during: /home/zuul/src/opendev.org/openstack/nova/nova/tests/unit/db/test_migration_utils.py", line 56, in setUp

  Example result:
  https://zuul.opendev.org/t/openstack/build/e18e86f0c074450d9a4f823937bc1c16/logs

  
  [1] https://review.opendev.org/c/openstack/requirements/+/788339/

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


References