Stack delete fails after wrong attribute in template
Bug #1340126 reported by
sab
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Alexey Ivanitskiy |
Bug Description
While creating a LoadBalancer resource with a template like below:
LBpool:
type: OS::Neutron:
properties:
members: [{get_attr: [autoscaling_group, InstanceList]}]
pool_id: lb_autoscaling_pool
Here autoscaling_group is a AutoScalingGroup resource, Since there is no 'InstanceList' attribute in AutoScalingGroup it will fail with a StackValidation
While if we try to delete the stack, the deletion fails throwing a "ValueError: LBpool: members The Referenced Attribute (instance_group InstanceList) is incorrect." .
I think on a stack deletion it's desirable to recover from such errors.
Changed in heat: | |
assignee: | nobody → Alexey Ivanitskiy (aivanitskiy) |
Changed in heat: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in heat: | |
milestone: | none → kilo-rc1 |
status: | Triaged → Fix Committed |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-rc1 → 2015.1.0 |
To post a comment you must log in.
There is a patch, which fixes this bug. /review. openstack. org/#/c/ 82488/
https:/
It validates a template before and raises an error, if some attributes are incorrect, and doesn't create a stack