Mistral workflow stuck in RUNNING state after error "list index of range" encountered
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Triaged
|
Medium
|
Unassigned |
Bug Description
A task was marked as RUNNING despite the error reported in mistral engine and executor logs:
2018-03-16 14:01:54.000 5715 INFO workflow_trace [-] Action 'nova.floating_
2018-03-16 14:01:54.029 5715 INFO workflow_trace [-] Task 'search_for_ip' (903e328e-
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
...
...
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
2018-03-16 14:01:54.064 5715 ERROR oslo_messaging.
Still the output shows:
mistral task-list
+------
| ID | Name | Workflow name | Execution ID | State | State info |
+------
| 9efa4482-8205 | create_vm | std.create_instanc | 8bcedf9b-3891 | SUCCESS | None |
| -434e- | | e | -4a5c-bb4b- | | |
| bad8-fb3defa843f1 | | | d7829a6f8908 | | |
| 903e328e-5fad- | search_for_ip | std.create_instanc | 8bcedf9b-3891 | RUNNING | None |
| 4e5f- | | e | -4a5c-bb4b- | | |
| 8cf5-a2d189f7e443 | | | d7829a6f8908 | | |
+------
Is this a known issue?
The action "nova.floating_ ips_findall" was recently removed as it was deprecated in novaclient - that may be the cause of this failure. Either way the Mistral engine shouldn't get stuck.