Ask Your Question
1

Can mistral help me in informing where a task failed and why it failed ?

asked 2015-12-07 04:43:48 -0500

abhishek-talwar gravatar image

As Mistral can help us in scheduling taks in OpenStack. So can it also help us with that if a Task failed why did it failed and at which postion it failed ?

So this can help the user as he can start from the point it failed last time and doesnt has to start from all over again.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-09-20 10:28:09 -0500

d0ugal gravatar image

To view your workflows you can use the command:

openstack workflow execution list

If you then want to look at the individual executions, you can do this:

openstack action execution list

If you output is large on there you can grep for "ERROR" to find those that are failing.

openstack action execution list | grep ERROR

Then you should be able to see from the task name where it failed in the workflow. You can easily then get more information for each task.

openstack action execution show $ID
mistral action-execution-get-input $ID
mistral action-execution-get-output $ID

(Note the bottom two commands should be possible via openstack client, but they seem to be broken. I will file a bug.)

edit flag offensive delete link more
0

answered 2016-07-17 09:10:04 -0500

michal-gershenzon gravatar image

https://ask.openstack.org/en/question/89061/restart-workflow-in-mistral/ (https://ask.openstack.org/en/question...)

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: 2015-12-07 04:43:48 -0500

Seen: 132 times

Last updated: Jul 17 '16