安装openstack时syncdb出错

时间:2011-12-09 18:09:50

标签: dashboard openstack

我见过其他人说他们也有这个错误来自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服务器上进行安装。

1 个答案:

答案 0 :(得分:1)

看起来它没有找到你的local_settings.py文件,请确保你执行了这一步(在维基上记录):

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

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