Incorrect volume unit shown with CLI

Bug #1636332 reported by Ying Zuo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Won't Fix
Undecided
Unassigned

Bug Description

When the user uses the Cinder CLI, it's easy to assume the size unit of volume is gigabyte by looking at the property name. The quota-show command below is an example. http://docs.openstack.org/newton/config-reference/block-storage/nested-quota.html

$ cinder quota-show TENANT_ID
+-----------------------+-------+
| Property | Value |
+-----------------------+-------+
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_lvmdriver-1 | -1 |
| per_volume_gigabytes | -1 |
| snapshots | 10 |
| snapshots_lvmdriver-1 | -1 |
| volumes | 10 |
| volumes_lvmdriver-1 | -1 |
+-----------------------+-------+

However, according to the description of the property on the Cinder API documentation, the unit for volume is actually gibibyte. http://developer.openstack.org/api-ref/block-storage/v2/index.html?expanded=show-absolute-limits-detail#limits-limits

To avoid the confusion, the property names for volume size should include gibibytes, not gigabytes.

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

This has been raised before, but due to backwards compatibilty concerns we will not fix it.

Changed in cinder:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.