V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
UnitedStack
OpenStack
DevStack
OneStack
RDO
Fuel
StackOps
Install OpenStack on Ubuntu 12.04
OpenStack on GitHub
yuedingwangji
V2EX  ›  OpenStack

devstack 安装 疑惑

  •  
  •   yuedingwangji · 2016-07-20 20:17:48 +08:00 · 4832 次点击
    这是一个创建于 3045 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    zsj950618
        1
    zsj950618  
       2016-07-20 21:13:25 +08:00
    只能说,看英文文档是基本功。
    http://docs.openstack.org/developer/devstack/index.html
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3402 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 11:03 · PVG 19:03 · LAX 03:03 · JFK 06:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.