panko/devstack
ZhiQiang Fan 54887ff59e [Trivial] Remove CEILOMETER_API_LOG_DIR option for devstack
This option is used for ceilometer-api when
CEILOMETER_USE_MOD_WSGI=False, and create a dedicate directory for
ceilometer-api log.

However, there is no such need, because for such case, ceilometer-api
is just a normal process like ceilometer-polling. 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
ceilometer-polling, by default, it will be /opt/stack/logs.

Change-Id: Icca16dbef53929686950a72b40b2544f45f4afdd
2016-04-28 01:43:53 +08:00
..
files/rpms Create a devstack plugin for ceilometer 2015-06-29 09:38:53 +00:00
upgrade 'ceilometer-polling' should fail with no valid pollsters 2016-03-29 11:58:18 +02:00
README.rst document how to enable ceilometer stable branch in devstack 2016-04-19 06:30:25 +08:00
apache-ceilometer.template Create a devstack plugin for ceilometer 2015-06-29 09:38:53 +00:00
plugin.sh [Trivial] Remove CEILOMETER_API_LOG_DIR option for devstack 2016-04-28 01:43:53 +08:00
settings [Trivial] Remove CEILOMETER_API_LOG_DIR option for devstack 2016-04-28 01:43:53 +08:00

README.rst

Enabling Ceilometer in DevStack

  1. Download Devstack:

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

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

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

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

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

  3. Run stack.sh.