Node introspection fails when max_retry_count set to 0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Dougal Matthews |
Bug Description
When I set max_retry_attempts to 0 in nodes introspection workflow and the introspection fails (in this case when trying to run it on node in 'available' state), the introspection workflow fails with:
State | ERROR |
| State info | Failed to handle action completion [error=Can not evaluate YAQL expression [expression='Retry limit reached with {0} nodes still failing introspection'
| | 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
tags: | added: workflows |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Related fix proposed to branch: master /review. openstack. org/567201
Review: https:/