This is effectively os-testr but maintained.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I97183318f715b03f31145fa3d0f00bb7bc8a0c82
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I8b83bde8f1a2eda9b4ab551fe77ff9dbdb891f88
Switch to using the Dynamic Aggregates API as the Metric Aggregation
API is deprecated.
When using the Dynamic Aggregates API, any aggregation using rates
can use the underlying base measures for the aggregation rather than
the rate, for example:
(aggregation rate:mean (metric cpu mean))
The tuple of data for each record returned via this API is encapsulated
with information about the aggregation used so adapt the sanitization
function to deal with this and the formatting of the metrics measures
API as well.
Change-Id: I4f631d224404460138f4050b1b981d577b592544
Closes-Bug: 1946793
The api-paste.ini file defines WSGI definition of API. This file is
regarded as one configuration file and sometimes users need to modify
the file, for example to enable an additional middleware.
However currently aodh-api by default expects the file is located in
the aodh source directory and users should set the [api] paste_config
parameter in addition to copy and modify the file.
This change makes the aodh-api process search the api-paste.ini file
from configuration directories automatically, so that users can more
easily customize the file by putting the modified file in /etc/aodh
(or any other config directories).
If the paste_config parameter is defined as a full path then aodh-api
directly loads the file from the specified path. If the file is not
found then the default file in the aodh source directory is used.
Change-Id: I4a6194fbf6a5317a523d75e3fb6bd2fd055f5100
... so that users can more easily understnad the parameter defines
interval. This makes the parameter name consistent with other services
like designate or mistral, which provides the similar functionality
using the same tooz library.
Change-Id: I53cf905d7f643a3dc41f1121404abe3c9f0e61ac
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I5276b167fcd3cb277da309a017e1d502dea88b02
This change introduces support for Guru Meditation Report(GMR) into
Aodh, using oslo.reportis library.
With this change, each service prints GMR to stderr or file when
the service receives SIGUSR1.
The same was introduced into Cilometer a long ago[1], and this change
is based on the change made in Ceilometer.
[1] https://review.opendev.org/c/openstack/ceilometer/+/196369
Change-Id: I7f67acd98c2089bb248d3249159719a3979d27e7
The oslo_utils.fnmatch module was added to solve an issue in py2.7 but
it is no longer required because py2.7 is no longer supported.
The module was deprecated since oslo.utils 4.9.1[1] and the stdlib's
fnmatch module should be used instead.
SQLAlchemy url is now immutable
Use URL.set to update
Co-authored by: Takashi Kajinami
[1] 4c893c92f551c9dd2a7cfbe7ae8171ad8139df0b
Change-Id: I59c4d93a5914b8e14f7ef93bcaff8d1caaf5e75a
Since 3.7.0, oslo policy started the DeprecationWarning[1] if
deprecated_reason and deprecated_since param are not passed
in DeprecatedRule or they are passed in RuleDefault object.
These warnings are logged for every test which increase the
log size and sometime can full the log buffer and fail the
job.
[1] https://github.com/openstack/oslo.policy/blob/3.7.0/oslo_policy/policy.py#L1538
Change-Id: I8b9f0611364f6857b86fc800c89fe403672af975
The [coordination] check_watchers is no longer used in any
implementation. This change deprecates the parameter so that we can
remove it in a future release.
Closes-Bug: #1929178
Change-Id: I973eb15433e66c75366666940a841e5a579bf0e8
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I62cedb56f25f1f409ed24fa3a1b1a3dbc8758e74
This patch introduces the same functionality as is implemented in panko
recently[1], and allows us to limit the number of alarm histories
deleted in a single iteration, to avoid the query takes a long time and
if there are many expired records.
[1] Icf83ffe089301b3782273923f18efd4d209131c2
Change-Id: Ie1d1bbb911cf56a56f712291f61ffaabfa97422f
The notifier group are duplicated when defining options. This is not
affecting functionality but make the code less readable. Let's merge
these tow using itertools as is done for other groups.
Change-Id: Icd8389c771363235062807c31a866d2960726ec6
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I0a6dce64c17477aa49de33e6441ca91feae9e02f
ceilometerclient is deprecated and not supported since 2017.
This reverts commit d32ca244539650aaa2e6e85d438a79600e7cb701.
Change-Id: Id5bac2f317deceefe625d91f0dc91b071a6f8037