kioie opened a new issue #3456: Memory Used is incorrect
URL: https://github.com/apache/cloudstack/issues/3456
 
 
   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.11+
   ~~~
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   Memory metrics for VMs seems to be reporting incorrect info.
   When you run the `list virtualmachines` command, the results return values 
that are not correct
   ![Screen Shot 2019-07-02 at 12 03 29 
PM](https://user-images.githubusercontent.com/20902920/60500584-457ebb80-9cc3-11e9-8f16-afb389e8845c.png)
   
   According to the 
[listVirtualMachines](https://cloudstack.apache.org/api/apidocs-4.12/apis/listVirtualMachines.html)
 api doc, the `memorykbs` should report `the memory used by the vm` and the 
`memorytargetkbs` should report `the target memory in vm` . Both values cannot 
be the same
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   list virtualmachines
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   memorykbs should report `the memory used by the vm`
   `memorytargetkbs` should report `the target memory in vm`
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
    Both produce the same results
   
   "memorykbs": 1048576,
   "memorytargetkbs": 1048576,
   ~~~
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to