]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : Implement rollback for stack create
authorSteven Hardy <shardy@redhat.com>
Thu, 14 Feb 2013 16:17:25 +0000 (16:17 +0000)
committerSteven Hardy <shardy@redhat.com>
Tue, 19 Feb 2013 10:59:48 +0000 (10:59 +0000)
commit54defea528b938a78f686d1f37daaa7025872a34
tree34a5925e063ffa297e331e5586e09950c5ace3e7
parent5bf32e30d0e4d5317e880d3dd3403bd334b90403
heat engine : Implement rollback for stack create

Implement stack rollback for create_stack, so if a stack
creation fails we automatically rollback (ie delete) the
stack

NOTE : this option defaults to on, so use the --disable-rollback
option to the CLI tools if you want to disable this feature

blueprint stack-rollback

Change-Id: I70a3822426706d0787e571517e059baff1406c0f
heat/db/sqlalchemy/migrate_repo/versions/015_add_stack_rollback_col.py [new file with mode: 0644]
heat/db/sqlalchemy/models.py
heat/engine/parser.py
heat/engine/stack_resource.py
heat/tests/test_loadbalancer.py
heat/tests/test_parser.py
heat/tests/test_waitcondition.py