OS::Heat:Autoscaling group Fn::GetAttr does not work for attributes 'outputs' and 'outputs_list'
Bug #1444286 reported by
Rabi Mishra
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Rabi Mishra |
Bug Description
OS::Heat:
It returns an error during stack-show for the specific output:
For something like
outputs:
server_names:
value: {get_attr: [asg, outputs_list, name]}
"The Referenced Attribute (asg outputs_list) is incorrect"
It seems get_attr is mapped to hot_funcs.
https:/
Either we should support this for older templates or mention that these attributes are only supported >=2014-10-16.
Changed in heat: | |
assignee: | nobody → Rabi Mishra (rabi) |
Changed in heat: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-1 → 5.0.0 |
To post a comment you must log in.
This is expected, because path based attributes require 2014-10-16, but it sounds like we need to improve the docs to make that clear.
We should not change the behaviour of the old HOT version, IMO the correct fix is to update the docs.
As a start these should probably mention it:
http:// docs.openstack. org/developer/ heat/template_ guide/hot_ spec.html# get-attr
http:// docs.openstack. org/hot- guide/content/ get-access- to-nested- attributes. html