]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Implement interruption-free update and rollback
authorZane Bitter <zbitter@redhat.com>
Tue, 27 Aug 2013 18:15:08 +0000 (20:15 +0200)
committerZane Bitter <zbitter@redhat.com>
Tue, 27 Aug 2013 18:15:08 +0000 (20:15 +0200)
commit46ae6848896a24dece79771037b86cc6f4b53292
tree9d626cbf2f57e7d4fe19a63ee1723817b2e8065c
parent8e64406c3f2d3beb356b741840fecb28d9f24c2e
Implement interruption-free update and rollback

During an update, where a resource must be replaced in its entirety, create
the replacement resource before deleting the old resource.

Also, allow rollback to the previous version of the resource without
replacing it, where that is possible.

Fixes bug #1176142

Change-Id: Id89654bad297815bdbcc86f666367772889b5df4
heat/engine/resource.py
heat/engine/update.py
heat/tests/test_parser.py