[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gaurav Aradhye updated CLOUDSTACK-6446:
---------------------------------------

    Description: 
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.

  was:
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 KBs 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 KBs.


> [Enhancement] Primary and secondary storage counts should be specified in 
> Bytes 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)

Reply via email to