cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingärtner (JIRA) <>
Subject [jira] [Resolved] (CLOUDSTACK-6009) cloudstack presenting wrong used memory values
Date Fri, 03 Mar 2017 15:16:45 GMT


Rafael Weingärtner resolved CLOUDSTACK-6009.
    Resolution: Fixed

> cloudstack presenting wrong used memory values
> ----------------------------------------------
>                 Key: CLOUDSTACK-6009
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Rafael Weingärtner
>            Priority: Minor
> Hi folks, I have sent an e-mail about this issue. And I was hoping to discuss it before
I opened a jira ticket. However, no one seemed to care about it.
> So, here is the problem:
> There is a wrong value being presented on infrastructure > Hosts.
> The data used to present on statistics tab is got from "listHosts" API method:
> “listHosts” is the method which returns those values about the host (mem, cpu and
>  It returns these values about the host’s memory: 
> memoryallocated	the amount of the host's memory currently allocated
> memorytotal	the memory total of the host
> memoryused	the amount of the host's memory currently used
> The API Doc does not say the metric used on those values. But, I took a look at the CS
source code. And it turned out that the first two values are given in bytes, while the third
one is given in KB and that is why that value looks so small when presented on statistics
tab. It is not being converted in a proper way on the UI.

This message was sent by Atlassian JIRA

View raw message