Doron Fediuck has submitted this change and it was merged.
Change subject: engine: add qouta mode check in consume storage
......................................................................
engine: add qouta mode check in consume storage
Problem: When qouta mode is set to audit, error "no qouta" on storage
was returned
Solution: In checkConsumptionForSpecificStorageQuota we did not make
sure that qouta was set to enforce before returning an error.
Change-Id: I21cc59098ede7044ebde1d544e295300d8b40cb7
Bug-Url:
https://bugzilla.redhat.com/906485
Signed-off-by: Noam Slomianko <nslomian(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/quota/QuotaManager.java
1 file changed, 8 insertions(+), 4 deletions(-)
Approvals:
Doron Fediuck: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/12049
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I21cc59098ede7044ebde1d544e295300d8b40cb7
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Noam Slomianko <nslomian(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Noam Slomianko <nslomian(a)redhat.com>
Gerrit-Reviewer: liron aravot <liron.aravot(a)gmail.com>
Gerrit-Reviewer: ofri masad <omasad(a)redhat.com>