From: Rick Chen Date: Sat, 16 Aug 2014 03:56:01 +0000 (+0800) Subject: Change the froce delete volume flage to True X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=f3aa4effdee927576adc3da9564a46f948061b52;p=openstack-build%2Fcinder-build.git Change the froce delete volume flage to True The ProphetStor storage volume unable to remove if this has assignee on other service or application. We make sure the volume created by the cinder, and the cinder has the privileges to delete volume. Change-Id: I06fa7097f4c2320c346e286b0e0fc73ada1c7f8e Closes-Bug: 1357629 --- diff --git a/cinder/volume/drivers/prophetstor/dplcommon.py b/cinder/volume/drivers/prophetstor/dplcommon.py index 7a738c41b..3bc76513d 100644 --- a/cinder/volume/drivers/prophetstor/dplcommon.py +++ b/cinder/volume/drivers/prophetstor/dplcommon.py @@ -269,7 +269,7 @@ class DPLVolume(object): url, params, [httplib.OK, httplib.ACCEPTED, httplib.CREATED]) - def delete_vdev(self, volumeID, force=False): + def delete_vdev(self, volumeID, force=True): method = 'DELETE' metadata = {} params = {}