Add a resume delete on volume manager startup
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

manojhirway/ExistingImagesOnNFS,Hybrid-Cloud/cinder,openstack/cinder,eharney/cinder,Accelerite/cinder,leilihh/cinder,dims/cinder,inkerra/cinder,rickerc/cinder_audit,redhat-openstack/cinder,tlakshman26/cinder-bug-fix-volume-conversion-full,openstack/cinder,rickerc/cinder_audit,Akrog/cinder,rnirmal/cinder,spring-week-topos/cinder-week,cloudbase/cinder,Accelerite/cinder,Hybrid-Cloud/cinder,rakeshmi/cinder,nexusriot/cinder,maelnor/cinder,phenoxim/cinder,phenoxim/cinder,cloudbau/cinder,saeki-masaki/cinder,CloudServer/cinder,scality/cinder,cloudbase/cinder,tlakshman26/cinder-new-branch,nexusriot/cinder,nikesh-mahalka/cinder,takeshineshiro/cinder,abusse/cinder,Thingee/cinder,NewpTone/stacklab-cinder,j-griffith/cinder,inkerra/cinder,github-borat/cinder,maelnor/cinder,scottdangelo/RemoveVolumeMangerLocks,JioCloud/cinder,winndows/cinder,leilihh/cinder,scottdangelo/RemoveVolumeMangerLocks,takeshineshiro/cinder,citrix-openstack-build/cinder,Paul-Ezell/cinder-1,manojhirway/ExistingImagesOnNFS,apporc/cinder,abusse/cinder,rakeshmi/cinder,NewpTone/stacklab-cinder,spring-week-topos/cinder-week,freedomhui/cinder,blueboxgroup/cinder,petrutlucian94/cinder,bswartz/cinder,NewpTone/stacklab-cinder,ntt-sic/cinder,alex8866/cinder,Paul-Ezell/cinder-1,potsmaster/cinder,Datera/cinder,Datera/cinder,tlakshman26/cinder-new-branch,mahak/cinder,rnirmal/cinder,Akrog/cinder,tlakshman26/cinder-https-changes,saeki-masaki/cinder,petrutlucian94/cinder,alex8866/cinder,tlakshman26/cinder-https-changes,NetApp/cinder,ge0rgi/cinder,nikesh-mahalka/cinder,tlakshman26/cinder-bug-fix-volume-conversion-full,github-borat/cinder,apporc/cinder,julianwang/cinder,scality/cinder,julianwang/cinder,citrix-openstack-build/cinder,Thingee/cinder,duhzecca/cinder,dims/cinder,cloudbau/cinder,NetApp/cinder,eharney/cinder,mahak/cinder,winndows/cinder,Nexenta/cinder,potsmaster/cinder,hguemar/cinder,duhzecca/cinder,JioCloud/cinder,NeCTAR-RC/cinder,freedomhui/cinder,sasukeh/cinder,sasukeh/cinder,bswartz/cinder,Nexenta/cinder,j-griffith/cinder,redhat-openstack/cinder,ntt-sic/cinder,rnirmal/cinder,hguemar/cinder,freedomhui/cinder,Thingee/cinder,blueboxgroup/cinder,CloudServer/cinder,citrix-openstack-build/cinder,NeCTAR-RC/cinder