From: ArkadyKanevsky Date: Fri, 13 Feb 2015 16:22:38 +0000 (-0600) Subject: Fix for infinity capacity reporting in EQL driver X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5a49754f2acd76e2583685b215de549eb9f27c63;p=openstack-build%2Fcinder-build.git Fix for infinity capacity reporting in EQL driver Updated default values for total and free capacity from infinity to 0. No more usage of unknown or infinity. Closes bug: #1421843 Change-Id: I8bebdb9f54642ffb6ab77e81f759549db3ab838a --- diff --git a/cinder/volume/drivers/eqlx.py b/cinder/volume/drivers/eqlx.py index 6e4704173..63c9bfbca 100644 --- a/cinder/volume/drivers/eqlx.py +++ b/cinder/volume/drivers/eqlx.py @@ -289,8 +289,8 @@ class DellEQLSanISCSIDriver(SanISCSIDriver): data['reserved_percentage'] = 0 data['QoS_support'] = False - data['total_capacity_gb'] = 'infinite' - data['free_capacity_gb'] = 'infinite' + data['total_capacity_gb'] = 0 + data['free_capacity_gb'] = 0 for line in self._eql_execute('pool', 'select', self.configuration.eqlx_pool, 'show'):