"OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade" warnings emitted numerous times during py3 unit tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
melanie witt |
Bug Description
Seen in the openstack-tox-py35 [1]:
2018-09-26 17:20:32.001487 | ubuntu-xenial | /home/zuul/
2018-09-26 17:20:32.001833 | ubuntu-xenial | self._legacy_facade = LegacyEngineFac
and openstack-tox-py36 jobs:
2018-09-28 11:39:03.066777 | ubuntu-bionic | b'/home/
2018-09-28 11:39:03.066944 | ubuntu-bionic | b' self._legacy_facade = LegacyEngineFac
[1] http://
[2] http://
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.
Fix proposed to branch: master /review. openstack. org/606213
Review: https:/