GitHub user rashmidixit reopened a pull request: https://github.com/apache/cloudstack/pull/1819
CLOUDSTACK-9653 The system capacity was not getting calculated correctly When listCapacity is used with the sortBy=usage option, the capacity was not getting calculated correctly. Root Cause: The group by options for pod and zone was incorrectly specified. Results were additionally added up. Result was incorrect. Once the correct group by clause is specified, only the results of the query need to be returned. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Accelerite/cloudstack ListCapacityIssue Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1819.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 #1819 ---- commit 97b6b117e1448115613318aef1679ac00c93375e Author: rashmidixit <rashmi_di...@persistent.co.in> Date: 2016-12-05T08:55:27Z The system capacity was not getting calculated correctly ---- --- 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. ---