We eagerly announce the release of: monasca-api 4.0.0: OpenStack Monitoring as a Service This release is part of the ussuri release series. The source is available from: https://opendev.org/openstack/monasca-api Download the package from: https://tarballs.openstack.org/monasca-api/ Please report issues through: https://bugs.launchpad.net/monasca/+bugs For more details, please see below. Changes in monasca-api 3.1.0..4.0.0 ----------------------------------- aeed1c63 Add build and installation for monasca-kibana-plugin in new API 3182d90b Use unittest.mock instead of third party mock 00b70ab3 Reenable building and publishing Docker images abad342e Update hacking for Python3 dc32ef4f Enable monasca-tempest-python3-influxdb as voting 0b7dc582 Migrate from ujson to simplejson 80b59f7a Cleanup py27 support 5918a87f Reduce number of partitions created by kafka 9be83488 Set DEBUG log level for Elastisearch 6d020013 Remove handling legacy monasca-agent service file 394be3f3 Use Confluent Kafka producer for logs c3993bf4 Disable not needed services in CI job 92fbb930 Allow users to set periodic notifications on all notification types ce0e6258 Upgrade Elkstack in new API 3a405648 Fix invalid list of notification types in API spec 712f693a Fix notification method type DB schema migration bd26facc Update DevStack plugin Readme 7c561561 Update nodejs and npm packages e2789e8a [ussuri][goal] Drop python 2.7 support and testing 5609a288 Correct log tempest name b6eeb9a3 Adjust docker image to support new configuration option 1e3e1173 Update devstack plugin to support new api a76a7459 Set maximum buffer size for Kafka producer f4dce6c3 Support batching metrics when writing to Kafka 19415304 Fix python3 compatibility issue 12dee699 Fix for editing an Alarm Definition 159bc64f Correct the IPv6 address and port parsing 91792de8 Enable monasca-agent libvirt plugin 3f31ba40 Configure monasca-ui settings in Horizon dir 82808b93 Update master for stable/train 2f29cdd9 Add Reviews Prioritisation section Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 118 ++- README.rst | 2 +- devstack/README.md | 80 +- devstack/Vagrantfile | 14 +- devstack/files/elasticsearch/elasticsearch.yml | 88 +++ devstack/files/grafana/dashboards.d/20-kibana.json | 624 ++++++++++++++++ .../grafana/dashboards.d/22-logtransformer.json | 624 ++++++++++++++++ .../files/grafana/dashboards.d/23-logtmetrics.json | 624 ++++++++++++++++ .../grafana/dashboards.d/24-logpersister.json | 624 ++++++++++++++++ devstack/files/grafana/grafana-init.py | 1 - devstack/files/kibana/kibana.yml | 122 ++++ devstack/files/monasca-agent/elastic.yaml | 7 + devstack/files/monasca-agent/host_alive.yaml | 2 +- devstack/files/monasca-agent/http_check.yaml | 40 +- devstack/files/monasca-agent/kafka_consumer.yaml | 18 +- devstack/files/monasca-agent/mysql.yaml | 12 +- devstack/files/monasca-agent/process.yaml | 168 ++--- devstack/files/monasca-log-agent/agent.conf | 41 ++ .../files/monasca-log-metrics/log-metrics.conf | 83 +++ .../files/monasca-log-persister/persister.conf | 71 ++ .../files/monasca-log-transformer/transformer.conf | 88 +++ devstack/files/schema/influxdb_setup.py | 59 +- devstack/lib/monasca-log.sh | 801 +++++++++++++++++++++ devstack/lib/ui.sh | 18 +- devstack/plugin.sh | 248 +++++-- devstack/settings | 46 ++ etc/api-logging.conf | 8 +- lower-constraints.txt | 6 +- monasca_api/api/core/log/log_publisher.py | 9 +- monasca_api/api/core/log/model.py | 2 +- monasca_api/api/wsgi.py | 1 + monasca_api/cmd/monasca_db.py | 70 +- monasca_api/common/messaging/kafka_publisher.py | 5 +- .../repositories/model/sub_alarm_definition.py | 2 +- monasca_api/common/rest/utils.py | 2 +- monasca_api/conf/kafka.py | 6 +- monasca_api/conf/types.py | 7 +- monasca_api/db/alembic/env.py | 1 + ...083b298bb7_remove_builtin_notification_types.py | 24 +- monasca_api/expression_parser/alarm_expr_parser.py | 1 + monasca_api/hacking/checks.py | 6 +- monasca_api/v2/common/helpers.py | 2 +- .../alarm_definition_request_body_schema.py | 1 + .../schemas/notifications_request_body_schema.py | 5 +- monasca_api/v2/reference/helpers.py | 4 +- monasca_api/v2/reference/metrics.py | 5 +- .../notes/drop-py-2-7-aee58a9afab0e4b9.yaml | 6 + ...ticsearch-cluster-upgrade-4b7bdc9c17e0169f.yaml | 5 + ...b-migration-issue-2006984-6676bd3a8a34c9ae.yaml | 6 + ...ng-periodic-notifications-68f6c2ed6f89ebc0.yaml | 4 + ...nfiguring-kafka-post-size-4baa10353e859b8a.yaml | 4 + releasenotes/source/conf.py | 6 +- releasenotes/source/index.rst | 1 + releasenotes/source/train.rst | 6 + requirements.txt | 1 + setup.cfg | 35 +- setup.py | 9 - test-requirements.txt | 10 +- tox.ini | 29 +- 82 files changed, 4578 insertions(+), 525 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 12241288..a89ae871 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,0 +27 @@ SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT +simplejson>=3.8.1 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 0e340b4a..64da9de2 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7 +7 @@ bashate>=0.5.1 # Apache-2.0 -hacking>=1.1.0,<1.2.0 # Apache-2.0 +hacking>=3.0,<3.1.0 # Apache-2.0 @@ -13,4 +13 @@ httplib2>=0.9.1 # MIT -influxdb>=2.9.2,!=5.2.0,!=5.2.1,!=5.2.2;python_version<'3.0' # MIT -influxdb>=2.9.2;python_version>='3.0' # MIT -mock>=2.0.0 # BSD -funcsigs>=1.0.0;python_version=='2.7' or python_version=='2.6' # Apache-2.0 +influxdb>=2.9.2 # MIT @@ -30,2 +27 @@ doc8>=0.6.0 # Apache-2.0 -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,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD +sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2 # BSD