We joyfully announce the release of: cloudkitty 14.0.0: Rating as a Service component for OpenStack This release is part of the wallaby release series. The source is available from: https://opendev.org/openstack/cloudkitty Download the package from: https://pypi.org/project/cloudkitty Please report issues through: https://storyboard.openstack.org/#!/project/openstack/cloudkitty For more details, please see below. Changes in cloudkitty 13.0.0.0rc1..14.0.0 ----------------------------------------- c248af3 Use recreate='auto' in storage_states migration 3487d3c remove unicode from code 335aa96 Remove six b0d5e45 Add doc/requirements c8370c2 [goal] Deprecate the JSON formatted policy file 4745bfe Update TOX_CONSTRAINTS_FILE 11ff736 Update lower-constraints 11ff713 Replace deprecated UPPER_CONSTRAINTS_FILE variable abffd13 Create 'use_all_resource_revisions' for Gnocchi collector 08497f0 Increase cost fields to 28 digits precision 2ad94f8 Update sample configuration and policy files 3038104 Add Python3 wallaby unit tests 100a150 Update master for stable/victoria 4900e5d Log the number of tenants loaded by the fetcher 0217e60 Add a /healthcheck URL 18feacf Custom fields in summary get API Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 2 +- HACKING.rst | 1 - cloudkitty/api/v1/controllers/collector.py | 5 +- cloudkitty/api/v1/controllers/info.py | 3 +- cloudkitty/api/v2/summary/summary.py | 29 ++++--- cloudkitty/backend/__init__.py | 5 +- cloudkitty/cli/status.py | 3 + cloudkitty/collector/__init__.py | 4 +- cloudkitty/collector/gnocchi.py | 51 ++++++++++- cloudkitty/common/defaults.py | 9 ++ cloudkitty/common/policy.py | 9 +- cloudkitty/db/api.py | 10 +-- cloudkitty/fetcher/__init__.py | 4 +- cloudkitty/hacking/checks.py | 5 +- cloudkitty/orchestrator.py | 4 +- cloudkitty/rating/__init__.py | 6 +- cloudkitty/rating/hash/controllers/field.py | 9 +- cloudkitty/rating/hash/controllers/group.py | 9 +- cloudkitty/rating/hash/controllers/mapping.py | 17 ++-- cloudkitty/rating/hash/controllers/service.py | 7 +- cloudkitty/rating/hash/controllers/threshold.py | 17 ++-- cloudkitty/rating/hash/db/api.py | 4 +- .../4da82e1c11c8_add_per_tenant_hashmap_support.py | 8 +- .../versions/54cc17accf2c_fixed_constraint_name.py | 8 +- ...91fd_update_tenant_id_type_from_uuid_to_text.py | 8 +- ...f5b2515c7_increase_precision_for_cost_fields.py | 45 ++++++++++ ...88a06b1cfce_clean_hashmap_fields_constraints.py | 2 +- .../f8c799db4aa0_fix_unnamed_constraints.py | 15 ++-- cloudkitty/rating/hash/db/sqlalchemy/models.py | 4 +- cloudkitty/rating/pyscripts/controllers/script.py | 11 ++- cloudkitty/rating/pyscripts/db/api.py | 4 +- cloudkitty/storage/__init__.py | 59 ++++++++----- cloudkitty/storage/v1/__init__.py | 5 +- cloudkitty/storage/v1/hybrid/backends/__init__.py | 5 +- cloudkitty/storage/v1/hybrid/backends/gnocchi.py | 5 +- cloudkitty/storage/v1/sqlalchemy/__init__.py | 4 +- cloudkitty/storage/v2/__init__.py | 21 ++--- cloudkitty/storage/v2/elasticsearch/__init__.py | 26 +++--- cloudkitty/storage/v2/elasticsearch/client.py | 7 +- cloudkitty/storage/v2/influx.py | 58 +++++++++---- ...c50ed2c19204_update_storage_state_constraint.py | 5 +- .../gabbi/rating/hash/gabbits/hash-location.yaml | 10 +-- cloudkitty/utils/__init__.py | 8 +- cloudkitty/utils/validation.py | 5 +- cloudkitty/writer/__init__.py | 5 +- .../v2/summary/summary_parameters.yml | 24 ++++++ etc/cloudkitty/api_paste.ini | 11 ++- lower-constraints.txt | 98 +++++++++++----------- ...ion-for-gnocchi-collector-39d29603b1f554e1.yaml | 4 + ...son-formatted-policy-file-01ceb65712fd0a39.yaml | 20 +++++ releasenotes/source/conf.py | 16 ++-- releasenotes/source/index.rst | 1 + releasenotes/source/victoria.rst | 6 ++ requirements.txt | 65 +++++++------- rtd-requirements.txt | 1 - setup.cfg | 2 +- test-requirements.txt | 23 ++--- tox.ini | 8 +- 76 files changed, 707 insertions(+), 401 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index ca8623a..6f7e7c0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,33 +4,32 @@ -pbr>=2.0.0,!=2.1.0 # Apache-2.0 -alembic>=0.8.0 # MIT -keystonemiddleware>=4.0.0 # Apache-2.0 -gnocchiclient>=2.5.0 # Apache-2.0 -python-monascaclient>=1.9.0 # Apache-2.0 -python-keystoneclient>=1.9.0,!=2.1.0 # Apache-2.0 -keystoneauth1>=2.1.0 # Apache-2.0 -iso8601>=0.1.9 # MIT -PasteDeploy>=1.5.0 # MIT -pecan>=1.0.0,!=1.0.2,!=1.0.3,!=1.0.4,!=1.2 # BSD -WSME>=0.8 # MIT -oslo.config>=3.7.0,!=4.3.0,!=4.4.0 # Apache-2.0 -oslo.context>=2.9.0 # Apache-2.0 -oslo.concurrency>=3.5.0 # Apache-2.0 -oslo.db>=4.1.0 # Apache-2.0 -oslo.i18n>=2.1.0 # Apache-2.0 -oslo.log>=1.14.0 # Apache-2.0 -oslo.messaging>=5.24.2,!=9.0.0 # Apache-2.0 -oslo.middleware>=3.27.0 # Apache-2.0 -oslo.policy>=0.5.0 # Apache-2.0 -oslo.utils>=3.5.0 # Apache-2.0 -oslo.upgradecheck>=0.1.1 # Apache-2.0 -python-dateutil>=2.5.3 # BSD -SQLAlchemy>=1.0.10,!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8 # MIT -six>=1.9.0 # MIT -stevedore>=1.5.0 # Apache-2.0 -tooz>=1.28.0 # Apache-2.0 -voluptuous>=0.11.1 # BSD License -influxdb>=5.1.0 # MIT -Flask>=1.0.2 # BSD -Flask-RESTful>=0.3.5 # BSD -cotyledon>=1.5.0 # Apache-2.0 -futurist>=1.6.0 # Apache-2.0 +pbr>=5.5.1 # Apache-2.0 +alembic>=1.4.3 # MIT +keystonemiddleware>=9.1.0 # Apache-2.0 +gnocchiclient>=7.0.6 # Apache-2.0 +python-monascaclient>=2.2.1 # Apache-2.0 +python-keystoneclient>=4.1.1 # Apache-2.0 +keystoneauth1>=4.2.1 # Apache-2.0 +iso8601>=0.1.13 # MIT +PasteDeploy>=2.1.1 # MIT +pecan>=1.3.3 # BSD +WSME>=0.10.0 # MIT +oslo.config>=8.3.3 # Apache-2.0 +oslo.context>=3.1.1 # Apache-2.0 +oslo.concurrency>=4.3.1 # Apache-2.0 +oslo.db>=8.4.0 # Apache-2.0 +oslo.i18n>=5.0.1 # Apache-2.0 +oslo.log>=4.4.0 # Apache-2.0 +oslo.messaging>=12.6.0 # Apache-2.0 +oslo.middleware>=4.1.1 # Apache-2.0 +oslo.policy>=3.6.0 # Apache-2.0 +oslo.utils>=4.7.0 # Apache-2.0 +oslo.upgradecheck>=1.3.0 # Apache-2.0 +python-dateutil>=2.7.0 # BSD +SQLAlchemy>=1.3.20 # MIT +stevedore>=3.2.2 # Apache-2.0 +tooz>=2.7.1 # Apache-2.0 +voluptuous>=0.12.0 # BSD License +influxdb>=5.3.1 # MIT +Flask>=1.1.2 # BSD +Flask-RESTful>=0.3.8 # BSD +cotyledon>=1.7.3 # Apache-2.0 +futurist>=2.3.0 # Apache-2.0 diff --git a/rtd-requirements.txt b/rtd-requirements.txt index f9a091e..2131131 100644 --- a/rtd-requirements.txt +++ b/rtd-requirements.txt @@ -22 +21,0 @@ SQLAlchemy<1.1.0,>=0.9.7 -six>=1.9.0 diff --git a/test-requirements.txt b/test-requirements.txt index e790878..dcb19c6 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,14 +8,8 @@ hacking>=3.0.1,<3.1.0 # Apache-2.0 -coverage>=3.6,!=4.4 # Apache-2.0 -kombu>=4.0.0,!=4.0.2 # BSD -ddt>=1.0.1 # MIT -gabbi>=1.26.1 # Apache-2.0 -testscenarios>=0.4 # Apache-2.0/BSD -stestr>=2.0.0 # Apache-2.0 -sphinx>=2.0.0,!=2.1.0 # BSD -openstackdocstheme>=2.2.1 # Apache-2.0 -oslotest>=1.10.0 # Apache-2.0 -sphinxcontrib-httpdomain>=1.6.0 # BSD -sphinxcontrib-pecanwsme>=0.8 # Apache-2.0 -reno>=3.1.0 # Apache-2.0 -doc8>=0.6.0 # Apache-2.0 -Pygments>=2.2.0 # BSD license +coverage>=5.3 # Apache-2.0 +kombu>=5.0.2 # BSD +ddt>=1.4.1 # MIT +gabbi>=2.0.4 # Apache-2.0 +testscenarios>=0.5.0 # Apache-2.0/BSD +stestr>=3.0.1 # Apache-2.0 +oslotest>=4.4.1 # Apache-2.0 +doc8>=0.8.1 # Apache-2.0 @@ -23 +16,0 @@ bandit>=1.6.0 # Apache-2.0 -os-api-ref>=1.0.0 # Apache-2.0