Ask Your Question
0

Failed keystone-manage db_sync [closed]

asked 2014-06-11 01:46:29 -0500

anonymous user

Anonymous

updated 2014-06-11 10:45:00 -0500

Hi,

I am new to openstack. I got the error at installation of openstack keystone db_sync.

Please find the error below

[root@openstack ~]# su -s /bin/sh -c "keystone-manage db_sync" keystone
Traceback (most recent call last):
  File "/usr/bin/keystone-manage", line 37, in <module>
    from keystone import cli
  File "/usr/lib/python2.6/site-packages/keystone/cli.py", line 22, in <module>
    from keystone.common import sql
  File "/usr/lib/python2.6/site-packages/keystone/common/sql/__init__.py", line 17, in <module>
    from keystone.common.sql.core import *
  File "/usr/lib/python2.6/site-packages/keystone/common/sql/core.py", line 28, in <module>
    from sqlalchemy.orm.attributes import flag_modified, InstrumentedAttribute
ImportError: cannot import name flag_modified
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-17 07:36:46.599877

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-06-12 04:38:47 -0500

ashishkalaskar gravatar image

Hi,

Thanks for support.

Issue of Failed keystone-manage db_sync is resolve. i have install sqlchemy on openstack.

Regards, Ashish

edit flag offensive delete link more
0

answered 2014-06-11 10:50:46 -0500

Check sqlchemy version in your node? sudo pip freeze | grep -i sql

Not sure how you installed. The version should match the expected version. Most probably you don't have that package

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-06-11 01:46:29 -0500

Seen: 919 times

Last updated: Jun 12 '14