[new][cloudkitty] cloudkitty 0.6.0 release (newton)
We are delighted to announce the release of: cloudkitty 0.6.0: Rating as a Service component for OpenStack This release is part of the newton release series. For more details, please see below. Changes in cloudkitty 0.5.0..0.6.0 ---------------------------------- 49e8417 Added native gnocchi storage driver aed29a3 Add network.floating to Gnocchi collector 7e0a1f4 Add fields to csv reports 4d41142 Fix network.bw.* qty matching the unit by gnocchi collector cfcd6f9 Avoid error when iamge_ref is None 3e71aa9 Add infos about fields in hashmap documentation 1196440 Add CSV support to cloudkitty-writer 2734bb1 Create DBCommand object after parsing 161b9f5 ceilometer image collector is not JSON serializable bf39479 Fix db api with hash rating 3ffa3fa Improve the rpc module d6b61b9 Use local.conf instead of localrc in devstack doc bbb755d Remove downgrade migrations c2f65dc Change LOG.warn to LOG.warning 61d297e Remove rating SQL Schema Downgrades d77d2c6 Remove db SQL Schema Downgrades 4fa4341 Remove storage SQL Schema Downgrades 5688399 Use international logging message e694992 doc: fix cmd for creating hashmap group 02fea33 Delete python bytecode before every test run b06b945 fix the typo e43ba18 RootController: Use an index method instead of get c05efd2 Fix port hardcoded on APILink sample ab38996 Changes default port from 8888 to 8889 901704c Fix loosing resource metadata in Gnocchi 4ca694c Correct concurrency of gabbi tests for gabbi 1.22.0 3e2c664 Refactor gnocchi transformer 9c9d0b6 Refactor ceilometer transformer 8673893 Remove spec file since cloudkitty is in RDO 532dd50 Ensure module list is up to date in API tests 3ef6266 Refactor transformer base 0b2d2ea Fix gnocchi support 5d5af4d Add per tenant hashmap rules 6911300 Add API check to verify PyScripts is loaded 78c3f4f Added gabbi tests for hashmap module 7a5e9d0 Clean constraints in hashmap fields table 1b278d9 Fix issues with alembic constraint naming b8990cc Added hashmap module documentation 6f9e9c9 Rename hashmap mapping table to hashmap_mappings beb768c Code cleanup of hashmap constraint migration 8dc02ee Refactor storage-init command a28eec6 Refactor database models and migrations 6cb5a2c Fix missing requirement alembic 26b88ff Refactor writer command 26028aa Refactor dbsync command 3337672 Fix gnocchi UUID length in storage 6b3b6d6 Fix the path of the logo for the README file d4e556e Add a logo to the frontpage 097e395 Fix devstack cleanup of data dir 0014a75 Replace subclassed RequestContext with base class 4f8dd44 Define context.roles with base class Diffstat (except docs and test files) ------------------------------------- .testr.conf | 2 +- README.rst | 5 + cloudkitty/api/app.py | 23 +- cloudkitty/api/hooks.py | 7 +- cloudkitty/api/root.py | 9 +- cloudkitty/cli/api.py | 2 - cloudkitty/cli/dbsync.py | 33 +- cloudkitty/cli/processor.py | 2 - cloudkitty/cli/storage.py | 15 +- cloudkitty/cli/writer.py | 28 +- cloudkitty/collector/ceilometer.py | 2 +- cloudkitty/collector/gnocchi.py | 182 +++++++---- cloudkitty/common/context.py | 52 --- cloudkitty/common/db/alembic/migration.py | 6 - cloudkitty/common/db/models.py | 31 ++ cloudkitty/common/rpc.py | 43 --- cloudkitty/db/sqlalchemy/alembic/script.py.mako | 4 - ...ac2217dcbd9_added_support_for_meta_collector.py | 13 +- ...385e33fef139_added_priority_to_modules_state.py | 9 +- .../versions/464e951dc3b8_initial_migration.py | 25 +- cloudkitty/db/sqlalchemy/migration.py | 5 - cloudkitty/messaging.py | 76 +++++ cloudkitty/orchestrator.py | 30 +- cloudkitty/rating/__init__.py | 9 +- cloudkitty/rating/hash/__init__.py | 58 +++- cloudkitty/rating/hash/controllers/field.py | 6 +- cloudkitty/rating/hash/controllers/group.py | 2 + cloudkitty/rating/hash/controllers/mapping.py | 38 ++- cloudkitty/rating/hash/controllers/service.py | 2 + cloudkitty/rating/hash/controllers/threshold.py | 38 ++- cloudkitty/rating/hash/datamodels/mapping.py | 8 +- cloudkitty/rating/hash/datamodels/threshold.py | 8 +- cloudkitty/rating/hash/db/api.py | 87 ++++-- .../hash/db/sqlalchemy/alembic/models/__init__.py | 0 .../models/f8c799db4aa0_fix_unnamed_constraints.py | 342 ++++++++++++++++++++ .../hash/db/sqlalchemy/alembic/script.py.mako | 4 - ...7df_rename_mapping_table_to_hashmap_mappings.py | 17 + .../versions/3dd7e13527f3_initial_migration.py | 139 ++++---- .../4da82e1c11c8_add_per_tenant_hashmap_support.py | 84 +++++ .../4fa888fd7eda_added_threshold_support.py | 57 ++-- .../versions/54cc17accf2c_fixed_constraint_name.py | 136 ++++---- ...88a06b1cfce_clean_hashmap_fields_constraints.py | 39 +++ .../f8c799db4aa0_fix_unnamed_constraints.py | 238 ++++++++++++++ cloudkitty/rating/hash/db/sqlalchemy/api.py | 129 +++++--- cloudkitty/rating/hash/db/sqlalchemy/migration.py | 5 - cloudkitty/rating/hash/db/sqlalchemy/models.py | 336 ++++++++++++-------- .../pyscripts/db/sqlalchemy/alembic/script.py.mako | 4 - .../versions/4f9efa4601c0_initial_migration.py | 27 +- .../rating/pyscripts/db/sqlalchemy/migration.py | 5 - cloudkitty/rpc.py | 38 --- cloudkitty/service.py | 28 +- cloudkitty/storage/gnocchi/__init__.py | 348 +++++++++++++++++++++ cloudkitty/storage/gnocchi_hybrid/__init__.py | 12 +- .../storage/gnocchi_hybrid/alembic/script.py.mako | 4 - .../versions/4c2f20df7491_initial_migration.py | 4 - .../d39836d70aee_fixed_uuid_length_problem.py | 22 ++ cloudkitty/storage/gnocchi_hybrid/migration.py | 5 - cloudkitty/storage/gnocchi_hybrid/models.py | 5 +- .../storage/sqlalchemy/alembic/script.py.mako | 4 - .../versions/17fd1b237aa3_initial_migration.py | 5 - .../792b438b663_added_tenant_informations.py | 4 - cloudkitty/storage/sqlalchemy/migration.py | 5 - cloudkitty/tenant_fetcher/__init__.py | 2 +- .../gabbi/rating/hash/gabbits/hash_empty.yaml | 28 ++ .../gabbi/rating/hash/gabbits/hash_errors.yaml | 318 +++++++++++++++++++ .../gabbi/rating/hash/gabbits/hash_location.yaml | 144 +++++++++ .../gabbi/rating/pyscripts/gabbits/pyscripts.yaml | 10 + cloudkitty/transformer/__init__.py | 28 +- cloudkitty/transformer/ceilometer.py | 68 ++-- cloudkitty/transformer/gnocchi.py | 68 ++-- cloudkitty/version.py | 17 + cloudkitty/writer/csv_base.py | 253 +++++++++++++++ cloudkitty/writer/csv_map.py | 153 +++++++++ contrib/ci/scripts/test_collector.sh | 40 +-- contrib/cloudkitty.spec.in | 185 ----------- devstack/plugin.sh | 5 +- devstack/settings | 2 +- etc/cloudkitty/cloudkitty.conf.sample | 2 +- requirements.txt | 5 +- setup.cfg | 2 + tox.ini | 1 + 101 files changed, 4538 insertions(+), 1133 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index f43ffcd..40f8504 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,0 +5 @@ pbr>=1.6 # Apache-2.0 +alembic>=0.8.0 # MIT @@ -8 +9 @@ python-ceilometerclient>=2.2.1 # Apache-2.0 -gnocchiclient>=2.1.0 # Apache-2.0 +gnocchiclient>=2.5.0 # Apache-2.0 @@ -16 +17 @@ oslo.config>=3.7.0 # Apache-2.0 -oslo.context>=0.2.0 # Apache-2.0 +oslo.context>=2.2.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org