task stuck in RUNNING if YAQL expression failed in publish
Bug #1496685 reported by
Winson Chan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
High
|
Winson Chan |
Bug Description
If there's YAQL expression evaluation error in published variables for any task, the on_action_complete fails, DB transactions rollback, and the task is stuck in a RUNNING state. It should fail the task with appropriate error information.
Changed in mistral: | |
milestone: | none → liberty-rc2 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in mistral: | |
assignee: | nobody → Winson Chan (winson-c-chan) |
Changed in mistral: | |
status: | Fix Committed → Fix Released |
Changed in mistral: | |
milestone: | liberty-rc2 → liberty |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/225359 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=bf684b6adc9 3ff44f94cb6b191 75bd6fde3df0a8
Committed: https:/
Submitter: Jenkins
Branch: master
commit bf684b6adc93ff4 4f94cb6b19175bd 6fde3df0a8
Author: Winson Chan <email address hidden>
Date: Fri Sep 18 22:37:34 2015 +0000
Fail task on publish error
If there's YAQL expression evaluation error in published variables for
any task, the on_action_complete fails, DB transactions rollback, and
the task is stuck in a RUNNING state. This patch sets the task state
to ERROR and save the error message in the task state_info.
Change-Id: I9003157f57f4e6 49610428b046c23 7f8f51038fb
Closes-Bug: #1496685