Maor Lipchuk has posted comments on this change. Change subject: core:(WIP) Use storage validator when adding a new VM ......................................................................
Patch Set 1: (1 inline comment) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmCommand.java Line 172: reasons.add(VdcBllMessages.ACTION_TYPE_FAILED_STORAGE_POOL_NOT_MATCH.toString()); Line 173: returnValue = false; Line 174: } else { Line 175: for (storage_domains domain : destStorages) { Line 176: if (validate(new StorageDomainValidator(getStorageDomain()).isDomainWithinThresholds())) { true, will change Line 177: return false; Line 178: } Line 179: if (!StorageDomainSpaceChecker.hasSpaceForRequest(domain, Line 180: getNeededDiskSize(domain.getId()))) { -- To view, visit http://gerrit.ovirt.org/11512 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6ee28506dec042fe60e9691d41458ad54a83b2f0 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches