]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove the destination volume check in delete_volume
authorVincent Hou <sbhou@cn.ibm.com>
Tue, 1 Sep 2015 03:17:04 +0000 (11:17 +0800)
committerVincent Hou <sbhou@cn.ibm.com>
Fri, 25 Sep 2015 05:39:44 +0000 (22:39 -0700)
commit566a09c322039c27663f71192bb30fca44b7987e
tree7c9a372d55cf0f1fc64c3d0ef8bfff6523b17e64
parentf2257e029fc484e87b5cecd1b29396baf2c7017b
Remove the destination volume check in delete_volume

* If the volume migration fails in the middle of the progress,
the destination volume will be cleaned up via
rpcapi.delete_volume. The method delete_volume in manager
should allow us to clean up the database record for the
destination volume.

* The variable update in migrate_volume_completion has been
assigned twice. Remove the second one.

Change-Id: Icb815476943053f1487268b33c28f3575c4fd0dc
Closes-Bug: #1490445
cinder/tests/unit/test_volume.py
cinder/volume/manager.py