We high-spiritedly announce the release of: masakari 7.0.0: Virtual Machine High Availability (VMHA) service for OpenStack This release is part of the stein release series. The source is available from: https://git.openstack.org/cgit/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 6.0.0.0rc1..7.0.0 ------------------------------------- 5e037db Updated rh host workflow for recovery workflow details f2343ef Handle KeyError: 'progress_details' c22c1d8 fix oslo-config-generator conf ab45ee1 Functional tests to check recovery workflow details 5a86d30 Functional tests for notification APIs 76a9242 Configure taskflow connection 7321ee3 Add progress details for recovery workflows 8e77f48 Improve logging error messages 1b04778 Functional tests for host APIs 0fa59ab Add functional CI job and tests for segments 0616b4b Send notifications for all API changes da942db Add common methods to use for sending notification 00d1105 Define objects used for notification 3253b13 Add necessary constants and methods for RPC notification 68b9c42 Run all jobs by default using python3 041af27 Py3: Ensure wsgi headers are not bytes type c3d12e3 Recover resized instance(power_state=SHUTDOWN) with vm_state=stopped 324e179 Fix parsing api version with correct service_type d471b82 Update hacking version >1.1.0 de2f4d6 Allow updating host name only if it exists in nova 1a18e94 Add masakari-systemfault-integration-ci to .zuul.yaml 99fcfc9 Use template for lower-constraints 70ecfe9 Return 400 if notification payload is incorrect fc3c689 change nova.services.disable use service_uuid 65d9f95 Cleanup testrepository 8373138 Update coverage environment and use template for cover de79cf7 Uninstall policy.json from openstack_dashboard correctly b21c763 Allow adding host only if it exists in nova a4e63a5 Update the HTTP links to HTTPS 4a84703 Change openstack-dev to openstack-discuss 8777b59 Update README 0f8b8c9 Fix datetime microsecond discrepancy issue 7700cdd Add framework for masakari-status upgrade check d8bb02c Fix: TestMasakariAPI tests skipped due to missing __init__.py b083304 Increment versioning with pbr instruction fb8bd95 fix tox python3 overrides 49bf80a Fix docs create service for masakari Currently openstacksdk use instance-ha type service instead of masakari cca02fb switch documentation job to new PTI 09ae243 import zuul job settings from project-config 5993b2f Add masakari-custom-recovery-methods.conf in etc/masakari 2fa4e47 Update reno for stable/rocky b0785c6 Remove testrepository ec61197 Fix typo in api-ref/source/failover-segments.inc file Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 - .testr.conf | 7 - .zuul.yaml | 96 +++- README.rst | 3 +- api-ref/source/conf.py | 4 +- api-ref/source/failover-segments.inc | 4 +- api-ref/source/hosts.inc | 4 + api-ref/source/notifications.inc | 3 + api-ref/source/parameters.yaml | 8 + devstack/plugin.sh | 5 +- .../notifications/notification-get-resp.json | 55 +- .../create-notification-end.json | 22 + .../create-notification-start.json | 20 + .../process-notification-end.json | 22 + .../process-notification-error.json | 33 ++ .../process-notification-start.json | 22 + etc/masakari/masakari-config-generator.conf | 3 - etc/masakari/masakari-custom-recovery-methods.conf | 83 +++ lower-constraints.txt | 3 +- masakari/api/api_version_request.py | 3 +- masakari/api/openstack/ha/hosts.py | 12 +- masakari/api/openstack/ha/notifications.py | 33 +- masakari/api/openstack/ha/schemas/payload.py | 67 +++ masakari/api/openstack/wsgi.py | 35 +- masakari/api/urlmap.py | 8 +- masakari/api/utils.py | 110 ++++ masakari/api/validation/validators.py | 6 + masakari/cmd/api.py | 10 +- masakari/cmd/status.py | 53 ++ masakari/compute/nova.py | 29 +- masakari/conf/engine_driver.py | 15 + .../versions/006_add_persistence_tables.py | 32 ++ masakari/db/sqlalchemy/models.py | 16 +- masakari/engine/driver.py | 12 +- masakari/engine/drivers/taskflow/base.py | 66 ++- masakari/engine/drivers/taskflow/driver.py | 194 +++++-- masakari/engine/drivers/taskflow/host_failure.py | 298 ++++++---- .../engine/drivers/taskflow/instance_failure.py | 118 ++-- masakari/engine/drivers/taskflow/no_op.py | 3 +- .../engine/drivers/taskflow/process_failure.py | 74 +-- masakari/engine/manager.py | 121 +++- masakari/engine/rpcapi.py | 12 +- masakari/engine/utils.py | 59 ++ masakari/exception.py | 4 + masakari/ha/api.py | 108 +++- masakari/notifications/__init__.py | 0 masakari/notifications/objects/__init__.py | 0 masakari/notifications/objects/base.py | 168 ++++++ masakari/notifications/objects/exception.py | 60 ++ masakari/notifications/objects/notification.py | 199 +++++++ masakari/objects/fields.py | 157 ++++++ masakari/objects/host.py | 30 + masakari/objects/notification.py | 64 ++- masakari/objects/segment.py | 29 + masakari/rpc.py | 66 ++- masakari/test.py | 68 ++- .../unit/api/openstack/ha/test_notifications.py | 156 +++++- .../drivers/taskflow/test_host_failure_flow.py | 424 +++++++++++--- .../drivers/taskflow/test_instance_failure_flow.py | 149 ++++- .../drivers/taskflow/test_process_failure_flow.py | 62 ++- .../drivers/taskflow/test_taskflow_driver.py | 127 +++++ .../notifications/objects/test_notification.py | 288 ++++++++++ playbooks/devstack/post.yaml | 4 + playbooks/devstack/pre.yaml | 7 + playbooks/devstack/run.yaml | 3 + ...d-upgrade-check-framework-52268130b25317ab.yaml | 13 + ...notifications-in-masakari-f5d79838fc23cb9b.yaml | 18 + ...etails-recovery-workflows-5b14b7b3f87374f4.yaml | 29 + releasenotes/source/index.rst | 1 + releasenotes/source/rocky.rst | 6 + requirements.txt | 2 + roles/devstack-config/tasks/main.yml | 13 + setup.cfg | 3 +- test-requirements.txt | 6 +- tox.ini | 29 +- 127 files changed, 6885 insertions(+), 640 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index ee07e03..aff54b3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,0 +21 @@ oslo.service!=1.28.1,>=1.24.0 # Apache-2.0 +oslo.upgradecheck>=0.1.0 # Apache-2.0 @@ -26,0 +28 @@ stevedore>=1.20.0 # Apache-2.0 +SQLAlchemy-Utils>=0.33.10 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index adfcb42..1545092 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +5 @@ -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=1.1.0,<1.2.0 # Apache-2.0 @@ -8,0 +9 @@ ddt>=1.0.1 # MIT +pep8>=1.5.7 @@ -17,0 +19 @@ stestr>=1.0.0 # Apache-2.0 +SQLAlchemy-Utils>=0.33.10 # Apache-2.0 @@ -19 +20,0 @@ requests-mock>=1.2.0 # Apache-2.0 -testrepository>=0.0.18 # Apache-2.0/BSD @@ -23 +23,0 @@ testtools>=2.2.0 # MIT -
participants (1)
-
no-reply@openstack.org