We enthusiastically announce the release of: aodh 21.0.0 This release is part of the flamingo 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 20.0.0..21.0.0 ------------------------------ 03f127ed Drop explicit description about default values d4349d4f Load cotyledon options 11fb5008 Remove remaining log translation 43a5f691 Drop outdated description about oslo-incubator fe518192 Fix GMR feature not actually enabled 57ea4508 Drop wrong comment 3aecf348 Remove [DEFAULT] http_timeout ecff57fe Make grenade job voting 096f9f41 Run telemetry-tempest-tests in grenade job 9e96c308 Validate input of [DEFAULT] auth_mode 80b5a4ef Refactor alembic setup c2b34f7d Drop redundant tempest plugin test jobs 16ba9a5e Add grenade job a72afc36 Add cascade to delete related rows automatically 3087bd0e Imported Translations from Zanata f63d0938 Fix missing FK constraint from alarm history to alarm 2d00059d Get rid of thin redundant wrapper ed2a0913 Imported Translations from Zanata 2a563b22 sqlalchemy: Use built-in declarative 810fcab5 Zuul: do not use USE_PYTHON3 29c32f81 Fix a typo in release note 6cd8f40b Modify documentation with new uwsgi file 459022c7 devstack: Drop redundant AODH_BACKEND 9049665c Drop extras for database backend ddf42f8d Add bashate 6dc58dac Remove Python 3.9 support b1861677 Use super instead of explicit class name 7e03474a Drop explicit executor argument 538521dd add pyproject.toml to support pip 23.1 e1b6975c Replace outdated url e082edc5 Remove Ubuntu Jammy job 3b6ef16b Remove CentOS Stream 9 jobs 72a9b23b Remove TODO note for old versions 6307d533 Remove installation guide for openSUSE/SLES 4f71fea2 devstack: Remove mod_wsgi leftovers d1ee58de Run pyupgrade to clean up Python 2 syntaxes 083dad57 Use pre-commit to run pep8 checks e5c561a4 Add possibility to get metrics for all projects 79ae3725 Deprecate the prometheus_disable_rbac cfg option f7aa502e Add wsgi module 63a0c153 Update master for stable/2025.1 fba793c8 Skip functional tests for .gitreview 7b369efc Cap maximum evaluation period and granularity 1643abed Add evaluation results counters to /metrics ab53622c Replace independent aodh-api service by Apache web server 97e73626 Use common helper to generate uwsgi setting 19369bda devstack: Remove mod_wsgi support 5b4f3c8b devstack: Remove support for "simple" api service Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 36 +++++ .zuul.yaml | 109 +++---------- aodh/api/__init__.py | 3 +- aodh/api/app.py | 2 +- aodh/api/app.wsgi | 4 + aodh/api/controllers/root.py | 4 +- aodh/api/controllers/v2/alarm_rules/composite.py | 4 +- aodh/api/controllers/v2/alarm_rules/event.py | 6 +- aodh/api/controllers/v2/alarm_rules/gnocchi.py | 11 +- aodh/api/controllers/v2/alarms.py | 32 ++-- aodh/api/controllers/v2/base.py | 30 ++-- aodh/api/controllers/v2/capabilities.py | 4 +- aodh/api/controllers/v2/metrics.py | 127 +++++++++++++++ aodh/api/controllers/v2/query.py | 2 +- aodh/api/controllers/v2/root.py | 4 +- aodh/api/controllers/v2/utils.py | 8 +- aodh/api/middleware.py | 6 +- aodh/api/policies.py | 26 ++- aodh/cmd/__init__.py | 1 - aodh/cmd/alarm.py | 14 +- aodh/cmd/aodh-config-generator.conf | 1 + aodh/cmd/storage.py | 1 - aodh/coordination.py | 12 +- aodh/evaluator/__init__.py | 9 +- aodh/evaluator/composite.py | 12 +- aodh/evaluator/event.py | 12 +- aodh/evaluator/gnocchi.py | 20 +-- aodh/evaluator/loadbalancer.py | 2 +- aodh/evaluator/prometheus.py | 13 +- aodh/evaluator/threshold.py | 7 +- aodh/event.py | 4 +- aodh/locale/en_GB/LC_MESSAGES/aodh.po | 14 +- aodh/locale/id/LC_MESSAGES/aodh.po | 167 +++++++++++++++++++ aodh/locale/ru/LC_MESSAGES/aodh.po | 14 +- aodh/messaging.py | 3 +- aodh/notifier/__init__.py | 6 +- aodh/notifier/heat.py | 4 +- aodh/notifier/log.py | 18 +-- aodh/notifier/rest.py | 12 +- aodh/notifier/test.py | 2 +- aodh/notifier/trust.py | 4 +- aodh/notifier/zaqar.py | 20 +-- aodh/opts.py | 9 +- aodh/profiler.py | 2 +- aodh/queue.py | 2 +- aodh/service.py | 27 +--- aodh/storage/__init__.py | 4 +- aodh/storage/base.py | 20 ++- aodh/storage/impl_sqlalchemy.py | 79 +++++++-- aodh/storage/models.py | 19 ++- aodh/storage/sqlalchemy/alembic/alembic.ini | 2 +- aodh/storage/sqlalchemy/alembic/env.py | 33 ++-- .../alembic/versions/008_added_counter_table.py | 67 ++++++++ .../versions/009_fix_missing_fk_constraint.py | 41 +++++ .../sqlalchemy/alembic/versions/010_add_cascade.py | 58 +++++++ .../367aadf5485f_precisetimestamp_to_datetime.py | 1 - .../versions/6ae0d05d9451_add_reason_column.py | 1 - aodh/storage/sqlalchemy/models.py | 29 +++- aodh/storage/sqlalchemy/utils.py | 2 +- .../functional/api/v2/test_alarm_scenarios.py | 46 +++--- .../api/v2/test_complex_query_scenarios.py | 30 +++- .../storage/sqlalchemy/test_migrations.py | 2 +- .../functional/storage/test_get_connection.py | 6 +- .../functional/storage/test_storage_scenarios.py | 77 ++++++++- aodh/utils.py | 18 --- aodh/wsgi/__init__.py | 0 aodh/wsgi/api.py | 22 +++ devstack/README.rst | 2 +- devstack/apache-aodh.template | 15 -- devstack/plugin.sh | 126 ++------------- devstack/settings | 14 +- devstack/upgrade/settings | 8 + devstack/upgrade/shutdown.sh | 27 ++++ devstack/upgrade/upgrade.sh | 74 +++++++++ pyproject.toml | 3 + ...uation-counter-collection-f324ebda00fa5c6c.yaml | 9 ++ ...fix-prometheus-alarm-rbac-6ee2f0abbd060184.yaml | 10 ++ .../remove-http_timeout-e30a6ed9a0c40eb8.yaml | 4 + .../notes/remove-py39-0e0c277bdf9e5e66.yaml | 5 + releasenotes/source/2025.1.rst | 6 + releasenotes/source/conf.py | 1 - releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 5 +- releasenotes/source/unreleased.rst | 2 +- setup.cfg | 15 +- test-requirements.txt | 2 - tox.ini | 9 +- 116 files changed, 1514 insertions(+), 686 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index af12d3da..93cf5301 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,2 +4,0 @@ fixtures>=1.3.1 # Apache-2.0/BSD -SQLAlchemy-Utils>=0.39.0 -# Provides subunit-trace