Join task fails after rerun outbound task

Bug #1797430 reported by Vitalii Solodilov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Confirmed
High
Renat Akhmerov

Bug Description

Mistral only invalidates cache https://github.com/openstack/mistral/blob/64622cff7b47ed7c37ffbf489e5516714e4477a4/mistral/engine/workflows.py#L232 https://github.com/openstack/mistral/blob/64622cff7b47ed7c37ffbf489e5516714e4477a4/mistral/engine/workflows.py#L375 in one mistral-engine node.
If _refresh_task_state function cached outbound task in other node there is chance that _refresh_task_state will be use wrong outbound task states.

Maybe, we should cache task states in context of join task and to reset it after rerun.

Test case:
Start 2 mistral engines.
Create workflow: http://paste.openstack.org/show/731913/
Launch script: http://paste.openstack.org/show/731914/

Changed in mistral:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Oleg Ovcharuk (vgvoleg)
milestone: none → stein-1
description: updated
Dougal Matthews (d0ugal)
Changed in mistral:
milestone: stein-1 → stein-2
Changed in mistral:
assignee: Oleg Ovcharuk (vgvoleg) → Renat Akhmerov (rakhmerov)
Changed in mistral:
milestone: stein-2 → stein-3
Changed in mistral:
milestone: stein-3 → train-1
Changed in mistral:
milestone: train-1 → train-rc1
milestone: train-rc1 → ussuri-1
Changed in mistral:
milestone: ussuri-1 → ussuri-2
Changed in mistral:
milestone: ussuri-2 → ussuri-3
Changed in mistral:
milestone: ussuri-3 → victoria-1
Changed in mistral:
milestone: victoria-1 → wallaby-1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.