[ https://issues.apache.org/jira/browse/CLOUDSTACK-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Tripathi updated CLOUDSTACK-6446: ---------------------------------------- Affects Version/s: (was: 4.3.0) 4.4.0 > [Enhancement] Primary and secondary storage counts should be returned in > Bytes in listing APIs rather than GBs > -------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-6446 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6446 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API > Affects Versions: 4.4.0 > Environment: All hypervisors > Reporter: Gaurav Aradhye > Assignee: Sanjay Tripathi > Labels: automation > Fix For: 4.5.0 > > > The APIs listing the primary and secondary storage counts show the count in > GB. In case when the resource usage is much smaller, in KBs or MBs, it is > being shown as 0 GB. > Rather than listing this in GBs, it should be shown in Bytes just like "size" > of any resource is listed in KBs. > We can later convert this into any other unit we want, e.g. if UI wants to > show that in GB, it can convert it into GB and then display. > For test cases purpose, it's very important that exact count is shown in > Bytes. -- This message was sent by Atlassian JIRA (v6.2#6252)