]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Handle volumes no longer existing in resume delete
authorMike Perez <thingee@gmail.com>
Thu, 22 May 2014 21:29:06 +0000 (14:29 -0700)
committerMike Perez <thingee@gmail.com>
Tue, 27 May 2014 20:45:43 +0000 (13:45 -0700)
commitb8a064f10a4dad097ef40f401015897cf9b424c3
treeab2af19d9d43cf56a612690a41b9504e4ff2277e
parent7131c9ef997daf13b25c598024414abafe49594c
Handle volumes no longer existing in resume delete

init_host resumes deletes for volumes with a status of 'deleting'. It
does these sequentially, and sometimes a volume could be deleted under
it, causing a bad stacktrace. This will gracefully handle those
situations and move on. Added coverage for resume volume delete being
successful as well.

Change-Id: I5b30265609b65804f2da77d9daa84b640de7939c
Closes-Bug: #1322340
cinder/tests/test_volume.py
cinder/volume/manager.py