defaults passed as parameters to nested stacks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Steven Hardy |
Bug Description
There's a confusing misalignment in the properties-
$ cat parent.yaml
heat_template_
resources:
test_nested:
type: nested.yaml
-bash-4.3$ cat nested.yaml
heat_template_
parameters:
foo_nested:
type: string
default: foo
resources:
test1:
type: OS::Heat:
properties:
value: foo
fail: False
-bash-4.3$ heat stack-create x1 -f parent.yaml
-bash-4.3$ heat resource-list x1
+------
| resource_name | physical_
+------
| test_nested | 10a7354d-
-bash-4.3$ heat stack-show 10a7354d-
+------
| Property | Value |
+------
| capabilities | [] |
| creation_time | 2015-09-21T17:34:47 |
| description | No description |
| disable_rollback | True |
| id | 10a7354d-
| links | http://
| notification_topics | [] |
| outputs | [] |
| parameters | { |
| | "OS::project_id": "63b7b69cab914c
| | "foo_nested": "foo", |
| | "OS::stack_id": "10a7354d-
| | "OS::stack_name": "x1-test_
Here, we should only see "foo_nested" in the parameters if it's passed from the parent template.
Changed in heat: | |
assignee: | nobody → Steven Hardy (shardy) |
Changed in heat: | |
importance: | Undecided → Medium |
milestone: | none → liberty-rc1 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-rc1 → 5.0.0 |
Fix proposed to branch: master /review. openstack. org/225961
Review: https:/