Updating stack with new flavor in resourcegroup with flavor_update_policy: resize still does a replace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Steven Hardy |
Bug Description
When the template is updated to a new flavor inside OS::Heat:
Template Used:
============
heat_template_
description: Simple Resource Group template
resources:
compute_
type: OS::Heat:
properties:
count: 2
resource_def:
type: OS::Nova::Server
properties:
flavor: m1.nano
image: cirros-
key_name: default
name: ScaleOut
Steps to reproduce:
===============
1. Create a stack with above mentioned template.
heat stack-create stack1 -f <path to above template>
2. Check nova list for the instance and note the IP and status
nova list | grep stack1
2. modify the template value "flavor" to m1.micro from m1.nano
3. Update the stack with the modified template
heat stack-update stack1 -f <path to modified template>
4. Check nova list for instance status
5. You can see that new instances with modified flavors are created and existing instances are deleted.
6. Expected behavior, instances getting into resizing state, which does not happen now.
Changed in heat: | |
status: | New → Confirmed |
assignee: | nobody → Qiming Teng (tengqim) |
summary: |
Updating stack with new flavor in resourcegroup with - flavor_update_police: resize still does a replace + flavor_update_policy: resize still does a replace |
Changed in heat: | |
assignee: | Qiming Teng (tengqim) → Steven Hardy (shardy) |
status: | Confirmed → In Progress |
Changed in heat: | |
importance: | Undecided → High |
milestone: | none → kilo-1 |
tags: | added: tripleo |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-1 → 2015.1.0 |
I've posted a patch for bug #1396533 which I believe may fix this issue too, in which case we can close this as a duplicate (I know, technically the other bug is the duplicate..)