yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74976
[Bug 1795078] [NEW] "OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade" warnings emitted numerous times during py3 unit tests
Public bug reported:
Seen in the openstack-tox-py35 [1]:
2018-09-26 17:20:32.001487 | ubuntu-xenial | /home/zuul/src/git.openstack.org/openstack/nova/.tox/py35/lib/python3.5/site-packages/oslo_db/sqlalchemy/enginefacade.py:350: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
2018-09-26 17:20:32.001833 | ubuntu-xenial | self._legacy_facade = LegacyEngineFacade(None, _factory=self)
and openstack-tox-py36 jobs:
2018-09-28 11:39:03.066777 | ubuntu-bionic | b'/home/zuul/src/git.openstack.org/openstack/nova/.tox/py36/lib/python3.6/site-packages/oslo_db/sqlalchemy/enginefacade.py:350: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade'
2018-09-28 11:39:03.066944 | ubuntu-bionic | b' self._legacy_facade = LegacyEngineFacade(None, _factory=self)'
[1] http://logs.openstack.org/97/410297/44/gate/openstack-tox-py35/9d96763/job-output.txt#_2018-09-26_17_14_52_089548
[2] http://logs.openstack.org/16/270116/18/check/openstack-tox-py36/56e7491/job-output.txt.gz#_2018-09-28_11_39_03_066777
I think this issue stems from our use of the get_legacy_facade() method
in the DB API, so we need to update to use the get_engine() method from
the transaction context manager class instead.
** Affects: nova
Importance: Low
Assignee: melanie witt (melwitt)
Status: In Progress
** Tags: db testing
--
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/1795078
Title:
"OsloDBDeprecationWarning: EngineFacade is deprecated; please use
oslo_db.sqlalchemy.enginefacade" warnings emitted numerous times
during py3 unit tests
Status in OpenStack Compute (nova):
In Progress
Bug description:
Seen in the openstack-tox-py35 [1]:
2018-09-26 17:20:32.001487 | ubuntu-xenial | /home/zuul/src/git.openstack.org/openstack/nova/.tox/py35/lib/python3.5/site-packages/oslo_db/sqlalchemy/enginefacade.py:350: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
2018-09-26 17:20:32.001833 | ubuntu-xenial | self._legacy_facade = LegacyEngineFacade(None, _factory=self)
and openstack-tox-py36 jobs:
2018-09-28 11:39:03.066777 | ubuntu-bionic | b'/home/zuul/src/git.openstack.org/openstack/nova/.tox/py36/lib/python3.6/site-packages/oslo_db/sqlalchemy/enginefacade.py:350: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade'
2018-09-28 11:39:03.066944 | ubuntu-bionic | b' self._legacy_facade = LegacyEngineFacade(None, _factory=self)'
[1] http://logs.openstack.org/97/410297/44/gate/openstack-tox-py35/9d96763/job-output.txt#_2018-09-26_17_14_52_089548
[2] http://logs.openstack.org/16/270116/18/check/openstack-tox-py36/56e7491/job-output.txt.gz#_2018-09-28_11_39_03_066777
I think this issue stems from our use of the get_legacy_facade()
method in the DB API, so we need to update to use the get_engine()
method from the transaction context manager class instead.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1795078/+subscriptions
Follow ups