From 8a428cd73c82f455bcb387637c6163797a532f9d Mon Sep 17 00:00:00 2001 From: Xing Yang Date: Sun, 15 Nov 2015 23:43:25 -0500 Subject: [PATCH] Fix ScaleIO driver provisioning key In the ScaleIO Cinder volume driver, the parameter 'sio:provisioning' is wrong. It should be 'sio:provisioning_type' instead. As a result of this error, the volume is always provisioned as 'thick' even if user wants to provision a 'thin' volume. This patch corrects this parameter. Closes-Bug: #1519611 Change-Id: I7c3b0256af3c30c2f375c0f9373646d3f58cd0d0 --- cinder/volume/drivers/emc/scaleio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/emc/scaleio.py b/cinder/volume/drivers/emc/scaleio.py index 8b3f68c8d..b9cb44ae2 100644 --- a/cinder/volume/drivers/emc/scaleio.py +++ b/cinder/volume/drivers/emc/scaleio.py @@ -77,7 +77,7 @@ STORAGE_POOL_NAME = 'sio:sp_name' STORAGE_POOL_ID = 'sio:sp_id' PROTECTION_DOMAIN_NAME = 'sio:pd_name' PROTECTION_DOMAIN_ID = 'sio:pd_id' -PROVISIONING_KEY = 'sio:provisioning' +PROVISIONING_KEY = 'sio:provisioning_type' IOPS_LIMIT_KEY = 'sio:iops_limit' BANDWIDTH_LIMIT = 'sio:bandwidth_limit' -- 2.45.2