Invalid deletion policy not correctly validated
Bug #1496502 reported by
Steven Hardy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Steven Hardy |
Bug Description
$ heat stack-create del1 -f del_pol.yaml
ERROR:
-bash-4.3$ cat del_pol.yaml
heat_template_
resources:
test:
type: OS::Heat:
deletion_
This is because we're failing to catch an AssertionError in the engine when creating the ResourceDefinition in stack.Stack.
Changed in heat: | |
assignee: | nobody → Steven Hardy (shardy) |
Changed in heat: | |
assignee: | Steven Hardy (shardy) → nobody |
Changed in heat: | |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → liberty-rc1 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-rc1 → 5.0.0 |
To post a comment you must log in.
We should explicitly convert the policy values that are valid in the template to the values that are valid in the ResourceDefinition API, instead of relying on programming- by-coincidence for them to be the same. We should never ever ever catch an AssertionError.