Ask Your Question
0

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

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

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
0

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

tjoen gravatar image

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

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

edit flag offensive delete link more

Comments

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 -0600 )edit

Then try gnocchi-upgrade -v --debug

tjoen gravatar imagetjoen ( 2018-12-16 05:21:54 -0600 )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 -0600 )edit

Thanks for all assistance. rgds, -gw

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 29 times

Last updated: Dec 15 '18