devstack 安装 疑惑

2016-07-20 20:17:48 +08:00
 yuedingwangji

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 到的大都是英文,把我都看蒙蔽了, 希望各位指点下迷津,告诉我怎么才算安装成功 ,谢谢!

4658 次点击
所在节点    OpenStack
1 条回复
zsj950618
2016-07-20 21:13:25 +08:00
只能说,看英文文档是基本功。
http://docs.openstack.org/developer/devstack/index.html

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/293775

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX