From 5a8ead7d154bbbb60b3272044a86fddea7afd929 Mon Sep 17 00:00:00 2001 From: Navneet Singh Date: Fri, 21 Jun 2013 18:46:36 +0530 Subject: [PATCH] NetApp:iSCSI drivers reserved percent need to change to 0. The iscsi drivers reserved percent is 100 as of now. This needs to be changed to 0 for default values. It needs to be corrected so that filter scheduler does not discard netapp backend. bug 1182015 Change-Id: Id80584e5d478c83de97735706994206e024f8bf6 --- cinder/volume/drivers/netapp/iscsi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/volume/drivers/netapp/iscsi.py b/cinder/volume/drivers/netapp/iscsi.py index 936c4df1e..17f9decb0 100644 --- a/cinder/volume/drivers/netapp/iscsi.py +++ b/cinder/volume/drivers/netapp/iscsi.py @@ -841,7 +841,7 @@ class NetAppDirectCmodeISCSIDriver(NetAppDirectISCSIDriver): data['total_capacity_gb'] = 'infinite' data['free_capacity_gb'] = 'infinite' - data['reserved_percentage'] = 100 + data['reserved_percentage'] = 0 data['QoS_support'] = False provide_ems(self, self.client, data, netapp_backend) self._stats = data @@ -1124,7 +1124,7 @@ class NetAppDirect7modeISCSIDriver(NetAppDirectISCSIDriver): data['total_capacity_gb'] = 'infinite' data['free_capacity_gb'] = 'infinite' - data['reserved_percentage'] = 100 + data['reserved_percentage'] = 0 data['QoS_support'] = False provide_ems(self, self.client, data, netapp_backend, server_type="7mode") -- 2.45.2