convergence: resources not using the correct template on update

Bug #1465204 reported by Angus Salkeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Anant Patil

Bug Description

If you make a trivial template and update it, you will notice that the new changes will not happen (even tho' it says Update complete).

From what I have figured out:

1. stack.prev_raw_template_id is set straight away
https://github.com/openstack/heat/blob/master/heat/engine/stack.py#L943-L944

2. The old resource is "found" by matching it's previous template id to the above
https://github.com/openstack/heat/blob/master/heat/engine/stack.py#L1011

New resource instances are not made for the new template. If we had resource ZZ in the old
template
ZZ:
  properties:
     foo: 5

and in the new template:
ZZ:
  properties:
     foo: 6

I was expecting an new resource instance with the new template id attached.

Anant Patil (ananta)
Changed in heat:
assignee: nobody → Anant Patil (ananta)
Changed in heat:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Angus Salkeld (asalkeld) wrote :
Changed in heat:
milestone: none → liberty-2
status: Triaged → In Progress
Revision history for this message
Zane Bitter (zaneb) wrote :

https://review.openstack.org/#/c/193936/ merged, so changing to Fix Committed.

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-2 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.