Merge "Dell EMC SC: Error Deleting Consistency Group"

This commit is contained in:
Zuul 2018-03-03 23:55:55 +00:00 committed by Gerrit Code Review
commit 471bdcfb12

View File

@ -876,7 +876,8 @@ class SCCommonDriver(driver.ManageableVD,
for volume in volumes:
status = fields.GroupStatus.ERROR
try:
if self.delete_volume(volume):
self.delete_volume(volume)
# We throw if that fails.
status = fields.GroupStatus.DELETED
except (exception.VolumeBackendAPIException,
exception.VolumeIsBusy):