From: Xing Yang Date: Mon, 16 Nov 2015 04:43:25 +0000 (-0500) Subject: Fix ScaleIO driver provisioning key X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=8a428cd73c82f455bcb387637c6163797a532f9d;p=openstack-build%2Fcinder-build.git 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 --- 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'