Gilad Chaplik has submitted this change and it was merged.
Change subject: core: Fix quota not counted when run VM from pool
......................................................................
core: Fix quota not counted when run VM from pool
When running VM from a VM-pool the quota (CPU, Memory) was not counted.
The reason was that AttachUserToVmFromPoolAndRunCommand was not
QuotaVdsDependant.
AttachUserToVmFromPoolAndRunCommand was changed to implement
QuotaVdsDependant.
Change-Id: Iafcdf2462de9a2f8bb4132af9173f5ed4ead47cf
Bug-Url:
https://bugzilla.redhat.com/953118
Signed-off-by: Ofri Masad <omasad(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AttachUserToVmFromPoolAndRunCommand.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java
2 files changed, 34 insertions(+), 8 deletions(-)
Approvals:
ofri masad: Verified
Gilad Chaplik: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/14098
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iafcdf2462de9a2f8bb4132af9173f5ed4ead47cf
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ofri masad <omasad(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: ofri masad <omasad(a)redhat.com>