cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Aradhye (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6446) [Enhancement] Primary and secondary storage counts should be returned in Bytes in listing APIs rather than GBs
Date Fri, 18 Apr 2014 08:52:16 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13973900#comment-13973900
] 

Gaurav Aradhye commented on CLOUDSTACK-6446:
--------------------------------------------

I am suggesting a change only in the APIs which fetch data from DB and do no insert operation.
Only the List APIs can be modified.
Does current implementation store the size in GB itself in the database? I believe it is storing
in bytes and converting to GB while listing.

Also, right now, the size of template is returned in bytes. I expect list APIs to return the
values in same format.

> [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)

Mime
View raw message