[
https://issues.apache.org/jira/browse/CLOUDSTACK-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13973959#comment-13973959
]
Sanjay Tripathi commented on CLOUDSTACK-6446:
---------------------------------------------
OK then, i'll fix it to return all the sizes in bytes. In this case, i also
have to make corresponding UI changes.
> [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.3.0
> Environment: All hypervisors
> Reporter: Gaurav Aradhye
> Labels: automation
> Fix For: 4.4.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)