Omer Frenkel has submitted this change and it was merged.
Change subject: engine: Correct error message on diskless VM run
......................................................................
engine: Correct error message on diskless VM run
Display correct error message when a diskless VM is run on a cluster
with no valid hosts instead of Internal Engine Error.
VmRunHandler.canRunVm now checks if there are available hosts in the
cluster even if the VM has no disks.
Change-Id: I8b346b341cbe3a84b32dff32d14b12aa80c17881
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=908397
Signed-off-by: Martin Betak <mbetak(a)redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmRunHandler.java
1 file changed, 13 insertions(+), 13 deletions(-)
Approvals:
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/12210
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8b346b341cbe3a84b32dff32d14b12aa80c17881
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Beták <mbetak(a)redhat.com>
Gerrit-Reviewer: Martin Beták <mbetak(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>