delete a updating stack may cause that some resources can't be deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Medium
|
Unassigned |
Bug Description
if delete a updating stack before the new template ID is updated,
the new resources added in stack won't be deleted, I think
we need save the new template earlier.
I have a autoscalinggroup, and it have a scaleout policy which add 2 VMs
everytime. and if you delete the stack which is scaling, the added VMs won't be
deleted.
heat=> select resource_name, resource_
resource_name | resource_action | resource_status | resource_type | created_at
-------
WebServerGroup-0 | CREATE | IN_PROGRESS | AWS::EC2::Instance | 2014-04-04 11:27:49.916327
WebServerGroup-0 | CREATE | COMPLETE | AWS::EC2::Instance | 2014-04-04 11:27:57.586147
WebServerGroup-1 | CREATE | IN_PROGRESS | AWS::EC2::Instance | 2014-04-04 11:28:34.832987
WebServerGroup-1 | CREATE | COMPLETE | AWS::EC2::Instance | 2014-04-04 11:28:42.827186
WebServerGroup-2 | CREATE | IN_PROGRESS | AWS::EC2::Instance | 2014-04-04 11:29:34.886439
WebServerGroup-3 | CREATE | IN_PROGRESS | AWS::EC2::Instance | 2014-04-04 11:29:36.098389
WebServerGroup-1 | DELETE | IN_PROGRESS | AWS::EC2::Instance | 2014-04-04 11:29:43.906241
WebServerGroup-0 | DELETE | IN_PROGRESS | AWS::EC2::Instance | 2014-04-04 11:29:44.523359
WebServerGroup-2 | CREATE | COMPLETE | AWS::EC2::Instance | 2014-04-04 11:29:44.638489
WebServerGroup-3 | CREATE | COMPLETE | AWS::EC2::Instance | 2014-04-04 11:29:44.90781
WebServerGroup-1 | DELETE | COMPLETE | AWS::EC2::Instance | 2014-04-04 11:29:47.702711
WebServerGroup-0 | DELETE | COMPLETE | AWS::EC2::Instance | 2014-04-04 11:29:50.058942
(12 rows)
heat=> select resource_name, resource_
resource_name | resource_action | resource_status | resource_type | created_at
-------
LaunchConfig | CREATE | IN_PROGRESS | AWS::AutoScalin
LaunchConfig | CREATE | COMPLETE | AWS::AutoScalin
WebServerGroup | CREATE | IN_PROGRESS | AWS::AutoScalin
WebServerGroup | CREATE | COMPLETE | AWS::AutoScalin
WebServerScale
WebServerScale
CPUAlarmHigh | CREATE | IN_PROGRESS | OS::Ceilometer:
CPUAlarmHigh | CREATE | COMPLETE | OS::Ceilometer:
WebServerScale
WebServerScale
CPUAlarmHigh | DELETE | IN_PROGRESS | OS::Ceilometer:
CPUAlarmHigh | DELETE | COMPLETE | OS::Ceilometer:
WebServerScale
WebServerScale
WebServerGroup | DELETE | IN_PROGRESS | AWS::AutoScalin
WebServerGroup | DELETE | COMPLETE | AWS::AutoScalin
LaunchConfig | DELETE | IN_PROGRESS | AWS::AutoScalin
LaunchConfig | DELETE | COMPLETE | AWS::AutoScalin
(18 rows)
Changed in heat: | |
assignee: | nobody → Zhang Yang (neil-zhangyang) |
Changed in heat: | |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
Could you please upload example for reproducing this problem.