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
Reviewed: https:/ /review. openstack. org/78534 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=3824051b1e5 618388a17c88867 a3037397bc96b7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3824051b1e56183 88a17c88867a303 7397bc96b7
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
Closes-Bug: #1288574