Closed mickmcgrath13 closed 4 years ago
Confirmed this is a problem in st2 v2.4.
Also, trying to cancel that workflow using st2 execution cancel xxx
causes the workflow to be stuck in the canceling
state even though the underlying mistral workflow enters into the CANCELED state.
| 366d3bed-d171-43fc-bc47-8166629f44eb | b9c68137-79c2-465c-8d00-a47f666a1ce5 | examples.nick_workflow | | <none> | CANCELLED | None | 2017-09-07 19:34:29 | 2017-09-07 19:38:40 |
| + 59b19f45a814c05044731ad6 | examples.nick_w | st2admin | canceling | Thu, 07 Sep | |
| | orkflow | | | 2017 19:34:29 | |
| | | | | UTC | |
This works:
..but this hangs
It seems, too, like the multiple tasks is necessary because I just got an error (undefined variable) with just one task, and the workflow execution failed.
The output of
st2 execution get --detail 59b16e66271fb2452d82cda7
wasn't really helpful because it is just in theRUNNING
stateunless I cancel it - in which case it's in the
CANCELED
statest2api
nothing useful
st2resultstracker
no results for test.undefined-variable-hangs
mistral-server.log
/var/log/mistral $ sudo tail mistral-server.log
st2actionrunner
/var/log/st2 $ sudo tail st2actionrunner.8533.log
Expected results
The workflow should fail