gnocchi-upgrade -v crashes with ImportError: cannot import name EncryptedType

asked 2018-12-15 09:47:25 -0500

gertje gravatar image

I am trying to install gnocchi/ceilometer for openstack rocky. After installing the necessary gnocchi components (postgresql,ceph and keystone) and having created the gnocchi database following the installation instructions, I try to initialize the gnocchi database using gnocchi-upgrade -v It crashes with gnocchi.utils: Unable to initialize indexer driver. ImportError: cannot import name EncryptedType

Anyone seen this before? Thanking in advance, rgds -gw

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-12-15 11:46:58 -0500

tjoen gravatar image

updated 2018-12-15 11:52:06 -0500

missing SQLAlchemy-utils ? https://sqlalchemy-utils.readthedocs....

edit flag offensive delete link more


Following is installed: python-sqlalchemy-1.2.7-1.el7.x86_64 SQLAlchemy-Utils 0.33.9

gertje gravatar imagegertje ( 2018-12-15 15:28:47 -0500 )edit

Then try gnocchi-upgrade -v --debug

tjoen gravatar imagetjoen ( 2018-12-16 05:21:54 -0500 )edit

Think I got it solved. I was trying to install a dedicated gnocchi server based on postgresql. Gave it a second try by installing the 'regular' way on an openstack controller node using mysql. Now gnocchi-upgrade is processed without errors and I got the tables created in the gnocchi databases.

gertje gravatar imagegertje ( 2018-12-16 06:59:07 -0500 )edit

Thanks for all assistance. rgds, -gw

gertje gravatar imagegertje ( 2018-12-16 06:59:26 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-12-15 09:47:25 -0500

Seen: 187 times

Last updated: Dec 15 '18