introspect workflow doesn't report failures to zaqar properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Dougal Matthews |
Bug Description
When running tripleo.
$ mistral execution-list -c 'Workflow name' -c Description -c 'Updated at'
+------
| Workflow name | Description | Updated at |
+------
| tripleo.
| tripleo.
+------
The nature of the error is irrelevant in this case.
This bug prevents the GUI from properly displaying an error message.
Changed in tripleo: | |
milestone: | none → queens-1 |
tags: | added: pike-backport-potential |
Changed in tripleo: | |
assignee: | Dougal Matthews (d0ugal) → Honza Pokorny (hpokorny) |
Changed in tripleo: | |
assignee: | Honza Pokorny (hpokorny) → Dougal Matthews (d0ugal) |
Changed in tripleo: | |
assignee: | Dougal Matthews (d0ugal) → Honza Pokorny (hpokorny) |
Changed in tripleo: | |
assignee: | Honza Pokorny (hpokorny) → Dougal Matthews (d0ugal) |
Running introspection on the same node via the CLI:
$ openstack overcloud node introspect 9248b98c- 67a3-4861- 9489-23b977097b a3
Produces an error on the sub-workflow and then waits a very long time. I'm not sure why that is. There is nothing to retry since the child didn't time out.
Waiting for introspection to finish... baremetal. v1.introspect. Execution ID: 174ef8f5- cb66-47df- 9ac1-10e3dba074 c5 e60c-48c1- 8055-877bb271ca cd' with no timeout. ex_id=07d339a3- ba84-43aa- bf5c-261454f9b1 cf, action_cls='<class 'mistral. actions. action_ factory. BaremetalIntros pectionAction' >', attributes= '{u'client_ method_ name': u'introspect'}', params='{u'uuid': u'9248b98c- 67a3-4861- 9489-23b977097b a3'}'] spectionAction. introspect failed: Invalid provision state for introspection: "available", valid states are "['enroll', 'manageable', 'inspect failed', 'inspecting']"
Started Mistral Workflow tripleo.
Waiting for messages on queue '4c78980a-
Failed to run action [action_
BaremetalIntro