dbcounter plugin fails with SQLAlchemy 2.x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
Michael Johnson |
Bug Description
SQLAlchemy has changed the CreateEnginePlugin plugin signature to require an "update_url" method[1].
This causes the dbcounter plugin to fail when running on SQLAlchemy 2.x with a NotImplementedE
2023-03-06 17:40:07.775171 | controller | [00;36mINFO dbcounter [[01;36mNone designate-manage [00;36mNone None[00;36m] [01;35m
2023-03-06 17:40:07.789974 | controller | An error has occurred:
2023-03-06 17:40:07.790047 | controller | Traceback (most recent call last):
2023-03-06 17:40:07.790080 | controller | File "/opt/stack/
2023-03-06 17:40:07.790141 | controller | fn(*fn_args)
2023-03-06 17:40:07.790171 | controller | File "/opt/stack/
2023-03-06 17:40:07.790206 | controller | alembic_
2023-03-06 17:40:07.790234 | controller | File "/usr/local/
2023-03-06 17:40:07.790259 | controller | script.run_env()
2023-03-06 17:40:07.790284 | controller | File "/usr/local/
2023-03-06 17:40:07.790310 | controller | util.load_
2023-03-06 17:40:07.790336 | controller | File "/usr/local/
2023-03-06 17:40:07.790371 | controller | module = load_module_
2023-03-06 17:40:07.790398 | controller | File "/usr/local/
2023-03-06 17:40:07.790423 | controller | spec.loader.
2023-03-06 17:40:07.790448 | controller | File "<frozen importlib.
2023-03-06 17:40:07.790474 | controller | File "<frozen importlib.
2023-03-06 17:40:07.790499 | controller | File "/opt/stack/
2023-03-06 17:40:07.790531 | controller | run_migrations_
2023-03-06 17:40:07.790558 | controller | File "/opt/stack/
2023-03-06 17:40:07.790582 | controller | connectable = engine_from_config(
2023-03-06 17:40:07.790607 | controller | File "/opt/stack/
2023-03-06 17:40:07.790632 | controller | return create_engine(url, **options)
2023-03-06 17:40:07.790656 | controller | File "<string>", line 2, in create_engine
2023-03-06 17:40:07.790688 | controller | File "/opt/stack/
2023-03-06 17:40:07.790715 | controller | return fn(*args, **kwargs) # type: ignore[
2023-03-06 17:40:07.790740 | controller | File "/opt/stack/
2023-03-06 17:40:07.790765 | controller | u, plugins, kwargs = u._instantiate_
2023-03-06 17:40:07.790789 | controller | File "/opt/stack/
2023-03-06 17:40:07.790813 | controller | new_u = plugin.
2023-03-06 17:40:07.790838 | controller | File "/opt/stack/
2023-03-06 17:40:07.790870 | controller | raise NotImplementedE
2023-03-06 17:40:07.790897 | controller | NotImplementedError
[1] https:/
Changed in devstack: | |
assignee: | nobody → Michael Johnson (johnsom) |
Fix proposed to branch: master /review. opendev. org/c/openstack /devstack/ +/876601
Review: https:/