From: Navneet Singh Date: Fri, 21 Jun 2013 13:16:36 +0000 (+0530) Subject: NetApp:iSCSI drivers reserved percent need to change to 0. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5a8ead7d154bbbb60b3272044a86fddea7afd929;p=openstack-build%2Fcinder-build.git 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 --- 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")