[release-announce] mistral 6.0.3 (queens)

no-reply at openstack.org no-reply at openstack.org
Tue May 29 13:21:46 UTC 2018


We jubilantly announce the release of:

mistral 6.0.3: Mistral Project

This release is part of the queens stable release series.

Download the package from:

    https://pypi.org/project/mistral

For more details, please see below.

6.0.3
^^^^^

Bug Fixes

* Fixed jinja expression  error handling where invalid expression
  could prevent action or task status to be correctly updated.

* Used "passive_deletes=True" in the configuration of relationships
  in SQLAlchemy models. This improves deletion of graphs of related
  objects stored in DB because dependent objects don't get loaded
  prior to deletion which also reduces the memory requirement on the
  system. More about using this flag can be found at:
  http://docs.sqlalchemy.org/en/latest/orm/collections.html#using-
  passive-deletes

* Mistral was storing, in fact, two copies of a workflow
  environment, one in workflow parameters (the 'params' field) and
  another one in a context (the 'context' field). Now it's stored only
  in workflow parameters. It saves space in DB and increases
  performance in case of big workflow environments.

* Mistral was copying a workflow environment into all of their sub
  workflows. In case of a big workflow environment and a big number of
  sub workflows it caused serious problems, used additional space in
  DB and used a lot of RAM (e.g. when the 'on-success' clause has a
  lot of tasks where each one of them is a subworkflow). Now it is
  fixed by evaluating a workflow environment through the root
  execution reference.

Changes in mistral 6.0.2..6.0.3
-------------------------------

72f1dde Release note for using "passive_deletes=True"
5381574 Release note for using "passive_deletes=True"
00b405b Use "passive_deletes=True" in ORM relationships
9e00e00 Do not copy workflow environment into subworkflows
6c5d56c Release note for workflow environment optimizations
2275925 Get rid of a extra copy of workflow environment
3993a07 Add release note for jinja expression bug
08d367e Fixed Jinja error handling
ac9b78b Stop using slave_scripts/install-distro-packages.sh


Diffstat (except docs and test files)
-------------------------------------

mistral/cmd/launch.py                              |   1 +
mistral/db/v2/sqlalchemy/models.py                 |   9 +-
mistral/engine/actions.py                          |  19 ++--
mistral/engine/base.py                             |   2 +
mistral/engine/tasks.py                            |   4 +-
mistral/engine/workflows.py                        |  39 ++++----
mistral/expressions/jinja_expression.py            |  75 +++++++--------
mistral/services/workflows.py                      |   3 -
.../unit/engine/test_direct_workflow_rerun.py      |   2 -
.../unit/engine/test_reverse_workflow_rerun.py     |   2 -
.../unit/expressions/test_jinja_expression.py      |  58 +++++++-----
mistral/workflow/data_flow.py                      |  49 +++++-----
mistral/workflow/direct_workflow.py                |   2 +
playbooks/legacy/mistral-ha/run.yaml               |   9 +-
...jinja-expression-handling-135451645d7a4e6f.yaml |   5 +
...ive_deletes_in_sqlalchemy-4b3006b3aba55155.yaml |   9 ++
...environment_optimizations-deb8868df3f0dc36.yaml |  16 ++++
27 files changed, 463 insertions(+), 156 deletions(-)







More information about the Release-announce mailing list