Invalid metadata reference not validated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Low
|
Angus Salkeld | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
heat_template_
resources:
instance:
type: OS::Nova::Server
#metadata: {'random': {get_attr: [random, value]}}
metadata: {get_attr: [random, value]}
properties:
image: cirros-
flavor: m1.small
key_name: stack_key
random:
type: OS::Heat:
If the (invalid) uncommented line is used, it passes validation, but then some time later the resource fails to store silently and the resource creation fails in an obscure way:
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
2014-07-07 23:29:06.452 TRACE heat.engine.
Changed in heat: | |
assignee: | nobody → Angus Salkeld (asalkeld) |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in heat: | |
milestone: | none → juno-rc1 |
Changed in heat: | |
milestone: | juno-rc1 → next |
tags: | added: juno-backport-potential |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/117076
Review: https:/