87ab314fcf
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 |
||
---|---|---|
.. | ||
files | ||
apache-cloudkitty.template | ||
plugin.sh | ||
README.rst | ||
settings |
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
Enable Ceilometer:
$ cd ${DEVSTACK_DIR} $ cat >> local.conf << EOF [[local|localrc]] # ceilometer enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer.git master EOF
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
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.