[dev][qa] Devstack and SQLAlchemy (Problems with stack.sh)

Jeremy Stanley fungi at yuggoth.org
Tue May 16 14:15:15 UTC 2023


On 2023-05-16 07:08:13 -0700 (-0700), Dan Smith 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

Also https://review.opendev.org/876601 purports to fix that
exception under SQLAlchemy 2.x, but is only applied on the master
branch (Matt didn't tell us what branch this occurred for).
-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230516/b1b1f19b/attachment.sig>


More information about the openstack-discuss mailing list