Devstack and SQLAlchemy (Problems with stack.sh)

Dan Smith dms at danplanet.com
Tue May 16 14:08:13 UTC 2023


> Error with SQLAlchemy==1.4.48
> 
> +lib/keystone:init_keystone:489            /usr/local/bin/keystone-manage --config-file /etc/keystone/keystone.conf db_sync
> CRITICAL keystone [-] Unhandled error: sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.plugins:dbcounter
> ERROR keystone   File "/home/devstack/.local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 343, in load
> ERROR keystone     raise exc.NoSuchModuleError(
> ERROR keystone sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.plugins:dbcounter

This is an internal-to-devstack python module. Not sure why it’s not installing for you, but the easy button is to just disable its use in your localrc:

MYSQL_GATHER_PERFORMANCE=False

-—Dan




More information about the openstack-discuss mailing list