GitHub user SudharmaJain opened a pull request: https://github.com/apache/cloudstack/pull/1734
CLOUDSTACK-9567 Difference in the api call outputs for CAPACITY_TYPE_⦠â¦CPU = 1 The total capacity reported listPods and listCapacity is different, ideally they have to be same http://10.223.59.69:8096/client/api?command=listPods&id=78c23ee6-c585-4065-a03c-08c15492c077&zoneid=48889c46-dd04-4a50-af06-8aad7ea46f61&showcapacities=true ``` <capacity> <type>1</type> <capacityused>1042980</capacityused> <capacitytotal>1621776</capacitytotal> <percentused>64.31</percentused> </capacity> ``` http://10.223.59.69:8096/client/api?command=listCapacity&podid=78c23ee6-c585-4065-a03c-08c15492c077&zoneid=48889c46-dd04-4a50-af06-8aad7ea46f61&type=1 ``` <listcapacityresponse cloud-stack-version="4.3.0.2"> <count>1</count> <capacity> <type>1</type> <zoneid>48889c46-dd04-4a50-af06-8aad7ea46f61</zoneid> <zonename>jp2-east01</zonename> <podid>78c23ee6-c585-4065-a03c-08c15492c077</podid> <podname>RG1-ck2ejo2-Pod11</podname> <capacityused>1042980</capacityused> <capacitytotal>2453456</capacitytotal> <percentused>42.51</percentused> </capacity> </listcapacityresponse> ``` The problem here was the query being used to fetch data. You can merge this pull request into a Git repository by running: $ git pull https://github.com/SudharmaJain/cloudstack cs-9567 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1734.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1734 ---- commit 4220d20f2d6633649b9b65c92f02b47ea09280c7 Author: Sudharma Jain <sudharma.j...@accelerite.com> Date: 2016-10-26T12:38:58Z CLOUDSTACK-9567 Difference in the api call outputs for CAPACITY_TYPE_CPU = 1 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---