Ask Your Question
1

Restart workflow in mistral

asked 2016-02-29 06:53:59 -0500

quikjean gravatar image

Hi I am looking for a replacement for my current workflow engine and digging a little bit on mistral.

I have understood how you could run workflows, etc... what I am looking at is if there is a way to restart a workflow after it failed. Example, I have a workflow which executes task #1, executes a nested workflow with task #2 and #3, then a final task #4. The execution failed on task #3.

How is it possible in mistral to restart the same workflow with the input same parameter and run only the remaining tasks which is in this case #3 and the final task #4.

Other example, a nested workflow runs 6 concurrent provisioning of baremetal servers. In case of them fails, how does mistral know that it must only restart the failed server ?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-07-17 09:00:02 -0500

michal-gershenzon gravatar image

To resume a workflow from the task in which it failed you can use mistral task rerun.

mistral task-rerun TASK_ID 
mistral task-rerun 1dcd2208-8965-4854-aae5-6e97a705f25d
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-02-29 06:53:59 -0500

Seen: 223 times

Last updated: Jul 17 '16