]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add a resume delete on volume manager startup
authorJohn Griffith <john.griffith@solidfire.com>
Thu, 13 Sep 2012 16:53:52 +0000 (10:53 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Thu, 13 Sep 2012 16:54:35 +0000 (10:54 -0600)
commit2aa501560384205b0fd3891ed5dd2a3864afcdc2
tree55dc7f48ff813efe35ac7de749da78fcf62ef1ad
parent4ae3c1fabaa807eec2e7639b4c2bc7208e9e86e9
Add a resume delete on volume manager startup

  Currently if for some reason the volume service was stopped
  during the zero out operation of a volume delete there was
  no way to get the volume removed from the system (it would
  be present in deleting status forever).

  This change adds a simple check of volumes in the DB with status
  of deleting, and if any are found it restarts the delete process
  on them.

  addresses bug #1011150

Change-Id: Id4c4a3bc61f95245ebc6658234b4b88029956562
cinder/volume/manager.py