Failed to update autoscaling group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Angus Salkeld |
Bug Description
Hi guys,
I checked the list of bugs but I didn't find the bug I am reporting.
We found this bug during testing Heat with Rally.
The test case is the following:
1. Create the autoscaling group:
heat_template_
resources:
test_group:
type: OS::Heat:
properties:
desired_
max_size: 0
min_size: 0
resource:
type: OS::Heat:
test_policy:
type: OS::Heat:
properties:
adjustmen
auto_
scaling_
The stack status is CREATE_COMPLETE.
2. Update the stack with the same template (except scaling_
heat_template_
resources:
test_group:
type: OS::Heat:
properties:
desired_
max_size: 0
min_size: 0
resource:
type: OS::Heat:
test_policy:
type: OS::Heat:
properties:
adjustmen
auto_
scaling_
The stack status becomes UPDATE_FAILED.
The rally log is here:
http://
The rootcause is here:
if nested_stack.state != (nested_
raise exception.
We need to add check for updater into condition because updater can be None in some cases.
Changed in heat: | |
assignee: | nobody → Kairat Kushaev (kkushaev) |
Changed in heat: | |
status: | New → In Progress |
Changed in heat: | |
importance: | Undecided → High |
milestone: | none → kilo-3 |
Changed in heat: | |
assignee: | Kairat Kushaev (kkushaev) → Angus Salkeld (asalkeld) |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-3 → 2015.1.0 |
Guys, I prepared a patch for it.
Waiting for bug to be confirmed.