← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1531930] [NEW] SQLalchemy API crashes executing migration_get_unconfirmed_by_dest_compute

 

Public bug reported:

The function migration_get_unconfirmed_by_dest_compute has an error in
the decorator function:

Traceback (most recent call last):
  File "/usr/share/java/pycharm-community/helpers/pycharm/utrunner.py", line 120, in <module>
    modules = [loadSource(a[0])]
  File "/usr/share/java/pycharm-community/helpers/pycharm/utrunner.py", line 41, in loadSource
    module = imp.load_source(moduleName, fileName)
  File "/opt/stack/nova/nova/tests/unit/scheduler/filters/test_type_filters.py", line 17, in <module>
    from nova import test
  File "/opt/stack/nova/nova/test.py", line 51, in <module>
    from nova.tests import fixtures as nova_fixtures
  File "/opt/stack/nova/nova/tests/fixtures.py", line 29, in <module>
    from nova.db import migration
  File "/opt/stack/nova/nova/db/migration.py", line 19, in <module>
    from nova.db.sqlalchemy import migration
  File "/opt/stack/nova/nova/db/sqlalchemy/migration.py", line 27, in <module>
    from nova.db.sqlalchemy import api as db_session
  File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 4526, in <module>
    @main_context_manager.reader.allow_async
AttributeError: '_TransactionContextManager' object has no attribute 'allow_async'


The object reader, in the sqlalchemy engine facade, in oslo_db library, doesn't yet have the attribute "allow_async".

oslo.db==4.2.0 (latest)

The code with the "allow_async" function is not available yet.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1531930

Title:
  SQLalchemy API crashes executing
  migration_get_unconfirmed_by_dest_compute

Status in OpenStack Compute (nova):
  New

Bug description:
  The function migration_get_unconfirmed_by_dest_compute has an error in
  the decorator function:

  Traceback (most recent call last):
    File "/usr/share/java/pycharm-community/helpers/pycharm/utrunner.py", line 120, in <module>
      modules = [loadSource(a[0])]
    File "/usr/share/java/pycharm-community/helpers/pycharm/utrunner.py", line 41, in loadSource
      module = imp.load_source(moduleName, fileName)
    File "/opt/stack/nova/nova/tests/unit/scheduler/filters/test_type_filters.py", line 17, in <module>
      from nova import test
    File "/opt/stack/nova/nova/test.py", line 51, in <module>
      from nova.tests import fixtures as nova_fixtures
    File "/opt/stack/nova/nova/tests/fixtures.py", line 29, in <module>
      from nova.db import migration
    File "/opt/stack/nova/nova/db/migration.py", line 19, in <module>
      from nova.db.sqlalchemy import migration
    File "/opt/stack/nova/nova/db/sqlalchemy/migration.py", line 27, in <module>
      from nova.db.sqlalchemy import api as db_session
    File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 4526, in <module>
      @main_context_manager.reader.allow_async
  AttributeError: '_TransactionContextManager' object has no attribute 'allow_async'

  
  The object reader, in the sqlalchemy engine facade, in oslo_db library, doesn't yet have the attribute "allow_async".

  oslo.db==4.2.0 (latest)

  The code with the "allow_async" function is not available yet.

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


Follow ups