We are delighted to announce the release of: mistral 21.0.0 This release is part of the flamingo release series. The source is available from: https://opendev.org/openstack/mistral Download the package from: https://pypi.org/project/mistral Please report issues through: https://bugs.launchpad.net/mistral/+bugs For more details, please see below. Changes in mistral 20.0.0..21.0.0 --------------------------------- de31082c Start mistral-api using uwsgi in devstack 7ee16934 Use mistral-db-manage in devstack deade092 Force oslo_service backend to threading in mistral-db-manage 39b24fc6 Stop logging/printing user token on failed validation 0654ac44 Move wsgi app in wsgi folder dd8d9acb Replace unused oslo.service options 9fd67753 Clean zuul config eca6a9cf Remove wrapper for coroutine 15fceb1f Fix some log formatter errors 81c32801 Get rid of oslo_rpc_executor option f7dda97d Deprecate api_workers config option 2ec6f9c0 Revert "Disable python unit tests temporarily" bce61d6b Rework event engine 58690dfd Replace eventlet wsgi by cheroot 70c9e869 Disable python unit tests temporarily 6cea0767 Rewrite subworkflow resume/pause tests c485613e Get rid of print statement in tests f81d12bf Skip one tests which is failing randomly c3b8d22c Remove a race condition in a test c49116fb Use a threading.RLock for SQL sessions eb3369fc Dynamically generate tests for tasks da3eb2bb Stop manipulating sys.path when launching services 508419d1 Remove wrong information about fake oslo.messaging driver af474fb8 Rework the test launcher db8734c0 Fix logging format in action heartbeat startup 677f4fba Parse server option while parsing its input eccc35e0 Drop unused --use-debugger option 6df48733 Use systemctl command to manage service 77e8a35c devstack: Remove support for mod_wsgi e08a6097 devstack: Remove rpc_implementation 4e50c6c8 devstack: Remove coordination bb6e0e54 Drop usage of removed attribute of RequestContext f8f9739d Silence SAWarning caused by missing cache_ok 23cdab5d sqlalchemy: Use built-in declarative 6ed89e8f Zuul: do not use USE_PYTHON3 73b62b47 Use processes instead of threads for mistral services 37127282 Remove Jammy job 883d91bd Allow admin to retrive all tasks and actions c1c25407 docs: add OpenStack-Ansible as an installation method 6aa69937 Replace license classifier 21ecea0c Replace pkg_resources ceb30381 remove unicode from code 46421e97 Drop support for Python 3.8 and 3.9 73ae69e3 Fix tag in README 166578ec Cleanup setup.py 780d9b3e Remove tags from README ffb31a9d Add release note about v2/services endpoint removal 6a2e451e Get rid of coordination 715fb3db Remove kombu RPC driver 025d3e5e Force yaql 3.0.0 371a65fc Support fnmatch glob for allow/deny lists 688c4e57 Add Dockerfile fdb42356 Update master for stable/2025.1 9fba42f3 Add legacy action group to list_opts 11785d1e Add allowlist and denylist for action providers and actions Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 59 - README.rst | 10 +- build-docker.sh | 3 + devstack/files/apache-mistral-api.template | 25 - devstack/plugin.sh | 76 +- devstack/settings | 3 + mistral/actions/legacy.py | 7 + mistral/api/app.py | 3 - mistral/api/controllers/v2/root.py | 2 - mistral/api/controllers/v2/service.py | 84 - mistral/api/service.py | 86 +- mistral/api/wsgi.py | 9 + mistral/auth/keystone.py | 2 +- mistral/cmd/__init__.py | 19 + mistral/cmd/launch.py | 133 +- mistral/config.py | 128 +- mistral/context.py | 2 +- mistral/db/sqlalchemy/base.py | 61 +- mistral/db/sqlalchemy/migration/cli.py | 6 + mistral/db/sqlalchemy/model_base.py | 4 +- mistral/db/sqlalchemy/types.py | 1 + mistral/db/v2/sqlalchemy/api.py | 29 +- mistral/engine/base.py | 6 +- mistral/engine/engine_server.py | 21 +- mistral/event_engine/default_event_engine.py | 125 +- mistral/event_engine/event_engine_server.py | 10 +- mistral/executors/executor_server.py | 5 +- mistral/notifiers/notification_server.py | 5 +- mistral/rpc/base.py | 13 +- mistral/rpc/kombu/__init__.py | 0 mistral/rpc/kombu/base.py | 149 -- mistral/rpc/kombu/examples/__init__.py | 0 mistral/rpc/kombu/examples/client.py | 44 - mistral/rpc/kombu/examples/server.py | 53 - mistral/rpc/kombu/kombu_client.py | 209 -- mistral/rpc/kombu/kombu_hosts.py | 35 - mistral/rpc/kombu/kombu_listener.py | 127 -- mistral/rpc/kombu/kombu_server.py | 281 --- mistral/scheduler/scheduler_server.py | 5 +- mistral/service/base.py | 12 +- mistral/service/coordination.py | 183 -- mistral/services/action_heartbeat_checker.py | 6 +- mistral/services/actions.py | 9 + mistral/services/maintenance.py | 8 +- .../unit/actions/test_legacy_action_provider.py | 102 + .../unit/engine/test_direct_workflow_rerun.py | 6 +- .../unit/engine/test_subworkflows_pause_resume.py | 2338 +++----------------- mistral/utils/__init__.py | 22 +- mistral/utils/expr_utils.py | 37 + mistral/utils/filter_utils.py | 26 + mistral/wsgi/__init__.py | 29 + ...ctions-allowlist-denylist-57c033279e27772e.yaml | 10 + .../notes/config-dir-file-6d36f8d2f2ebb5f9.yaml | 12 + releasenotes/notes/drop-python-38-and-39.yaml | 4 + ...i-out-of-eventlet-cheroot-c681999fb16c27d7.yaml | 6 + ...slo-rpc-executor-deletion-c8e38a7c74478d96.yaml | 7 + ...remove-api_workers-option-a6210b5f1c0863b6.yaml | 8 + .../notes/remove-kombu-rpc-28a616c55fa051b5.yaml | 5 + .../notes/remove-v2-services-831d8872a36b821b.yaml | 9 + releasenotes/source/2025.1.rst | 6 + releasenotes/source/index.rst | 1 + requirements.txt | 8 +- setup.cfg | 32 +- setup.py | 9 - test-requirements.txt | 1 - tools/config/config-generator.mistral.conf | 2 +- tools/docker/Dockerfile | 39 + 95 files changed, 1813 insertions(+), 5569 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 0fde366a..4827e1d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,0 +6 @@ alembic>=0.9.6 # MIT +cheroot>=10.0.1 # BSD @@ -9 +9,0 @@ dogpile.cache>=0.6.2 # BSD -eventlet>=0.27.0 # MIT @@ -13 +12,0 @@ keystonemiddleware>=4.18.0 # Apache-2.0 -kombu!=4.0.2,>=4.6.1 # BSD @@ -27 +26 @@ oslo.serialization>=2.21.1 # Apache-2.0 -oslo.service>=2.1.0 # Apache-2.0 +oslo.service[threading]>=4.2.2 # Apache-2.0 @@ -39,2 +38 @@ WSME>=0.8.0 # MIT -yaql>=1.1.3 # Apache 2.0 License -tooz>=1.58.0 # Apache-2.0 +yaql>=3.0.0 # Apache 2.0 License diff --git a/test-requirements.txt b/test-requirements.txt index 864a7e99..94d0faff 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -13 +12,0 @@ WebTest>= 3.0.0 # Apache-2.0 -zake>=0.1.6 # Apache-2.0
participants (1)
-
no-reply@openstack.org