Nested validation breaks with ResourceGroup and non-defaulted count parameter
Bug #1626025 reported by
Steven Hardy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Thomas Herve |
Bug Description
[stack@instack ~]$ heat template-validate -f rg.yaml --show-nested
ERROR: The Parameter (the_count) was not provided.
[stack@instack ~]$ cat rg.yaml
heat_template_
parameters:
the_count:
type: number
resources:
the_group:
type: OS::Heat:
properties:
count: {get_param: the_count}
resource_def:
type: OS::Heat:
We're validating the count too eagerly, but I'm not sure what value we can pass (zero?) which will enable the nested validation to work in this case.
Changed in heat: | |
milestone: | none → ongoing |
importance: | Undecided → Medium |
Changed in heat: | |
assignee: | nobody → Thomas Herve (therve) |
milestone: | ongoing → ocata-1 |
Changed in heat: | |
milestone: | ocata-1 → ocata-2 |
Changed in heat: | |
milestone: | ocata-2 → ocata-3 |
Changed in heat: | |
assignee: | Thomas Herve (therve) → nobody |
status: | In Progress → Confirmed |
milestone: | ocata-3 → next |
Changed in heat: | |
assignee: | nobody → Thomas Herve (therve) |
status: | Confirmed → In Progress |
Changed in heat: | |
milestone: | next → rocky-1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/374226
Review: https:/