← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1511167] Re: Cinder client incorrectly list the volume size units in GB, the API is actually in GiB

 

The LVM driver is in fact creating volumes in gibibytes (GiB), lvdisplay
is showing the volume in GiBs... see
http://paste.openstack.org/show/477912/ for details. This means that the
API is documented correctly. The cinder client
(http://paste.openstack.org/show/477913/) and Horizon should actually
have the units corrected from GB to GiB. I would like to post patches to
both the cinder client and horizon to remove any confusion on the units
that Cinder is using.

** Summary changed:

- Cinder API docs incorrectly list the volume size units
+ Cinder client incorrectly list the volume size units in GB, the API is actually in GiB

** Project changed: openstack-api-site => python-cinderclient

** Also affects: horizon
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1511167

Title:
  Cinder client incorrectly list the volume size units in GB, the API is
  actually in GiB

Status in OpenStack Dashboard (Horizon):
  New
Status in python-cinderclient:
  In Progress

Bug description:
  Both Horizon and the cinder client documents the size paramater in
  gigabyes(GB) but the API docs(both v1 and v2) list the size units as
  gibibytes(GiB). The correct unit should be gigabytes(GB)

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1511167/+subscriptions