GitHub user ustcweizhou opened a pull request: https://github.com/apache/cloudstack/pull/1182
CLOUDSTACK-9113: skip vm with inconsistent state when getVmStats/getVmDiskStats on KVM, if there is a vm has inconsistent state between hypervisor and db, the getVmStat will terminate and return null, all vm stats will not be updated. we should skip the vm which has inconsistent state, and continue on others. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ustcweizhou/cloudstack CLOUDSTACK-9113-getVmStats Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1182.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 #1182 ---- commit 24edf1c1e4892b2f34b334b6e6fa13364bc413e2 Author: Wei Zhou <w.z...@tech.leaseweb.com> Date: 2015-12-07T11:02:43Z CLOUDSTACK-9113: skip vm with inconsistent state when getVmStats/getVmDiskStats ---- --- 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. ---