diff --git a/cloudkitty/storage/__init__.py b/cloudkitty/storage/__init__.py index 1d2b50ad..ec459a5a 100644 --- a/cloudkitty/storage/__init__.py +++ b/cloudkitty/storage/__init__.py @@ -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.'), ] diff --git a/releasenotes/notes/default-to-v2-storage-a5ecac7e73dafa6d.yaml b/releasenotes/notes/default-to-v2-storage-a5ecac7e73dafa6d.yaml new file mode 100644 index 00000000..18c52182 --- /dev/null +++ b/releasenotes/notes/default-to-v2-storage-a5ecac7e73dafa6d.yaml @@ -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.