Merge "Change the default storage backend to v2/influxdb"

This commit is contained in:
Zuul 2019-02-05 16:48:31 +00:00 committed by Gerrit Code Review
commit 12be7c5d60
2 changed files with 13 additions and 2 deletions

View File

@ -25,11 +25,11 @@ LOG = logging.getLogger(__name__)
storage_opts = [
cfg.StrOpt('backend',
default='sqlalchemy',
default='influxdb',
help='Name of the storage backend driver.'),
cfg.IntOpt('version',
min=1, max=2,
default=1,
default=2,
help='Storage version to use.'),
]

View File

@ -0,0 +1,11 @@
---
upgrade:
- |
CloudKitty's storage interface defaults to v2 from now on. v1 will be
deprecated in a future release. Documentation about how to upgrade the
storage backend along with some tools will be available at that point. New
deployments should use the v2 storage interface.
The default v2 backend is ``influxdb``. In order to keep using
``sqlalchemy``, specify "version = 1" and "backend = sqlalchemy" in the
``[storage]`` section of the configuration.