UnitedStack
OpenStack
DevStack
OneStack
RDO
Fuel
StackOps
Install OpenStack on Ubuntu 12.04
OpenStack on GitHub
yuedingwangji
V2EX  ›  OpenStack

devstack 安装 疑惑

  •  
  •   yuedingwangji · Jul 20, 2016 · 5705 views
    This topic created in 3607 days ago, the information mentioned may be changed or developed.

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

    zhsj
        1
    zhsj  
       Jul 20, 2016
    只能说,看英文文档是基本功。
    http://docs.openstack.org/developer/devstack/index.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3039 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 02:20 · PVG 10:20 · LAX 19:20 · JFK 22:20
    ♥ Do have faith in what you're doing.