Devstack and SQLAlchemy (Problems with stack.sh)

Matt Watkins mwatkins at linuxfoundation.org
Wed May 17 08:47:01 UTC 2023


Thank you - this change/suggestion has got things moving to completion on my system; many thanks.

- Matt


> On 16 May 2023, at 15:08, Dan Smith <dms at danplanet.com> wrote:
> 
>> 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