Ask Your Question

Not able to populate keystone DB

asked 2015-10-02 12:41:25 -0600

mehul_342001 gravatar image

updated 2015-10-04 14:31:05 -0600

sunnyarora gravatar image

I have installed rhel 7.1 on physical machine.

When I run the command su -s /bin/sh -c "keystone-manage db_sync" keystone, Getting following error

Traceback (most recent call last):
  File "/usr/bin/keystone-manage", line 30, in <module>
    from keystone import cli
  File "/usr/lib/python2.7/site-packages/keystone/", line 24, in <module>
    from keystone import backends
  File "/usr/lib/python2.7/site-packages/keystone/", line 13, in <module>
    from keystone import assignment
  File "/usr/lib/python2.7/site-packages/keystone/assignment/", line 15, in <module>
    from keystone.assignment import controllers  # noqa
  File "/usr/lib/python2.7/site-packages/keystone/assignment/", line 27, in <module>
    from keystone.common import controller
  File "/usr/lib/python2.7/site-packages/keystone/common/", line 27, in <module>
    from keystone.common import wsgi
  File "/usr/lib/python2.7/site-packages/keystone/common/", line 31, in <module>
    import routes.middleware
  File "/usr/lib/python2.7/site-packages/routes/", line 5, in <module>
    from webob import Request
ImportError: No module named webob

Can someone help me?

edit retag flag offensive close merge delete


Thanks for reply. I will install using pip and let you know

mehul_342001 gravatar imagemehul_342001 ( 2015-10-05 00:35:28 -0600 )edit

Thank you for reply. I have downloaded the package from the internet and then run the command su -s /bin/sh -c "keystone-manage db_sync" keystone, Now I am able to populate the database

mehul_342001 gravatar imagemehul_342001 ( 2015-10-05 11:49:59 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-10-04 14:47:55 -0600

sunnyarora gravatar image

could you please check installing webob

pip install webob==1.1.1
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-10-02 12:41:25 -0600

Seen: 405 times

Last updated: Oct 04 '15