2011-12-09 73 views
0

我見過其他人說他們也有openstack的這個錯誤,但是我一直沒能找到任何答案。安裝openstack時syncdb出錯

我跟着網站http://uksysadmin.wordpress.com/2011/02/17/進行openstack的基礎安裝,並且這似乎工作正常。

現在我按照網站http://wiki.openstack.org/OpenStackDashboard安裝OpenStack的儀表盤,當我得到命令「工具/ with_venv.sh儀表板/ 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

它看起來像它沒有找到您local_settings.py文件,請確保你做了這一步(記錄在wiki):

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

順便說一句,得到了OpenStack的運行最簡單的方式和是使用DevStack