Horizo​​n无法启动

时间:2015-07-27 12:03:36

标签: django fiware openstack-horizon

我已遵循本指南: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运行但是地平线仍然失败并给了我同样的错误。

2 个答案:

答案 0 :(得分:1)

还在KeyRock的Github帐户上提交了修复程序。

问题是{p> Here

答案 1 :(得分:0)

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