]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix failure of source volume deletion in migrate_volume_completion
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>
Sat, 19 Jul 2014 00:36:56 +0000 (20:36 -0400)
committerTomoki Sekiyama <tomoki.sekiyama@hds.com>
Sat, 19 Jul 2014 01:06:34 +0000 (21:06 -0400)
commit1945b82ff5ac30fad1c94849e86c4c3b5d4a28e1
treee168bb39f46d4f76d1e9a15111e07d1a7fa33ae5
parentedcc9fd977e399c034f153aa3727c50f080cd50a
Fix failure of source volume deletion in migrate_volume_completion

In VolumeManager.migrate_volume_completion(), when volume_status is not
'retyping', status_update is not set. However, status_update is always
referenced as dictionary on volume deletion path, so it fails to delete
migration source volume. This patch fixes the issue.

Change-Id: I06889dae326b9557e044f1712d9f3205bb68a953
Closes-Bug: 1344341
cinder/volume/manager.py