Incorrect volume unit shown with CLI
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://
$ cinder quota-show TENANT_ID
+------
| Property | Value |
+------
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_
| per_volume_
| snapshots | 10 |
| snapshots_
| 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://
To avoid the confusion, the property names for volume size should include gibibytes, not gigabytes.
This has been raised before, but due to backwards compatibilty concerns we will not fix it.