We are satisfied to announce the release of: monasca-api 6.0.0: OpenStack Monitoring as a Service This release is part of the wallaby 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. 6.0.0 ^^^^^ Upgrade Notes ************* * The default value of "[oslo_policy] policy_file" config option has been changed from "policy.json" to "policy.yaml". Operators who are utilizing customized or previously generated static policy JSON files (which are not needed by default), should generate new policy files or convert them in YAML format. Use the oslopolicy-convert- json-to-yaml (https://docs.openstack.org/oslo.policy/latest/cli /oslopolicy-convert-json-to-yaml.html) tool to convert a JSON to YAML formatted policy file in backward compatible way. Deprecation Notes ***************** * Use of JSON policy files was deprecated by the "oslo.policy" library during the Victoria development cycle. As a result, this deprecation is being noted in the Wallaby cycle with an anticipated future removal of support by "oslo.policy". As such operators will need to convert to YAML policy files. Please see the upgrade notes for details on migration of any custom policy files. Changes in monasca-api 5.0.0..6.0.0 ----------------------------------- 6f534485 Workaround for new pip 20.3 behavior eb5a359f Re-enable Docker Zuul jobs 14cd5146 Update docker-publish.yml for stable/wallaby b3ce7ec3 Fix log-metric configuration 97510ed0 Update TOX_CONSTRAINTS_FILE for stable/wallaby a96e5a82 Update .gitreview for stable/wallaby 10ef639c Fix warnings in documentation dea6f95c [goal] Deprecate the JSON formatted policy file 90754d0b Fix zuul publish docker image job 9cb4a752 Add doc/requirements ceac157b Align lower-constraints for new pip 2d520d50 Use TOX_CONSTRAINTS_FILE 041f295b Add Influxdb Python client v5.3.1 compatibility 344c6267 bump py37 to py38 in tox.ini 654d01c9 Update gevent version to 1.5.0 ef433f08 Add option to choose Kafka client in Docker 1491ed9a Add Python3 wallaby unit tests ef552c03 Update master for stable/victoria bbc9522b Migrate DevStack plugin to Ubuntu Focal 43922f82 [goal] Migrate testing to ubuntu focal Diffstat (except docs and test files) ------------------------------------- .gitreview | 1 + .zuul.yaml | 2 +- devstack/Vagrantfile | 2 +- devstack/files/debs/monasca-api | 14 ++-- .../files/monasca-log-metrics/log-metrics.conf | 2 +- devstack/files/monasca-thresh/thresh-config.yml | 2 +- devstack/files/zookeeper/environment | 36 -------- devstack/files/zookeeper/log4j.properties | 5 +- devstack/files/zookeeper/myid | 1 - devstack/files/zookeeper/zoo.cfg | 2 +- devstack/files/zookeeper/zookeeper.service | 20 +++++ devstack/lib/zookeeper.sh | 70 +++++++++------- devstack/plugin.sh | 9 +- devstack/settings | 1 + lower-constraints.txt | 48 +++++------ monasca_api/cmd/status.py | 10 +-- monasca_api/common/policy/policy_engine.py | 8 ++ .../repositories/influxdb/metrics_repository.py | 95 +++++----------------- playbooks/docker-publish.yml | 2 +- ...son-formatted-policy-file-2f00c9efa9e274af.yaml | 20 +++++ releasenotes/source/index.rst | 1 + releasenotes/source/victoria.rst | 6 ++ requirements.txt | 18 ++-- test-requirements.txt | 5 -- tox.ini | 12 ++- 32 files changed, 226 insertions(+), 235 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index a89ae871..5f365656 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,3 @@ -oslo.db>=4.27.0 # Apache-2.0 -oslo.config>=5.2.0 # Apache-2.0 -oslo.context>=2.19.2 # Apache-2.0 +oslo.db>=6.0.0 # Apache-2.0 +oslo.config>=6.8.0 # Apache-2.0 +oslo.context>=2.22.0 # Apache-2.0 @@ -9 +9 @@ oslo.middleware>=3.31.0 # Apache-2.0 -oslo.policy>=1.30.0 # Apache-2.0 +oslo.policy>=3.6.0 # Apache-2.0 @@ -11,2 +11,2 @@ oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 -oslo.upgradecheck>=0.1.0 # Apache-2.0 -oslo.utils>=3.33.0 # Apache-2.0 +oslo.upgradecheck>=1.3.0 # Apache-2.0 +oslo.utils>=4.5.0 # Apache-2.0 @@ -21 +21 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -six>=1.10.0 # MIT +six>=1.12.0 # MIT @@ -23 +23 @@ pyparsing>=2.1.0 # MIT -voluptuous>=0.8.9 # BSD License +voluptuous>=0.11.1 # BSD License @@ -26 +26 @@ monasca-common>=2.16.0 # Apache-2.0 -SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT +SQLAlchemy>=1.3.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 756f7255..ff03dd92 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -25 +24,0 @@ tempest>=17.1.0 # Apache-2.0 -# documentation @@ -27,4 +25,0 @@ doc8>=0.6.0 # Apache-2.0 -sphinx>=2.0.0,!=2.1.0 # BSD -os-api-ref>=1.4.0 # Apache-2.0 -reno>=3.1.0 # Apache-2.0 -openstackdocstheme>=2.2.1 # Apache-2.0