1

我已遵循本指南:https: //forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Identity_Management_- KeyRock -_Installation_and_Administration_Guide

当我运行服务器时,我得到:

Traceback (most recent call last):
  File "manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 261, in fetch_command
    commands = get_commands()
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 107, in get_commands
    apps = settings.INSTALLED_APPS
  File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 49, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named oslo.utils

我试过使用 --pythonpath 但无济于事。我也跑了 ./run_tests.sh ,结果如下:http: //pastebin.com/6i7Ws5Ej

系统:CentOS 6.5 x64,python 2.6.6

知道如何解决这个问题吗?任何我可能忘记的信息都不要犹豫问

编辑: 我已切换到 ubuntu 12 以逐步遵循教程。我让 keystone 运行,但 Horizo​​n 仍然失败并给我同样的错误。

4

2 回答 2

1

还对 KeyRock 的 Github 帐户进行了修复。

是问题所在。

于 2015-07-31T08:06:18.340 回答
0

直接从 python 和 pip 手动将 pbr 更新到 1.3.0 解决了所有问题

于 2015-07-28T11:11:46.050 回答