]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Check if snapshot is deleted cleanly.
authorXing Yang <xing.yang@emc.com>
Sat, 1 Mar 2014 12:28:02 +0000 (07:28 -0500)
committerXing Yang <xing.yang@emc.com>
Sun, 2 Mar 2014 14:11:11 +0000 (09:11 -0500)
commit129756938102b3f8a9bcef9bb4ea76602f70f1e2
treef66f2564f5a2bba3d810071968b19887de5b69aa
parente43678f09659e4ab0cd30bfdb3d082ff9b4d8567
Check if snapshot is deleted cleanly.

This patch added a check in delete_snapshot to make sure the
snapshot is deleted cleanly.  Without this check, if someone
tries to delete the source volume immediately after the snapshot
deletion, it will fail with error that the volume still has
snapshot.

Closes-Bug: #1286699

Change-Id: Idf4508025b403fa572584e5204b3891375fed6c6
cinder/volume/drivers/emc/emc_smis_common.py