CLI 'task-list' stops working when a task with two 'with-items' is executed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Incomplete
|
Medium
|
ali abdelal |
Bug Description
Mistral revision
----------------
root@node-
master
* stable/mitaka
root@node-
commit 21b2322f7ffa7a9
Author: OpenStack Proposal Bot <email address hidden>
Date: Fri Jun 10 23:15:16 2016 +0000
Updated from global requirements
Change-Id: I1b3f7fb4dd2589
Steps to reproduce:
-------------------
0. Run 'mistral task-list' CLI command to verify the command works.
1. Create a workflow with a task containing two 'with-items'. Two rows of the task parameters should start from the word 'with-items'. Yes, this is wrong syntax but should not cause 'mistral task-list' failure.
2. Execute the workflow.
3. Run 'mistral task-list' CLI command and get
# mistral task-list
ERROR (app) 'with_items_
Workaround:
-----------
Delete the execution using Mistral CLI,
correct and update the workflow.
'mistral task-list' CLI should work again.
Changed in mistral: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in mistral: | |
assignee: | nobody → ali (alielal) |
Changed in mistral: | |
milestone: | none → train-1 |
The steps to reproduce contain an error. Step 1. is wrong.
Actually to get
# mistral task-listcontext'
ERROR (app) 'with_items_
it's required to create a task with action which will definitely fail. F.e. 'action: cinder.backups_create' without mandatory parameters can be used.