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.
Reviewed: https:/ /review. openstack. org/12965 github. com/openstack/ nova/commit/ b7f140351acf63c 0054fc772edff23 28fac3fcfb
Committed: http://
Submitter: Jenkins
Branch: master
commit b7f140351acf63c 0054fc772edff23 28fac3fcfb
Author: John Griffith <email address hidden>
Date: Thu Sep 13 11:44:51 2012 -0600
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: I6aa26e9eaa94da 4b620f01160931c bfcad9dadf7