Action mistral.environments_get cannot handle more than one publish
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Incomplete
|
Medium
|
Renat Akhmerov |
Bug Description
During testing [1] I've discovered weird behaviour, that the action freezes when there are more than <% task().
+------
| Field | Value |
+------
| ID | 41ba5fe0-
| Workflow ID | 3b22ad9a-
| Workflow name | tripleo.
| Workflow namespace | |
| Description | |
| Task Execution ID | <none> |
| Root Execution ID | <none> |
| State | ERROR |
| State info | Failed to handle action completion [error=Can not evaluate YAQL expression [expression=
| | Traceback (most recent call last): |
| | File "/usr/lib/
| | task.on_
| | File "/usr/lib/
| | result = f(*args, **kwargs) |
| | File "/usr/lib/
| | self.complete(
| | File "/usr/lib/
| | result = f(*args, **kwargs) |
| | File "/usr/lib/
| | data_flow.
| | File "/usr/lib/
| | task_ex.published = expr.evaluate_
| | File "/usr/lib/
| | data[key] = _evaluate_
| | File "/usr/lib/
| | return evaluate(item, context) |
| | File "/usr/lib/
| | return evaluator.
| | File "/usr/lib/
| | cls).evaluate(
| | File "/usr/lib/
| | ", data=%s]" % (expression, str(e), data_context) |
| | YaqlEvaluationE
| | |
| Created at | 2019-03-21 12:08:19 |
| Updated at | 2019-03-21 12:13:29 |
+------
[1] https:/
Changed in mistral: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in mistral: | |
assignee: | nobody → Renat Akhmerov (rakhmerov) |
milestone: | none → train-1 |
Changed in mistral: | |
status: | Triaged → Incomplete |
When db_host is commented in publish, the worflow obviously fails on next action with:
(undercloud) [stack@undercloud ~]$ mistral execution-get d7cc2fab- 2c53-4527- b835-5352b23a16 ac ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ ------- ------- +------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -+ 2c53-4527- b835-5352b23a16 ac | b3ca-4290- b3df-91b7408387 19 | undercloud_ backup. v1.backup | $.undercloud_ db_host, error=u' undercloud_ db_host' , data={}], wf=tripleo. undercloud_ backup. v1.backup, task=create_ database_ backup] : | python2. 7/site- packages/ mis...
+------
| Field | Value |
+------
| ID | d7cc2fab-
| Workflow ID | 3b22ad9a-
| Workflow name | tripleo.
| Workflow namespace | |
| Description | |
| Task Execution ID | <none> |
| Root Execution ID | <none> |
| State | ERROR |
| State info | Failed to run task [error=Can not evaluate YAQL expression [expression=
| | Traceback (most recent call last): |
| | File "/usr/lib/