Delete image when backup operation failed on snapshot step
when we snapshot an instance, we will use @delete_image_on_error to
delete any failed snapshot, however, the image will not be removed
by backup code flow, it will be an issue if too many backup failed
at last ,all useful image will be removed and we have only 'error'
image left in host
Change-Id: Ib527ade86aef52a8445b57fa03fed434578c4204
Closes-Bug: #1288574
(cherry picked from commit 3824051b1e5618388a17c88867a3037397bc96b7)
Reviewed: https:/ /review. openstack. org/102469 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=7ca83e81a5a fd76cb8bf5333c0 9f3441c3293ee0
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 7ca83e81a5afd76 cb8bf5333c09f34 41c3293ee0
Author: jichenjc <email address hidden>
Date: Fri Feb 28 20:31:39 2014 +0800
Delete image when backup operation failed on snapshot step
when we snapshot an instance, we will use @delete_ image_on_ error to
delete any failed snapshot, however, the image will not be removed
by backup code flow, it will be an issue if too many backup failed
at last ,all useful image will be removed and we have only 'error'
image left in host
Change-Id: Ib527ade86aef52 a8445b57fa03fed 434578c4204 88a17c88867a303 7397bc96b7)
Closes-Bug: #1288574
(cherry picked from commit 3824051b1e56183