refs attribute of ResourceGroup does not support indexing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Low
|
Ishant Tyagi |
Bug Description
minimal reproducer:
$ cat refs.yaml
heat_template_
resources:
group:
type: OS::Heat:
properties:
count: 2
resource_def:
type: OS::Heat:
outputs:
allrefs:
value: { get_attr: [ group, refs ] }
oneref:
value: { get_attr: [group, refs, 0 ] }
$ heat stack-create refs -f refs.yaml
$ heat stack-list
+------
| id | stack_name | stack_status | creation_time |
+------
| 5a7dec43-
+------
$ heat output-show refs allrefs
[
"a4t2y5IuYLJz
"5HwxHxZN41J7
]
$ heat output-show refs oneref
[
"a4t2y5IuYLJz
"5HwxHxZN41J7
]
Changed in heat: | |
assignee: | nobody → Ishant Tyagi (ishant-tyagi) |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Low |
milestone: | none → next |
tags: | added: kilo-rc-potential |
Changed in heat: | |
milestone: | next → kilo-rc1 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-rc1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/168301
Review: https:/