kolla-ansible/ansible/roles/cloudkitty/tasks
Mark Goddard 12950be4ac Switch default cloudkitty storage backend to influxdb
Backport: stein

In the Stein release, cloudkitty switched the default storage backend
from sqlalchemy to influxdb. In kolla-ansible stein configuration, we
did not explicitly set the storage backend, and so we automatically
picked up this change. However, prior to
https://review.opendev.org/#/c/615928/ we did not have full support for
InfluxDB as a storage backend, and so this has broken the Rocky-Stein
upgrade (https://bugs.launchpad.net/kolla-ansible/+bug/1838641), which
fails with this during the DB sync:

ERROR cloudkitty InfluxDBClientError: get_list_retention_policies()
requires a database as a parameter or the client to be using a database

This change synchronises our default with cloudkitty's (influxdb), and
also provides an upgrade transition to create the influxdb database.

We also move the cloudkitty_storage_backend variable to
group_vars/all.yml, since it is used to determine whether to enable
influxdb.

Finally, the section name in cloudkitty.conf was incorrect - it was
storage_influx,  but should be storage_influxdb.

Change-Id: I71f2ed11bd06f58e141d222e2709835b7ddb2c71
Closes-Bug: #1838641
(cherry picked from commit 27f4876eed)
2019-09-26 12:02:32 +01:00
..
bootstrap_service.yml Provide support for cloudkitty dev mode in kolla 2018-06-25 03:10:14 +00:00
bootstrap.yml Cloudkitty InfluxDB Storage backend via Kolla-ansible 2019-09-11 18:06:57 +01:00
check.yml Enable sanity checks from kolla-ansible 2017-03-09 10:37:06 +00:00
clone.yml Support checkout dedicated version from git with dev mode 2018-08-14 16:06:00 +08:00
config.yml Apply Resource Constraints to Openstack Services 2018-07-25 17:05:04 +01:00
deploy.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
loadbalancer.yml Refactor haproxy config (split by service) V2.0 2018-09-26 03:30:38 -07:00
main.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
precheck.yml Use become for all docker tasks 2019-06-28 11:26:57 +01:00
pull.yml Specify 'become' for all tasks that use kolla_docker module 2018-06-08 12:39:24 +00:00
reconfigure.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
register.yml Use become for all docker tasks 2019-06-28 11:26:57 +01:00
stop.yml Support stop specific containers 2018-11-26 08:07:01 +00:00
upgrade.yml Switch default cloudkitty storage backend to influxdb 2019-09-26 12:02:32 +01:00