Failed keystone-manage db_sync [closed]

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

anonymous user


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


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/", line 22, in <module>
    from keystone.common import sql
  File "/usr/lib/python2.6/site-packages/keystone/common/sql/", line 17, in <module>
    from keystone.common.sql.core import *
  File "/usr/lib/python2.6/site-packages/keystone/common/sql/", 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

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

ashishkalaskar gravatar image


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

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

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


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

Seen: 971 times

Last updated: Jun 12 '14