cloudkitty/devstack
Pierre Riteau 5fdb65b71a CI: deploy OpenSearch 1.x instead of Elasticsearch
Change DevStack plugin to deploy OpenSearch 1.x instead of Elasticsearch
when using the elasticsearch storage driver. This is in preparation for
supporting OpenSearch instead of Elasticsearch. Note that CloudKitty
does not work with OpenSearch 2.x yet, likely due to the removal of
mapping types [1].

[1] https://opensearch.org/docs/2.0/breaking-changes/#remove-mapping-types-parameter

Change-Id: I572cba384a9a16ee2bbfe07b5c316ed5abbb5681
2022-12-06 10:33:04 +01: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 CI: deploy OpenSearch 1.x instead of Elasticsearch 2022-12-06 10:33:04 +01:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 14:13:58 +08:00
settings Add support for Elasticsearch to devstack plugin 2019-09-18 09:19:52 +02: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://opendev.org/openstack/ceilometer.git master
    EOF
  2. Enable CloudKitty:

    $ cd ${DEVSTACK_DIR}
    cat >> local.conf << EOF
    # cloudkitty
    enable_plugin cloudkitty https://opendev.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.