unclear validation error mesage for nested stacks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Rabi Mishra |
Bug Description
Error message has 'Failed to validate' twice and there is no way to locate the resource/template.
[stack@f25-devstack exmaples]$ cat test_rsg.yaml
heat_template_
resources:
rsg:
type: OS::Heat:
properties:
count: 1
resource_def:
type: server.yaml
properties:
image: cirros-
flavor: m1.nano
[stack@f25-devstack exmaples]$ cat server.yaml
heat_template_
parameters:
image:
type: string
default: cirros-
flavor:
type: string
default: m1.nano
resources:
server:
type: OS::Nova::Server
properties:
image: {get_param: image}
#flavor: {get_param: flavor}
[stack@f25-devstack exmaples]$ openstack stack create test_stack -t test_rsg.yaml
ERROR: Failed to validate: Failed to validate: resources[0]: Property flavor not assigned
Changed in heat: | |
status: | New → Triaged |
milestone: | none → pike-2 |
Changed in heat: | |
milestone: | pike-2 → pike-3 |
That's horrible, but not new. It'd be great to fix.