From f3aa4effdee927576adc3da9564a46f948061b52 Mon Sep 17 00:00:00 2001 From: Rick Chen Date: Sat, 16 Aug 2014 11:56:01 +0800 Subject: [PATCH] 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 --- cinder/volume/drivers/prophetstor/dplcommon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {} -- 2.45.2