yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86716
[Bug 1938045] [NEW] OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
Public bug reported:
The following deprecation warning in continuously observed in unit test
jobs.
/home/zuul/src/opendev.org/openstack/glance/.tox/py39/lib/python3.9/site-
packages/oslo_db/sqlalchemy/enginefacade.py:1366:
OsloDBDeprecationWarning: EngineFacade is deprecated; please use
oslo_db.sqlalchemy.enginefacade
Example can be found here.
https://zuul.opendev.org/t/openstack/build/744e2be61f5f459b9b2bcf7f046cd31e
Usage of EngineFacade is deprecated since oslo.db 1.12.0
https://github.com/openstack/oslo.db/commit/fdbd928b1fdf0334e1740e565ab8206fff54eaa6
However there is one usage left in glance code.
https://github.com/openstack/glance/blob/fa558885503121813bd7d9bacb63754ad5b61676/glance/db/sqlalchemy/api.py#L88
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1938045
Title:
OsloDBDeprecationWarning: EngineFacade is deprecated; please use
oslo_db.sqlalchemy.enginefacade
Status in Glance:
New
Bug description:
The following deprecation warning in continuously observed in unit
test jobs.
/home/zuul/src/opendev.org/openstack/glance/.tox/py39/lib/python3.9/site-
packages/oslo_db/sqlalchemy/enginefacade.py:1366:
OsloDBDeprecationWarning: EngineFacade is deprecated; please use
oslo_db.sqlalchemy.enginefacade
Example can be found here.
https://zuul.opendev.org/t/openstack/build/744e2be61f5f459b9b2bcf7f046cd31e
Usage of EngineFacade is deprecated since oslo.db 1.12.0
https://github.com/openstack/oslo.db/commit/fdbd928b1fdf0334e1740e565ab8206fff54eaa6
However there is one usage left in glance code.
https://github.com/openstack/glance/blob/fa558885503121813bd7d9bacb63754ad5b61676/glance/db/sqlalchemy/api.py#L88
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1938045/+subscriptions