aodh/devstack
ZhiQiang Fan 85c207fe52 [Trivial] Remove AODH_API_LOG_DIR option for devstack
This option is used for aodh-api when AODH_DEPLOY=werkzeug,
and create a dedicate directory for aodh-api log.

However, there is no such need, because for such case, aodh-api
is just a normal process like aodh-evaluator. We should let
oslo.log decide where to store the log, image that user configures
a path and we override in installation process, then he needs to hack
into screenrc to adjust the path, it is not friendly.

Here I propose to put the api log files in same directory as
aodh-evaluator, by default, it will be /opt/stack/logs.

Change-Id: If758cb7ddcc0087ed495721eeccf4723900e2ef3
2016-04-28 03:35:13 +08:00
..
gate Correct database functional tests 2015-08-10 17:12:52 +00:00
apache-aodh.template devstack: use $API_WORKERS to set the number of WSGI workers in Apache 2015-08-06 19:51:04 +02:00
plugin.sh [Trivial] Remove AODH_API_LOG_DIR option for devstack 2016-04-28 03:35:13 +08:00
README.rst document how to enable aodh stable branch in devstack 2016-04-19 06:32:22 +08:00
settings [Trivial] Remove AODH_API_LOG_DIR option for devstack 2016-04-28 03:35:13 +08:00

Enabling Aodh in DevStack

  1. Download DevStack:

    git clone https://git.openstack.org/openstack-dev/devstack.git
    cd devstack
  2. Add this repo as an external repository in local.conf file:

    [[local|localrc]]
    enable_plugin aodh https://git.openstack.org/openstack/aodh

    To use stable branches, make sure devstack is on that branch, and specify the branch name to enable_plugin, for example:

    enable_plugin aodh https://git.openstack.org/openstack/aodh stable/mitaka

    There are some options, such as AODH_BACKEND, defined in aodh/devstack/settings, they can be used to configure the installation of Aodh. If you don't want to use their default value, you can set a new one in local.conf.

  3. Run stack.sh.