[telemetry] aodh 5.0.0 (pike)
We are jazzed to announce the release of: aodh 5.0.0: OpenStack Telemetry Alarming This release is part of the pike release series. Download the package from: https://tarballs.openstack.org/aodh/ For more details, please see below. 5.0.0 ^^^^^ New Features ************ * The reason of the state change is now part of the API as "state_reason" field of the alarm object. Deprecation Notes ***************** * Ceilometer's API is deprecated in Ocata. Therefore, threshold alarms are now deprecated as well. Threshold rules will be removed when Ceilometer's API is also removed. Similar functionality is provided through Gnocchi alarm rules: "gnocchi_resources_threshold", "gnocchi_aggregation_by_metrics_threshold", or "gnocchi_aggregation_by_resources_threshold". * The deprecated combination alarms support have been removed. Bug Fixes ********* * When an unprivileged user want to access to Gnocchi resources created by Ceilometer, that doesn't work because the filter scope the Gnocchi query to resource owner to the user. To fix we introduce a new configuration option "gnocchi_external_project_owner" set by default to "service". The new filter now allow two kind of Gnocchi resources: * owned by the user project * owned by "gnocchi_external_project_owner" and the original project_id of the resource is the user project. Changes in aodh 4.0.0..5.0.0 ---------------------------- 48468c3 Imported Translations from Zanata cb90d3a Don't allow the user to pass in a trust ID a698264 Imported Translations from Zanata 7dff90c Typo input in "aodh alarm create" for param "--name" de8087f gnocchi: set start/stop when validating alarm 284e6c6 Update and replace http with https for doc links in aodh c40c518 adjust section titles 2d2fb8d add configuration folder bdd47a1 Replace deprecated test.attr with decorators.attr 4cd17e6 remove custom theming 93d2de3 remove templates ad00e3a Update aodh commands in doc de4eb0c Fix releasenote RST syntax ad7efec Update and optimize documentation links c875113 Added examples to create event based alarm d87e55f Update URL home-page in documents according to document migration a597136 turn on warning-is-error for doc builds 4f9c5b6 add missing sphinx extension 7805ec4 move class api reference into contributor docs 2c79547 Imported Translations from Zanata ee801ff Update the response table info of some sample commands in doc. 3b365a1 tests: rework functional live tests c9f2c43 copy admin-guide 0bdef60 move install-guide under install dir bc16dd7 move developer docs under contributor ead7d16 switch to openstackdocstheme 0512ff4 Clean maintainer list 51c539b Imported Translations from Zanata 169bc31 gnocchi: return better 'insufficient data' reason 4e42caa Don't translate alarm reason dfa63a5 Expose alarm state reason to API 6f8fb5f Fix aodh-config-generator f4faf2a Enable some off-by-default checks 6e0179d Remove genconfig tox target e99e966 Add a description of the parameters to function. e9bf319 add sqlalchemy-utils b231f83 simplify crud notification test 4c82f2e Fix Zaqar notifier doc b0bdd43 gnocchi: fix alarms for unpriviledged user fdce9e5 Fix html_last_updated_fmt for Python3 acec4d5 Remove oslo.msg deprecation 804d580 Remove keystoneclient deprecation 132de83 cleanup aodh config instructions in install guide 5bcf5f9 tempest: remove deprecation 74f83f1 Deprecate olsotest.mockpatch in favor of native fixtures e11d5f0 Add `aodh-config-generator' tool to generate sample configuration file cf15d5a tests: simplify tox config 1e55c75 storage: Ensure pymysql is prefered d8e33f7 Remove deprecated oslo.config messages. 0ed259d tests: fix MultiStrOpt value 590b3ad Remove sqlalchemy upper constraints 61ef259 Imported Translations from Zanata 32c1064 Optimize the link address 77d2e07 Fix expecting content-type headers ecc660b Fix some reST field lists in docstrings 62b8191 [install-guide] Minor edits 669dc34 Remove log translations. 5be04f1 Gnocchi: don't fail to create valid alarm eb6a5a5 Imported Translations from Zanata 4fb5f46 Useing fixtures.MockPatch instead of mockpatch.Patch 55e63d4 Switch to use stable data_utils 60ad8b0 Update pbr requirement to match global requirement 69cfeca deprecate threshold rule alarms fd26f27 Fix reno title format 62c65c9 Install test dependencies in docs d09874e Add keystoneauth1 in requirements 29a0367 Update the doc about manually installation 484aa5b Remove unused logging import cf9afc5 Trivial-fix: use domain_id instead of domain_name 8f3aabf Correct the doc link 687205e gabbi: use history 0a2413d Remove support for py34 23552b1 Fix the migration to use alarm_history b76062e Use more specific asserts in tests 649a315 Avoiding duplication of service available group in tempest plugin 9f4960c Use https instead of http for git.openstack.org 1e63626 Remove deprecated combination alarms 021a3e1 Update reno for stable/ocata Diffstat (except docs and test files) ------------------------------------- .gitignore | 5 +- CONTRIBUTING.rst | 4 +- HACKING.rst | 2 +- MAINTAINERS | 7 +- README.rst | 6 +- aodh/api/__init__.py | 7 - aodh/api/app.py | 3 +- aodh/api/controllers/root.py | 2 +- aodh/api/controllers/v2/alarm_rules/combination.py | 76 --- aodh/api/controllers/v2/alarm_rules/gnocchi.py | 70 +- aodh/api/controllers/v2/alarm_rules/threshold.py | 3 - aodh/api/controllers/v2/alarms.py | 51 +- aodh/api/controllers/v2/query.py | 4 +- aodh/api/controllers/v2/utils.py | 4 +- aodh/api/middleware.py | 3 +- aodh/api/rbac.py | 1 + aodh/cmd/__init__.py | 29 + aodh/cmd/alarm_conversion.py | 139 ---- aodh/cmd/aodh-config-generator.conf | 12 + aodh/cmd/storage.py | 5 +- aodh/coordination.py | 31 +- aodh/evaluator/__init__.py | 22 +- aodh/evaluator/combination.py | 116 ---- aodh/evaluator/composite.py | 10 +- aodh/evaluator/event.py | 16 +- aodh/evaluator/gnocchi.py | 63 +- aodh/evaluator/threshold.py | 55 +- aodh/i18n.py | 12 +- aodh/keystone_client.py | 2 +- aodh/locale/de/LC_MESSAGES/aodh-log-error.po | 132 ---- aodh/locale/de/LC_MESSAGES/aodh.po | 55 +- aodh/locale/en_GB/LC_MESSAGES/aodh-log-error.po | 121 ---- aodh/locale/en_GB/LC_MESSAGES/aodh-log-info.po | 98 --- aodh/locale/en_GB/LC_MESSAGES/aodh-log-warning.po | 62 -- aodh/locale/en_GB/LC_MESSAGES/aodh.po | 50 +- aodh/locale/es/LC_MESSAGES/aodh-log-info.po | 53 -- aodh/locale/es/LC_MESSAGES/aodh.po | 58 +- aodh/locale/fr/LC_MESSAGES/aodh.po | 59 +- aodh/locale/it/LC_MESSAGES/aodh.po | 56 +- aodh/locale/ja/LC_MESSAGES/aodh.po | 53 +- aodh/locale/ko_KR/LC_MESSAGES/aodh.po | 59 +- aodh/locale/pt/LC_MESSAGES/aodh-log-info.po | 54 -- aodh/locale/pt/LC_MESSAGES/aodh.po | 57 +- aodh/locale/pt_BR/LC_MESSAGES/aodh.po | 54 +- aodh/locale/ru/LC_MESSAGES/aodh-log-info.po | 55 -- aodh/locale/ru/LC_MESSAGES/aodh.po | 58 +- aodh/locale/zh_CN/LC_MESSAGES/aodh-log-info.po | 46 -- aodh/locale/zh_CN/LC_MESSAGES/aodh.po | 49 +- aodh/locale/zh_TW/LC_MESSAGES/aodh.po | 49 +- aodh/messaging.py | 2 +- aodh/notifier/__init__.py | 13 +- aodh/notifier/rest.py | 13 +- aodh/notifier/trust.py | 2 +- aodh/notifier/zaqar.py | 49 +- aodh/opts.py | 2 + aodh/storage/impl_log.py | 3 +- aodh/storage/impl_sqlalchemy.py | 17 +- aodh/storage/models.py | 7 +- .../367aadf5485f_precisetimestamp_to_datetime.py | 2 +- .../versions/6ae0d05d9451_add_reason_column.py | 37 + aodh/storage/sqlalchemy/models.py | 1 + .../functional/api/v2/test_alarm_scenarios.py | 748 +++++---------------- .../api/v2/test_complex_query_scenarios.py | 7 +- .../functional/gabbi/gabbits-live/alarms.yaml | 123 ---- .../functional/storage/test_get_connection.py | 19 +- .../functional/storage/test_storage_scenarios.py | 6 +- .../functional_live/gabbi/gabbits-live/alarms.yaml | 118 ++++ .../tempest/api/test_alarming_api_negative.py | 7 +- bindep.txt | 5 + devstack/plugin.sh | 2 - etc/aodh/aodh-config-generator.conf | 13 - install-guide/source/conf.py | 300 --------- install-guide/source/configure-common.rst | 80 --- install-guide/source/get_started.rst | 28 - install-guide/source/index.rst | 15 - install-guide/source/install-obs.rst | 51 -- install-guide/source/install-rdo.rst | 51 -- install-guide/source/install-ubuntu.rst | 44 -- install-guide/source/next-steps.rst | 9 - install-guide/source/prereq-common.rst | 137 ---- install-guide/source/verify.rst | 8 - rally-jobs/README.rst | 4 +- rally-jobs/plugins/plugin_sample.py | 2 +- ...d-state-reason-to-the-API-7bc5a9465466db2b.yaml | 4 + ...deprecate-threshold-alarm-d89da351d4f6f50f.yaml | 9 + ...i-external-resource-owner-3fad253d30746b0d.yaml | 12 + ...remove-combination-alarms-a1a53655f3f7d1d1.yaml | 3 + releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 15 +- releasenotes/source/index.rst | 5 +- .../source/locale/de/LC_MESSAGES/releasenotes.po | 48 +- .../locale/en_GB/LC_MESSAGES/releasenotes.po | 112 ++- .../source/locale/ja/LC_MESSAGES/releasenotes.po | 366 ++++++++++ releasenotes/source/mitaka.rst | 4 +- releasenotes/source/newton.rst | 4 +- releasenotes/source/ocata.rst | 6 + requirements.txt | 4 +- setup.cfg | 32 +- tools/pretty_tox.sh | 6 +- tox.ini | 68 +- 169 files changed, 3202 insertions(+), 4670 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 2676492..b73df31 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19 +19 @@ PasteDeploy>=1.5.0 -pbr<2.0,>=0.11 +pbr>=2.0.0 # Apache-2.0 @@ -35,0 +36,2 @@ cotyledon +keystoneauth1>=2.1 +debtcollector>=1.2.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org