]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Delete image on upload-to-image failure
authorVipin Balachandran <vbala@vmware.com>
Wed, 30 Apr 2014 12:00:57 +0000 (17:30 +0530)
committerVipin Balachandran <vbala@vmware.com>
Fri, 6 Jun 2014 06:29:52 +0000 (11:59 +0530)
commit31569827c749dca6e0affd4646360b839f321758
treeed1ea9a021c3fc7aec4d004cdd9b6e11ec78b40f
parent6ff7d035bf507bf2ec9d066e3fcf81f29b4b481c
Delete image on upload-to-image failure

On upload-to-image failure before initiating the data transfer or during
data transfer, the source volume status is restored properly whereas the
image created remains in queued or saving state. This change deletes the
image during such failures.

Change-Id: I0aa64798d2bc5bf19b79dd3b88dcd107ff369c42
Closes-Bug: #1298042
cinder/tests/test_volume.py
cinder/volume/manager.py