0

我见过其他人说他们也从 openstack 遇到了这个错误,但我找不到任何答案。

我按照网站http://uksysadmin.wordpress.com/2011/02/17/进行了 openstack 的基本安装,这似乎工作正常。

现在我正在关注网站http://wiki.openstack.org/OpenStackDashboard 来安装 openstack Dashboard,当我到达命令“tools/with_venv.sh dashboard/manage.py syncdb”时,我收到了这个错误:

ERROR:root:No module named local.local_settings
Traceback (most recent call last):
  File "/home/harlan/horizon/openstack-dashboard/dashboard/settings.py", line 126, in <module>
    from local.local_settings import *
ImportError: No module named local.local_settings
ERROR:root:No module named local.local_settings
Traceback (most recent call last):
  File "/home/harlan/horizon/openstack-dashboard/dashboard/../dashboard/settings.py", line 126, in <module>
    from local.local_settings import *
ImportError: No module named local.local_settings
Error: No module named horizon.dashboards.settings

我正在 Ubuntu 11.10 服务器上进行安装。

4

1 回答 1

1

看起来它没有找到您的 local_settings.py 文件,请确保您执行了此步骤(记录在 wiki 上):

$ cd horizon/openstack-dashboard
$ cp local/local_settings.py.example local/local_settings.py

顺便说一句,启动和运行 OpenStack 的最简单方法是使用DevStack

于 2011-12-11T00:57:26.997 回答