cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ustcweizhou <...@git.apache.org>
Subject [GitHub] cloudstack issue #1857: CLOUDSTACK-8284: On expunge VM, initiate resource co...
Date Fri, 17 Feb 2017 07:30:28 GMT
Github user ustcweizhou commented on the issue:

    https://github.com/apache/cloudstack/pull/1857
  
    @adwaitpatankar this is because _resourceLimitMgr.recalculateResourceCount only recalculate
the resource count on account(if accountid is set), or domain (if accountid is not set), not
both account/domain.
    
    We have this issue before, it is fixed by replacing _resourceLimitMgr.recalculateResourceCount
with
    {code}
                    _resourceLimitMgr.decrementResourceCount(vm.getAccountId(), ResourceType.primary_storage,
rootVol.get(0).isDisplay(), new Long(rootVol.get(0).getSize()));
    {code}


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message