Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: If1758d046e5fe8217b36ca14eadb34c5191d7e62
oslo.db==15.0.0 has been released as part of the 2024.1 release and
further updates may appear during the lifetime of the release. Delete
the version cap from python-aodhclient in order to avoid installation
issues.
Change-Id: Ia52af213df2182f3d78ed9b0fcdf37672cefb84f
The stable/yoga branch has been deleted and replaced with the
unmaintained/yoga branch, update the reno config accordingly.
Co-Authored-By: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I0f40243e2f48786959d9da5ea2948612a6ace1ab
I moved the functional tests to be executed in a devstack VM.
This allows us to remove the use of pifpaf and it will enable
us to test prometheus based alarms here in the future.
Depends-On: https://review.opendev.org/c/openstack/aodh/+/904752
Change-Id: Ic6715fdeeacba6f2d74081ce04fb08783c92472b
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg
Change-Id: If7687bcb30e4664b709d9862799f1b8abfc3b0b3
... because the current versions conflict with the global u-c.
Also SALAlchemy-migrate is no longer needed since it was replaced by
alembic in aodh.
Change-Id: I64993a657507dfb7662a26789e15d272d26b79ab
This patch adds possibility to create alarms of type prometheus.
Co-authored-by: Jaromír Wysoglad <jwysogla@redhat.com>
Depends-On: If5140dfb9d9b41d7f1044f653701bed5e33cab62
Change-Id: If9bc3ace34a405c3ba00d646814cc5cbb6624a67
Install gnocchi from master branch until the recent fixes
will be included in next release.
More info at:
https://github.com/gnocchixyz/gnocchi/pull/1354
Change-Id: If5140dfb9d9b41d7f1044f653701bed5e33cab62
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I80ee69b559a168986b0738778fcc2545dda60426
Python 3.11 job run on Debian Bookworm which does
not the mysql pkg for example, mariadb-server, libmysqlclient-dev
instead they have mariadb. Updating bindep.txt file
to adjust the pkgs as per Debian bookworm.
Change-Id: I4342d71a0388ce55463b23d6197e30f16a231ff1
They were listed in requirements.txt despite not being runtime
requirements of aodhclient. Correct this.
Change-Id: I2b3d81668fb6c4f5009f44e8083c94f6e8344702
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: Iaecc9b0464bb78c296af45defaa9f80489f26e5d
According to PEP440[1] python wheel with a direct references
in their metadata cannot be uploaded to PyPi(public index server). Move "aodh-master" tarball url to tox.ini.
Since this project doesn't consume upper-constraints, the latest
releases of a few packages are being installed which breaks
"gnocchi upgrade" when running py38 and py310 jobs. Avoid this
by pinning sqlalchemy and oslo.db packages.
[1] https://peps.python.org/pep-0440/#direct-references
Change-Id: I6c10d87c572f9503484fcb02f6f0a0188c9454b3
* use min version 4.2.5, for fixes [1][2][3]
* passenv fixed as space-separated list is not allowed anymore
* dock target uses requirements from requirements.txt as well as
doc/requirements.txt
* skipsdist is not supported
* whitelist_externals has been removed in favour of allowlist_externals
* reno was added to doc/requirements.txt to fix the releasenotes target
* update setup.cfg to install aodh from tarball in the requirements
The tarball wasn't being installed when specified in tox.ini, and the
[extras] section in setup.cfg needed updating to support installing
from a URL
[1] https://github.com/tox-dev/tox/issues/2754
[2] https://github.com/tox-dev/tox/pull/2824
[3] https://github.com/tox-dev/tox/pull/2828
Change-Id: I4122d0d05f297f864318e80392e6c77fb2e9fdcf
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I6baeba53067a037fa6cefb86c520a5c8774296c8
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I2a4f4d76b2a4fdf0d9385e116f61f97cb591f2b7
This combines two commits in one
* Change aggregation method to mean
Commit 6061286c3133a4b85c4a72160960ecf6a82d02f8 handles
ignoring gnocchi api error when metric is not created.
However there are functional test failures when the
aggregation method is set to last for alarm type
gnocchi_aggregation_by_resources_threshold,
This fix changes the aggregration method to mean for
any create/update of alarm type
gnocchi_aggregation_by_resources_threshold.
* Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Depends-On: https://review.opendev.org/c/openstack/aodh/+/843764
Change-Id: Ia11f25fa8c36c6051a44994f2545e2b64a665593
Closes-Bug: #1974682
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: I81088b3f4c6304aa12fa3a58cadb9d44b6d783a2
Python 2 support was removed during Ussuri cycle. This change adds
the classifier to clearly state that only Python 3 is supported.
Change-Id: I1f2788b7ffe8a28fdfbc5df0947f62c48449e8ad
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.
This change updates the parameters accordingly to avoid the warnings
like the example below.
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: I5aa097573e323ec0c34cb9d621e85d5259195f21
This is a patch to ensure unit testing is in place for all the of
the tested runtimes for yoga.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
This patch is manually created, because the previous patch was not
merged before Xena release and release bot didn't create the automated
patch at that time.
Change-Id: I902f342800d6ea7dda3eff2a10f7c9dd54fa6151
Replaces removed pyparsing.operatorPrecedence().
Also removes broken ceilometer threshold tests as they
don't seem to be supported by aodh anymore.
Change-Id: Ifa82042fc15e6c167ed2e3a1923baa6ee61c6237
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: I26a2474826a83750f3b5546c0688cb282d780324
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: I04a5bf29398dc6661d5efa16a618aa629b9067d2
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I31ec5389c4ef98a22a3cb0a63c3c114f40ff8d69
Sem-Ver: feature
The response is returned as text/plain in case of exception.
Pecan 1.4 uses accept header to decide the response content type.
This also affected gnocciclient and has been fixed there.
https://github.com/gnocchixyz/python-gnocchiclient/pull/110
Change-Id: Ia46259e960493c92a6701a165518ef87b03c5c2d
These translation sections are not needed anymore, Babel can
generate translation files without them.
Remove babel.cfg as well, this is the default role and not needed
anymore.
Change-Id: Ib240beb075ef8db5ba659dae8487b85d59efb355
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I3b5249bee4f8452cc3a717dc93d2eca70002ce59
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.
This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.
Change-Id: I46268c46a527e9189a380deb4dec9493e7e3fb26
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: Ia132a9dc4f4ff8af7ca5186343bbd43cac989d8f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I7268264d3e2c98474604ec5f46298d36b7d32f18
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Co-Authored-By: zhurong <aaronzhu1121@gmail.com>