stack is always in UPDATE_IN_PROGRESS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
huangtianhua | ||
Kilo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The steps:
1. create a stack with aws autoscaling group:
*******
heat_template_
parameters:
subnet:
type: string
resources:
my_aws_asg:
type: AWS::AutoScalin
properties:
Availabil
LaunchCon
MaxSize: 4
MinSize: 1
VPCZoneId
- get_param: subnet
lc:
type: AWS::AutoScalin
properties:
ImageId: cirros-
InstanceType: 1
*******
2. the stack create complete
3. update the stack, pass an invalid 'subnet'
4. the stack update failed, the stack is in UPDATE_FAILED
5. update with valid subnet again, then the stack is always in UPDATE_IN_PROGRESS, due _check_
I found that, when we update the stack, first we will remove backup resources
*******
cleanup_prev = scheduler.
*******
def delete_
'''
Delete the nested stack.
'''
try:
******
here we set the stack_name as self.physical_
and it's not match the name of nested_stack, so we can delete the stack always
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
Changed in heat: | |
importance: | Undecided → Medium |
importance: | Medium → High |
tags: | added: kilo-backport-potential |
Changed in heat: | |
milestone: | none → liberty-2 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
tags: | removed: kilo-backport-potential |
Changed in heat: | |
milestone: | liberty-2 → 5.0.0 |
Fix proposed to branch: master /review. openstack. org/206002
Review: https:/