From e3989321154a8cac1e0c43e935604685e9911bfd Mon Sep 17 00:00:00 2001 From: Luka Peschke Date: Tue, 18 Dec 2018 11:54:01 +0100 Subject: [PATCH] Change log message when loading v2 storage Since InfluxDB v2 storage backend has been merged, the warning when using a v2 storage backend has been changed. Change-Id: Ie636decdcf2ab6b12196b15eced9985d8a02aa50 --- cloudkitty/storage/__init__.py | 4 ++-- doc/source/admin/configuration/configuration.rst | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cloudkitty/storage/__init__.py b/cloudkitty/storage/__init__.py index f101edc9..1d2b50ad 100644 --- a/cloudkitty/storage/__init__.py +++ b/cloudkitty/storage/__init__.py @@ -147,8 +147,8 @@ def get_storage(**kwargs): version = kwargs.pop('version', None) or cfg.CONF.storage.version if int(version) > 1: - LOG.warning('V2 Storage is not considered stable and should not be ' - 'used in production') + LOG.warning('V2 Storage is in beta. Its API is considered stable but ' + 'its implementation may still evolve.') storage_namespace = 'cloudkitty.storage.v{}.backends'.format(version) if version == 1: diff --git a/doc/source/admin/configuration/configuration.rst b/doc/source/admin/configuration/configuration.rst index 9e748c52..0c471700 100644 --- a/doc/source/admin/configuration/configuration.rst +++ b/doc/source/admin/configuration/configuration.rst @@ -83,9 +83,8 @@ The following shows the basic configuration items: It is now time to configure the storage backend. Two storage backends are available: ``sqlalchemy`` and ``hybrid`` (SQLalchemy being the recommended one). -.. warning:: A v2 backend storage is also available. Whether its implementation - nor its API are considered stable yet, and it will evolve during - the Stein cycle. It is available for development purposes only. +.. warning:: A v2 influxdb backend storage is also available. Its API is + considered stable but its implementation may still evolve. .. code-block:: ini