[root@fuel ~]# dockerctl shell keystone keystone-manage db_sync
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 20, in <module>
import pbr.version
ImportError: No module named pbr.version
Apparently keystone database is not initialized properly:
[root@fuel ~]# dockerctl shell postgres /bin/sh -c 'cd /; echo \\dt | sudo -u postgres psql keystone'
No relations found.
Attempt to initialize it manually fails:
[root@fuel ~]# dockerctl shell keystone keystone-manage db_sync keystone- manage" , line 37, in <module> python2. 6/site- packages/ keystone/ cli.py" , line 20, in <module>
Traceback (most recent call last):
File "/usr/bin/
from keystone import cli
File "/usr/lib/
import pbr.version
ImportError: No module named pbr.version