We are stoked to announce the release of: aodh 18.0.0: OpenStack Telemetry Alarming This release is part of the caracal release series. The source is available from: https://opendev.org/openstack/aodh Download the package from: https://tarballs.openstack.org/aodh/ Please report issues through: https://bugs.launchpad.net/aodh/+bugs For more details, please see below. Changes in aodh 17.0.0..18.0.0 ------------------------------ 20d29d8a Add job to test with SQLAlchemy master (2.x) 947c7b4f db: Replace use of Engine.execute() method 9a66301a tests: Enable SQLAlchemy 2.0 deprecation warnings 90076472 Configure 'cache_ok' for TypeDecorator implementation 3bd47b2b db: Don't pass strings to 'Connection.execute' 45e0eaaa db: Remove use of autocommit b710d3fd db: Replace use of LegacyEngineFacade f1e87fad Ensure [telemetry_services] alarm_backend is set properly e223ac14 Fix releasenotes build af yoga moved to unmaintained 925048f4 tox: Drop envdir fd87af87 Replace md5 with oslo version d8b3f58c Bump hacking 16ea9ee1 Add GITREPO for aodhclient 64b937b8 Update python classifier in setup.cfg d6416e32 doc: Drop DJANGO_SETTINGS_MODULE environment ac365555 Dump loaded options during start up 59a43ef3 Move functional tests to tempest_plugin c2f3f7c0 setup: Re-add Python version classifiers 4008f65a tests: Remove duplicate fixture config 6c032153 setup: Remove unused dependencies 9ebb2452 setup: Remove sqlalchemy extra dep f9322652 Add Prometheus evaluator 0ca1452b Remove python2 shebang from some files 76d367be Fix py311 job ab290962 Revert "Fix docs job" a55d9620 Use devstack helper for installation 8de7585f Disable GLOBAL_VENV 2a2958bd Fix docs job 29b88f5d tox: Remove unnecessary configuration aee785e8 Update master for stable/2023.2 6c3e3df3 Fix bindep.txt for python 3.11 job(Debian Bookworm) Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 45 +- aodh/api/app.py | 4 +- aodh/api/controllers/v2/alarm_rules/composite.py | 3 +- aodh/api/controllers/v2/alarm_rules/prometheus.py | 46 + aodh/api/rbac.py | 2 +- aodh/cmd/alarm.py | 6 + aodh/coordination.py | 6 +- aodh/evaluator/composite.py | 3 +- aodh/evaluator/prometheus.py | 78 ++ aodh/evaluator/threshold.py | 50 +- aodh/opts.py | 2 + aodh/service.py | 1 - aodh/storage/__init__.py | 2 +- aodh/storage/base.py | 2 +- aodh/storage/impl_sqlalchemy.py | 226 ++-- aodh/storage/sqlalchemy/alembic/env.py | 15 +- aodh/storage/sqlalchemy/models.py | 2 + .../functional/api/v2/test_alarm_scenarios.py | 1374 +------------------- .../functional/gabbi/gabbits/capabilities.yaml | 12 - .../functional/gabbi/gabbits/healthcheck.yaml | 7 - .../storage/sqlalchemy/test_migrations.py | 5 +- .../functional/storage/test_get_connection.py | 2 +- .../{functional/api/v2 => unit}/test_query.py | 0 .../api/v2 => unit}/test_wsme_custom_type.py | 0 bindep.txt | 5 +- devstack/plugin.sh | 8 +- devstack/settings | 1 + releasenotes/source/2023.2.rst | 6 + releasenotes/source/index.rst | 1 + releasenotes/source/yoga.rst | 2 +- requirements.txt | 11 +- setup.cfg | 6 +- test-requirements.txt | 1 - tox.ini | 15 +- 53 files changed, 538 insertions(+), 2202 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index bddc1bab..cc0d1193 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +0,0 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. - @@ -14 +9,0 @@ oslo.config>=6.8.0 # Apache-2.0 -oslo.context>=2.22.0 # Apache-2.0 @@ -25 +20 @@ oslo.middleware>=3.22.0 # Apache-2.0 -oslo.utils>=3.5.0 # Apache-2.0 +oslo.utils>=4.7.0 # Apache-2.0 @@ -34 +29 @@ WebOb>=1.2.3 -WSME>=0.8 +WSME>=0.12.1 @@ -38 +33 @@ keystoneauth1>=2.1 -debtcollector>=1.2.0 # Apache-2.0 +python-observabilityclient>=0.0.4 diff --git a/test-requirements.txt b/test-requirements.txt index c5c5d2e6..9fc84fcb 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6 +5,0 @@ SQLAlchemy-Utils>=0.39.0 -testresources>=0.2.4 # Apache-2.0/BSD