Change in ovirt-engine[master]: core: update vm quota when action happens outside
gchaplik at redhat.com
gchaplik at redhat.com
Mon Jul 23 13:53:11 UTC 2012
Gilad Chaplik has submitted this change and it was merged.
Change subject: core: update vm quota when action happens outside
......................................................................
core: update vm quota when action happens outside
Currently there is no way to monitor vm's quota when it's getting
stopped outside rhev, i.e. destroy vm in vdsClient or shutdown within the vm.
so to solve that, when vm status changes stops, we update the quota.
Change-Id: I610ee7caa57295b8418af2f29fcccaa463839a8d
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/StopVmCommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmPoolHandler.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/quota/QuotaManager.java
3 files changed, 21 insertions(+), 37 deletions(-)
Approvals:
Gilad Chaplik: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/6520
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I610ee7caa57295b8418af2f29fcccaa463839a8d
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
More information about the Engine-commits
mailing list