monasca-persister 1.15.0 (train)
We are tickled pink to announce the release of: monasca-persister 1.15.0: Moves metrics and alarm state transitions from the Message Queue to the Metrics and Alarms database. This release is part of the train release series. The source is available from: https://opendev.org/openstack/monasca-persister Download the package from: https://tarballs.openstack.org/monasca-persister/ Please report issues through: https://bugs.launchpad.net/monasca/+bugs For more details, please see below. Changes in monasca-persister 1.14.0..1.15.0 ------------------------------------------- 0daa8eb Tool to migrate existing data to db per tenant 774e981 Implement separate db per tenancy 10ddad0 Update the constraints url 159adea Set job with Java persister non-voting f7f3d2e Deprecate Java implementation 2a76a04 Exclude influxdb 5.2.3 for python c78d5eb Fix InfluxdbClientError exception bug b880840 Use Confluent Kafka client cc27836 Support Kafka_events option in docker evn 4b7e7bf Update all columns in metrics on an update to refresh TTL e4d3ed1 Disable monasca-tempest-java-influxdb job f359521 Add Python 3 Train unit tests f23adaa Add tests for cassandra/token_range_query_manager.py 1ce49ce Add tests for cassandra/alarm_state_history_repository.py ca77fb4 Change lower-constraints for cassandra-driver 1d58e98 Support kafka num_processors option 96b916b Adds release note warning of InfluxDB recommended version change 506717e cassandra metrics_id contain null value bug 3907142 Support cache_size option in docker env c32885a Clarify dependency on cachetools in recreate-metric-id tool 8f1d672 Add tests for influxdb/metrics_repository.py 3aa33e6 Replace git.openstack.org URLs with opendev.org URLs e21e044 Add utils.py tests 5e1823d Fix a typo and add troubleshooting in tools README bfd5ce5 Fix app_repo in Docker with new git url 0aaa7d3 Create a tool for recreating missing metrid_id in Cassandra f4ea2f9 Minor refactoring for utils.py 7f2da27 Add tests for repositories/persister.py 1f06229 Add tests for influxdb/alarm_state_history_repository.py 54df2c5 Add tests for cassandra/metric_batch.py dcfdb5c OpenDev Migration Patch 650105f Improve Docker README file f911fb8 Add logging configuration to docker image d47383d Dropping the py35 testing fc9a45f Push Docker image to Docker Hub e415ea7 Change process_message() to static f43d019 Widen exception catch for point parse failure 86514d7 Add coverage report display 2bef4e5 cassandra contact_points bug 4ec9345 Update master for stable/stein Diffstat (except docs and test files) ------------------------------------- .coveragerc | 7 + .gitreview | 2 +- .zuul.yaml | 51 ++++- README.rst | 93 ++++---- common/build_common.sh | 2 +- ...persister.conf.j2 => monasca-persister.conf.j2} | 18 +- java/README.rst | 68 ++++++ .../repository/cassandra/CassandraCluster.java | 13 +- .../repository/cassandra/CassandraMetricRepo.java | 4 +- lower-constraints.txt | 4 +- monasca_persister/README.md | 4 +- monasca_persister/conf/cassandra.py | 3 +- monasca_persister/conf/influxdb.py | 3 + monasca_persister/conf/kafka_common.py | 8 +- monasca_persister/config.py | 4 +- monasca_persister/kafka/__init__.py | 0 .../kafka/confluent_kafka_persister.py | 37 ++++ monasca_persister/kafka/legacy_kafka_persister.py | 34 +++ monasca_persister/persister.py | 11 +- .../repositories/abstract_repository.py | 2 +- .../cassandra/alarm_state_history_repository.py | 7 +- .../repositories/cassandra/connection_util.py | 3 +- .../repositories/cassandra/metrics_repository.py | 19 +- .../repositories/influxdb/abstract_repository.py | 32 ++- .../influxdb/alarm_state_history_repository.py | 2 +- .../repositories/influxdb/metrics_repository.py | 10 +- monasca_persister/repositories/persister.py | 74 ++++--- monasca_persister/repositories/singleton.py | 22 ++ monasca_persister/repositories/utils.py | 22 +- ...est_cassandra_alarm_state_history_repository.py | 111 ++++++++++ ...test_influxdb_alarm_state_history_repository.py | 73 +++++++ .../tools/cassandra/recreate-metric-id/README.rst | 116 ++++++++++ .../persister-check-missing-metric-id.py | 156 ++++++++++++++ .../persister-recreate-metric-id.py | 182 ++++++++++++++++ .../recreate-metric-id/persister-recreate.ini | 22 ++ .../tools/influxdb/db-per-tenant/README.rst | 122 +++++++++++ .../db-per-tenant/migrate-to-db-per-tenant.py | 237 +++++++++++++++++++++ playbooks/docker-publish.yml | 12 ++ ...fka_client_enabled_option-b6830637029dbca7.yaml | 7 + ...support-for-db-per-tenant-6ada0c3979de6df8.yaml | 6 + .../notes/upgrade-influxdb-dbb6a18da6e55805.yaml | 14 ++ releasenotes/source/index.rst | 1 + releasenotes/source/stein.rst | 6 + requirements.txt | 2 +- setup.cfg | 12 +- test-requirements.txt | 3 +- tox.ini | 5 +- 59 files changed, 2170 insertions(+), 232 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 44ca00a..9754709 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8 +8 @@ six>=1.10.0 # MIT -monasca-common>=2.7.0 # Apache-2.0 +monasca-common>=2.16.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 047cc37..be25cb7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15 +15,2 @@ pycodestyle>=2.5.0 # MIT -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
participants (1)
-
no-reply@openstack.org