mistral/releasenotes/notes
Renat Akhmerov dfdff78315 Fix how Mistral calculates workflow output
* Workflow output sometimes is not calculated correctly due to
  the race condition between different transactions: the one that
  checks workflow completion (i.e. calls "check_and_complete") and
  the one that processes action execution completion (i.e. calls
  "on_action_complete"). Calculating output sometimes was based on
  stale data cached by the SQLAlchemy session. To fix this, we just
  need to expire all objects in the session so that they are
  refreshed automatically if we read their state in order to make
  required calculations. See the bug description for more details
  on how the problem was observed.
* Added another test for direct workflow that formally checks
  calculation of workflow output. It doesn't pretend to test the
  aforementioned issue (it can be reproduced only with a big number
  of attempts, and/or under load). It's for the sake of the test
  module completeness.

Change-Id: I4a7e7fd9a4bbb6e93df169b4b40bc2d83ccfce89
Closes-Bug: #1792090
2018-09-12 16:48:43 +07:00
..
.placeholder Adding releasenotes management to Mistral 2015-11-21 00:26:36 +08:00
add-action-region-to-actions-353f6c4b10f76677.yaml Add release note for "action_region" support 2017-05-16 22:13:28 +12:00
add-execution-event-notifications-0f77c1c3eb1d6929.yaml Add a release note for execution events noitifications 2018-03-12 18:25:59 +00:00
add-json-dump-deprecate-json-pp-252c6c495fd2dea1.yaml Add a json_dump expression function 2017-11-03 07:35:03 +00:00
add-missing-tacker-actions-dddcf77ddd90192f.yaml Add missing Tacker actions to Mistral 2018-06-29 10:40:26 +09:00
add-publicize-policy-d3b44590286c7fdd.yaml Add a policy to control the right to publish resources 2018-07-05 11:46:52 +02:00
add-py-mini-racer-javascript-evaluator-9d8f9e0e36504d72.yaml Added JavaScript evaluator which doesn't require a compilation 2018-04-23 17:04:18 +00:00
add-task_execution_id-indexes-16edc58085e47663.yaml Add a release note for new indexes 2018-04-08 20:22:44 +04:00
add_action_definition_caching-78d4446d61c6d739.yaml Remove duplicate word 'the' 2018-02-24 04:13:19 +00:00
add_config_option_for_oslo_rpc_executor-44afe1f728afdcb2.yaml Release note for adding "oslo_rpc_executor" config option 2018-07-19 12:08:04 +07:00
add_public_event_triggers-ab6249ca85fd5497.yaml Add releasenote for public event triggers 2017-08-01 10:44:53 +03:00
add_yaql_engine_options-200fdcfda04683ca.yaml Release note for adding YAQL engine options 2018-06-01 17:07:10 +07:00
alternative-rpc-layer-21ca7f6171c8f628.yaml Update docs and add release not for safe-rerun flag 2016-08-02 08:46:22 +00:00
changing-context-in-delayed-calls-78d8e9a622fe3fe9.yaml Add releatenote for fix execution saved in wrong tenant 2015-12-16 16:12:40 +00:00
changing-isolation-level-to-read-committed-7080833ad284b901.yaml Fix spellings for two words 2016-02-03 15:21:50 +05:30
close-stuck-running-action-executions-b67deda65d117cee.yaml A mechanism to close stuck running action executions 2018-06-12 14:15:15 +00:00
create-and-run-workflows-within-namespaces-e4fba869a889f55f.yaml Create and run a workflow within a namespace 2017-08-02 05:19:47 +00:00
drop-ceilometerclient-b33330a28906759e.yaml Remove ceilometer actions from mistral 2018-01-11 14:28:16 -05:00
evaluate_env_parameter-14baa54c860da11c.yaml Release notes for "evaluate_env" 2017-05-12 16:13:37 +07:00
external_openstack_action_mapping_support-5cec5d9d5192feb7.yaml External OpenStack action mapping file support 2017-03-03 08:00:30 +00:00
fix-auth-context-with-big-catalog-7647a07d616e653f.yaml Add release note for auth_context bugfix 2018-09-05 14:12:45 +02:00
fix-jinja-expression-handling-135451645d7a4e6f.yaml Add release note for jinja expression bug 2018-04-26 15:27:25 +05:30
fix-regression-when-logging-58faa35f02cefb34.yaml Correct the string formatting in a info log message 2018-04-17 09:41:35 +00:00
fix_pause_command-58294f613488511c.yaml Add a release note for the 'pause' command fix 2018-03-28 09:06:48 +00:00
fix_workflow_output-cee5df431679de6b.yaml Fix how Mistral calculates workflow output 2018-09-12 16:48:43 +07:00
force-stop-executions-00cd67dbbc9b5483.yaml Only allow for deleting completed executions 2018-04-26 09:37:18 +00:00
function-called-tasks-available-in-an-expression-17ca83d797ffb3ab.yaml Add reno for tasks function 2017-02-12 16:10:04 +00:00
improve_std_html_action-eca10df5bf934be8.yaml Improve std.email action 2018-07-31 08:43:03 +02:00
include-output-paramter-in-action-execution-list-c946f1b38dc5a052.yaml Remove output from list action executions API 2017-03-02 10:40:37 +00:00
ironic-api-newton-9397da8135bb97b4.yaml Bump Ironic API version to 1.22 when creating the Ironic client 2016-11-30 15:23:27 +01:00
keycloak-auth-support-74131b49e2071762.yaml Release note for KeyCloak OIDC support 2016-07-08 17:31:08 +07:00
load-keystoneauth-option-d9657d3052e82125.yaml Use register_session_conf_options API 2018-07-20 09:22:59 +08:00
magnum-actions-support-b131fa942b937fa5.yaml Release note for magnum actions support 2016-06-16 09:23:37 +00:00
mistral-aodh-actions-e4c2b7598d2e39ef.yaml Adding releasenotes for aodh action support 2016-12-23 12:35:47 +05:30
mistral-api-server-https-716a6d741893dd23.yaml Added releasenote for https support 2016-08-01 17:33:31 +05:30
mistral-customize-authorization-d6b9a965f3056f09.yaml Release note for role base access control 2016-06-14 14:16:05 +05:30
mistral-docker-image-9d6e04ac928289dd.yaml Release note for mistral-docker-image 2015-12-24 16:28:16 +09:00
mistral-gnocchi-actions-f26fd76b8a4df40e.yaml Added gnocchi action pack 2017-01-03 12:27:38 +08:00
mistral-murano-actions-2250f745aaf8536a.yaml Release note for murano actions support 2016-06-15 10:39:04 +05:30
mistral-senlin-actions-f3fe359c4e91de01.yaml Added releasenote for Senlin Action Pack 2016-11-15 14:25:41 +05:30
mistral-tempest-plugin-2f6dcbceb4d27eb0.yaml Add release note for tempest plugin 2016-01-22 05:52:18 +00:00
mistral-vitrage-actions-a205b8ea82b43cab.yaml Added Vitrage actions into Mistral 2018-04-24 22:41:04 +09:00
namespace_for_workbooks.yaml Add namespace support for workbooks 2018-07-26 17:13:58 +05:30
new-service-actions-support-47279bd649732632.yaml Add release notes for M-3 2016-03-01 10:17:11 +13:00
policy-and-doc-in-code-9f1737c474998991.yaml Implement policy in code - docs and reno (end) 2017-11-27 02:47:56 +00:00
region-name-support-9e4b4ccd963ace88.yaml Handle region_name in openstack actions 2016-11-08 15:30:00 +01:00
remove_redundant_persistent_data_from_task_context-c5281a5f5ae688f1.yaml Release note for not persisting '__task_execution' in DB 2018-04-18 13:11:59 +07:00
remove_unnecessary_workflow_execution_update-bdc9526bd39539c4.yaml Performance: remove unnecessary workflow execution update 2018-09-03 11:47:11 +07:00
role-based-resource-access-control-3579714be15d9b0b.yaml Add release note for resource RBAC feature 2017-04-08 15:10:24 +12:00
safe-rerun-in-task-defaults-87a4cbe12558bc6d.yaml Added 'safe-rerun' policy to task-defaults section 2018-04-23 20:46:43 +04:00
support-created-at-yaql-function-execution-6ece8eaf34664c38.yaml Add release note for 'created_at' support in execution() 2017-03-24 10:28:52 +13:00
support-env-in-adhoc-actions-20c98598893aa19f.yaml Update AdHoc Actions to support context data references 2017-05-17 22:09:29 -05:00
support-manage-cron-trigger-by-id-ab544e8068b84967.yaml Add get cron-trigger by id support 2017-10-05 11:41:00 +00:00
support-manila-action-8af256d5fadd1ac5.yaml Support Manila actions in Mistral 2018-07-24 15:11:08 +02:00
support-qinling-action-99cd323d4df36d48.yaml Support Qinling actions in Mistral 2018-05-16 21:27:42 +12:00
support-zun-action-3263350334d1d34f.yaml Support actions for zun 2018-04-27 09:52:19 +08:00
tacket-actions-support-2b4cee2644313cb3.yaml Add tacker actions in mistral 2016-07-02 06:16:54 -04:00
transition-message-8dc4dd99240bd0f7.yaml Release notes for fail/pause/success transition message 2016-06-02 11:08:39 +05:30
update-mistral-docker-image-0c6294fc021545e0.yaml Update docker build 2017-07-03 13:22:44 +02:00
update-retry-policy-fb5e73ce717ed066.yaml Added releasenote for retry policy update 2016-12-05 06:58:15 +00:00
use-workflow-uuid-30d5e51c6ac57f1d.yaml Add release notes for M-3 2016-03-01 10:17:11 +13:00
using_passive_deletes_in_sqlalchemy-4b3006b3aba55155.yaml Release note for using "passive_deletes=True" 2018-05-17 10:43:32 -04:00
validate-ad-hoc-action-api-added-6d7eaaedbe8129a7.yaml Add API to validate ad-hoc action 2016-05-18 11:02:59 +00:00
wf_final_context_evaluation_with_batches-6292ab64c131dfcc.yaml Release note for batched evaluation of final workflow context 2018-04-20 18:32:19 +07:00
workflow-create-instance-YaqlEvaluationException-e22afff26a193c4f.yaml Fix for YaqlEvaluationException in std.create_instance workflow. 2016-07-12 00:29:23 -04:00
workflow-sharing-746255cda20c48d2.yaml Add release notes for M-3 2016-03-01 10:17:11 +13:00
workflow_environment_optimizations-deb8868df3f0dc36.yaml Release note for workflow environment optimizations 2018-04-27 20:08:57 +07:00
x-target-insecure-values-4b2bdbfd42526abc.yaml Explicitly convert X-Target-Insecure to a boolean 2018-08-22 09:48:30 +01:00
yaml-json-parse-53217627a647dc1d.yaml Add yaml and json parsing functions 2017-10-12 16:50:03 -04:00