get_att non-obvious failure on 2013-05-23 HOT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Thomas Spatzier |
Bug Description
If you accidentally get your template version wrong, e.g:
heat_
resources:
random_group:
type: OS::Heat:
properties:
count: 2
type: OS::Heat:
outputs:
all_values:
value: {get_attr: [random_group, attributes, value]}
You get:
"output_error": "The Referenced Attribute (random_group attributes) is incorrect.",
This is quite confusing, since the referenced attribute exists for the resource, the error is we're passing path components to a version of get_att which doesn't support it AFAICT.
I imagine path based lookup of nested stacks will fail in a similar way, quite puzzling until you spot the problem, so a better error and maybe note in the attribute documentation should be added.
Changed in heat: | |
importance: | Undecided → High |
milestone: | none → kilo-2 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/143156
Review: https:/