首页 文章

Horizon无法启动

提问于
浏览
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

我've tried using --pythonpath but to no avail. I'也跑了./run_tests.sh,结果如下:http://pastebin.com/6i7Ws5Ej .

系统:CentOS 6.5 x64,python 2.6.6

知道怎么解决这个问题吗?我可能忘记的任何信息都会毫不犹豫地问

Edit: 我已经切换到ubuntu 12,一步一步地按照教程进行操作 . 我得到了keystone运行,但地平线仍然失败并给了我同样的错误 .

2 回答

  • 0

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

    Here是个问题 .

  • 1

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

相关问题