cloudkitty/devstack
Luka Peschke 87ab314fcf Update the devstack plugin
This updates various parts of the devstack plugin:

* The fetcher is now configurable via the "CLOUDKITTY_FETCHER" variable and
  defaults to gnocchi (this allows the user to have immediate results).

* The "CLOUDKITTY_SERVICES" variable was removed as it is not used anymore.

* The storage backend does now default to "influxdb". If this storage backend is
  selected, influxdb is installed. This can be done on fedora and ubuntu. The
  storage backend to use in devstack can be configured through the
  ``CLOUDKITTY_STORAGE_BACKEND`` and ``CLOUDKITTY_STORAGE_VERSION`` variables.

* Some details about available variables have been added to the devstack
  documentation. Since the "admin/quick_deployment" section did only contain
  the devstack documentation, it has been removed for now.

* Given that the "ceilometer-low" archive-policy (default in devstack) only
  provides the "mean" aggregation method, it is now the aggregation method
  used in the default metrics.yml file.

Change-Id: I37452772de163b5fafc502917af870c86a3d38b2
2019-03-21 09:18:32 +00:00
..
files Update the devstack plugin 2019-03-21 09:18:32 +00:00
apache-cloudkitty.template Add WSGI support for `cloudkitty-api' 2017-07-18 12:55:11 +02:00
plugin.sh Update the devstack plugin 2019-03-21 09:18:32 +00:00
README.rst Adds doc8 check to pep8 2018-10-22 11:14:57 +02:00
settings Update the devstack plugin 2019-03-21 09:18:32 +00:00

Installing CloudKitty using DevStack

The devstack directory contains the required files to integrate CloudKitty with DevStack.

Configure DevStack to run CloudKitty

$ DEVSTACK_DIR=/path/to/devstack
  1. Enable Ceilometer:

    $ cd ${DEVSTACK_DIR}
    $ cat >> local.conf << EOF
    [[local|localrc]]
    # ceilometer
    enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer.git master
    EOF
  2. Enable CloudKitty:

    $ cd ${DEVSTACK_DIR}
    cat >> local.conf << EOF
    # cloudkitty
    enable_plugin cloudkitty https://git.openstack.org/openstack/cloudkitty master
    enable_service ck-api, ck-proc
    EOF
  3. Set CloudKitty collector to gnocchi:

    $ cd ${DEVSTACK_DIR}
    cat >> local.conf << EOF
    CLOUDKITTY_COLLECTOR=gnocchi
    EOF

Run devstack as usual:

$ ./stack.sh

See the documentation if you want more details about how to configure the devstack plugin.