]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Convert SolidFire Capacity response to GiB
authorJohn Griffith <john.griffith8@gmail.com>
Tue, 13 May 2014 05:01:55 +0000 (01:01 -0400)
committerJohn Griffith <john.griffith8@gmail.com>
Tue, 13 May 2014 14:47:18 +0000 (10:47 -0400)
commitb75d26f9f3a15f00e2a9605e23752b30cab583e6
tree34ab87097097f6a1cfd73f70f775d2cb85e5df81
parent432720e99f94ebffbc456c1bbe6d540d4c327cb8
Convert SolidFire Capacity response to GiB

This patch fixes the reported free_capacity_gb response
in the SolidFire update_cluster_status method.

The initial patch fixed the free_capacity conversion,
however omitted the same fix that was needed for the
free_space calculation.

Closes Bug: #1284452

Change-Id: If034957764911ec92a6d7e603d0510325018db6d
cinder/tests/test_solidfire.py
cinder/volume/drivers/solidfire.py