We are stoked to announce the release of: masakari 10.0.0: Virtual Machine High Availability (VMHA) service for OpenStack This release is part of the victoria release series. The source is available from: https://opendev.org/openstack/masakari Download the package from: https://tarballs.openstack.org/masakari/ Please report issues through: https://bugs.launchpad.net/masakari/+bugs For more details, please see below. Changes in masakari 9.0.0..10.0.0 --------------------------------- 4322968 Search in nova services instead of hypervisors d4b0b4f Drop Babel from reqs 5f1bdce [CI] Ignore files not relevant for the functional tests 5a0019c [tests] Remove dead code (matchers) 0aca188 [Part7]Remove all usage of six library 9238585 [Part6]Remove six 6c6d168 [Part5]Remove six 30a54c0 [Part4]Remove six 6d09751 [goal] Migrate testing to ubuntu focal 7bae084 Constrain docs deps by upper-constraints 9e7d35b Use some better linting f12052a Fix files to pass linting c1d8b35 Fix tox for api-ref a48a9fd Fix tox for py38 and lower-contraints 233a61d [CI] Fix gate - multiple fixes (Focal/Py38 and policy) 112610a remove future from lower-constraints 6214ca3 [Part3]Remove six 17daab0 [Part2]Remove six c3bb939 [Part1]Remove six 045fabb [docs] Add missing control_attributes 1a4d6b5 Remove the unused coding style modules 4397088 Add ha_enabled_instance_metadata_key config option 69a9a41 Fix exception notification with no trace 3bd82c7 Fix CA file for nova client c401beb Remove monotonic usage 7ccbfb5 Switch from unittest2 compat methods to Python 3.x methods 9492987 Use uwsgi binary from path 6e986ec Fix typo in api docs for sort_key request parameter e148dec not wait when instance evacuate error dfd1698 drop mock from lower-constraints ae47f55 Stop to use the __future__ module. 7020fc4 Switch to newer openstackdocstheme and reno versions 606f136 Cap jsonschema 3.2.0 as the minimal version c78e181 Drop python 3.4 constraint on sphinx 895899f Check if host belongs to a segment e9dbb5d Fix host rest url in api-ref doc fce4d80 Remove translation sections from setup.cfg 6812d87 Fix hacking min version to 3.0.1 97e6584 Monkey patch original current_thread _active 2453383 Bump default tox env from py37 to py38 04fcb44 Add py38 package metadata efdfa55 Add Python3 victoria unit tests 36e2b5d Update master for stable/ussuri ef89d7f handle duplicate notifications without checking status 3a4f782 check expired notifications 9350d8f Update hacking for Python3 9ff8308 Fix typo for sgement => segment Diffstat (except docs and test files) ------------------------------------- .yamllint | 8 + .zuul.yaml | 29 +- api-ref/source/conf.py | 182 +++---- api-ref/source/failover-segments.inc | 2 +- api-ref/source/hosts.inc | 11 +- api-ref/source/parameters.yaml | 8 +- api-ref/source/status.yaml | 8 +- api-ref/source/versions.inc | 2 +- babel.cfg | 2 - devstack/plugin.sh | 2 +- .../install/install_and_configure_ubuntu.rst | 2 +- lower-constraints.txt | 27 +- masakari/api/openstack/__init__.py | 7 +- masakari/api/openstack/common.py | 2 +- masakari/api/openstack/extensions.py | 6 +- masakari/api/openstack/ha/extension_info.py | 3 +- masakari/api/openstack/ha/hosts.py | 21 +- masakari/api/openstack/ha/notifications.py | 3 +- masakari/api/openstack/ha/segments.py | 3 +- masakari/api/openstack/ha/versions.py | 3 +- masakari/api/openstack/ha/versionsV1.py | 3 +- masakari/api/openstack/ha/views/hosts.py | 57 ++ masakari/api/openstack/wsgi.py | 42 +- masakari/api/urlmap.py | 9 +- masakari/api/validation/parameter_types.py | 4 +- masakari/api/validation/validators.py | 3 +- masakari/cmd/__init__.py | 6 + masakari/cmd/api.py | 3 +- masakari/cmd/manage.py | 5 +- masakari/compute/nova.py | 36 +- masakari/conf/engine.py | 7 + masakari/conf/engine_driver.py | 49 +- masakari/context.py | 3 +- masakari/engine/driver.py | 4 +- masakari/engine/drivers/taskflow/host_failure.py | 13 +- .../engine/drivers/taskflow/instance_failure.py | 4 +- masakari/engine/manager.py | 36 +- masakari/exception.py | 15 +- masakari/ha/api.py | 20 +- masakari/hacking/checks.py | 68 ++- masakari/notifications/objects/exception.py | 26 +- masakari/notifications/objects/notification.py | 5 +- masakari/objects/host.py | 21 +- masakari/policy.py | 14 +- masakari/service.py | 12 - masakari/test.py | 19 +- .../unit/api/openstack/ha/test_notifications.py | 5 +- .../drivers/taskflow/test_host_failure_flow.py | 84 ++- .../drivers/taskflow/test_instance_failure_flow.py | 40 ++ masakari/utils.py | 34 +- masakari/version.py | 2 +- masakari/wsgi.py | 2 - playbooks/devstack/post.yaml | 1 + playbooks/devstack/pre.yaml | 1 + playbooks/devstack/run.yaml | 1 + ...priority_recovery_methods-b88cc00041fa2c4d.yaml | 2 +- .../notes/compute_search-3da97e69e661a73f.yaml | 7 + ...led-instance-metadata-key-af511ea2aac96690.yaml | 8 + releasenotes/source/conf.py | 10 +- releasenotes/source/index.rst | 1 + releasenotes/source/ussuri.rst | 6 + requirements.txt | 6 +- roles/devstack-config/tasks/main.yml | 3 +- setup.cfg | 15 +- test-requirements.txt | 7 +- tox.ini | 93 +++- 97 files changed, 1354 insertions(+), 1021 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 8a437e9..a490c86 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5 +4,0 @@ -Babel!=2.4.0,>=2.3.4 # BSD @@ -7 +6 @@ iso8601>=0.1.11 # MIT -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT @@ -14 +13 @@ oslo.context>=2.19.2 # Apache-2.0 -oslo.db>=4.27.0 # Apache-2.0 +oslo.db>=4.44.0 # Apache-2.0 @@ -26 +24,0 @@ python-novaclient>=9.1.0 # Apache-2.0 -six>=1.10.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index e9bfbb2..86eb838 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +5 @@ -hacking>=1.1.0,<1.2.0 # Apache-2.0 +hacking>=3.0.1,<3.1.0 # Apache-2.0 @@ -8,0 +9 @@ ddt>=1.0.1 # MIT +doc8>=0.6.0 # Apache-2.0 @@ -10 +11 @@ pep8>=1.5.7 -psycopg2>=2.7 # LGPL/ZPL +psycopg2>=2.8 # LGPL/ZPL @@ -14 +14,0 @@ openstacksdk>=0.35.0 # Apache-2.0 -os-api-ref>=1.4.0 # Apache-2.0 @@ -21,0 +22 @@ testtools>=2.2.0 # MIT +yamllint>=1.22.0 # GPLv3
participants (1)
-
no-reply@openstack.org