RT ,最近搭建 devstack 的环境, 更换 source.list 为阿狸源, 更换 PIP 为豆瓣,系统为 ubuntu 14.04.4 server x64 ,只安装了 openssh-server , mirror 为 http://git.trystack.cn , 参考安装文档为 http://www.chenshake.com/openstack-project-series-3-devstack/ (目前这域名好像过期了) 问题来了, 安装完访问 UI 的时候 ,提示如下
python compress.py compress
Traceback (most recent call last):
File "compress.py", line 5, in <module>
from compressor.cache import (cache_get, cache_set, get_offline_hexdigest,
File "/usr/local/lib/python2.7/dist-packages/compressor/cache.py", line 8, in <module>
from django.core.cache import caches
File "/usr/local/lib/python2.7/dist-packages/django/core/cache/__init__.py", line 34, in <module>
if DEFAULT_CACHE_ALIAS not in settings.CACHES:
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in __getattr__
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 42, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
提示很长,这里只 提取了部分认为有用的
到现在我都还不成功是否安装成功, 各组件还不熟悉,也不知道查看, google 到的大都是英文,把我都看蒙蔽了, 希望各位指点下迷津,告诉我怎么才算安装成功 ,谢谢!
1
zsj950618 2016-07-20 21:13:25 +08:00
只能说,看英文文档是基本功。
http://docs.openstack.org/developer/devstack/index.html |