CentOS7 安装OpenStack 初始化数据库时出错

從此迷花粉 发布于 2017/08/10 18:36
阅读 184
收藏 0

[root@etcd-node1 ~]# su -s /bin/sh -c "keystone-manage db_sync" keystone
Traceback (most recent call last):
  File "/usr/bin/keystone-manage", line 6, in <module>
    from keystone.cmd.manage import main
  File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 19, in <module>
    from keystone.cmd import cli
  File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 28, in <module>
    from keystone.cmd import doctor
  File "/usr/lib/python2.7/site-packages/keystone/cmd/doctor/__init__.py", line 13, in <module>
    from keystone.cmd.doctor import caching
  File "/usr/lib/python2.7/site-packages/keystone/cmd/doctor/caching.py", line 13, in <module>
    import keystone.conf
  File "/usr/lib/python2.7/site-packages/keystone/conf/__init__.py", line 20, in <module>
    from osprofiler import opts as profiler
  File "/usr/lib/python2.7/site-packages/osprofiler/opts.py", line 18, in <module>
    from osprofiler import web
  File "/usr/lib/python2.7/site-packages/osprofiler/web.py", line 20, in <module>
    from osprofiler import profiler
  File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 26, in <module>
    from osprofiler import notifier
  File "/usr/lib/python2.7/site-packages/osprofiler/notifier.py", line 16, in <module>
    from osprofiler.drivers import base
  File "/usr/lib/python2.7/site-packages/osprofiler/drivers/__init__.py", line 4, in <module>
    from osprofiler.drivers import loginsight  # noqa
  File "/usr/lib/python2.7/site-packages/osprofiler/drivers/loginsight.py", line 25, in <module>
    import requests
  File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
    from .packages.urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning

[root@etcd-node1 ~]#

 

加载中
返回顶部
顶部