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
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://opendev.org/openstack/ceilometer.git master EOFEnable CloudKitty:
$ cd ${DEVSTACK_DIR} cat >> local.conf << EOF # cloudkitty enable_plugin cloudkitty https://opendev.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.