← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1926426] [NEW] Nova is not compatible with sqlalchemy 1.4

 

Public bug reported:

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/

** Affects: nova
     Importance: High
         Status: Triaged


** Tags: db

** Changed in: nova
   Importance: Undecided => High

** Changed in: nova
       Status: New => Triaged

-- 
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):
  Triaged

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


Follow ups