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
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/devstackEnable Ceilometer:
$ cd ${DEVSTACK_DIR} $ cat >> local.conf << EOF [[local|localrc]] # ceilometer enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer.git master EOFEnable 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 EOFSet CloudKitty collector to gnocchi:
$ cd ${DEVSTACK_DIR} cat >> local.conf << EOF CLOUDKITTY_COLLECTOR=gnocchi EOF
Run devstack as usual:
$ ./stack.shSee the documentation if you want more details about how to configure the devstack plugin.