Sahina Bose has uploaded a new change for review. Change subject: engine: Removed unwanted exception logging ......................................................................
engine: Removed unwanted exception logging Gluster task monitoring checks periodically for gluster tasks list from the cluster, and if there are no operational hosts in the cluster, an exception is logged. Removing the noise from this logging as it confuses the user. Change-Id: I9b24fe99a1cb66155a9ff24f149a20db32e76307 Bug-Url: https://bugzilla.redhat.com/1138128 Signed-off-by: Sahina Bose <sab...@redhat.com> (cherry picked from commit be0f7e8f506cec907f91cd2a393abdf5663594b6) --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/tasks/GlusterTasksService.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/40/33040/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/tasks/GlusterTasksService.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/tasks/GlusterTasksService.java index 8e98b65..f3c9d71 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/tasks/GlusterTasksService.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/tasks/GlusterTasksService.java @@ -27,7 +27,7 @@ VDS upServer = ClusterUtils.getInstance().getRandomUpServer(id); if (upServer == null) { log.info("No up server in cluster"); - throw new VdcBLLException(VdcBllErrors.NO_UP_SERVER_FOUND); + return null; } VDSReturnValue returnValue =runVdsCommand(VDSCommandType.GlusterTasksList, new VdsIdVDSCommandParametersBase(upServer.getId())); -- To view, visit http://gerrit.ovirt.org/33040 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9b24fe99a1cb66155a9ff24f149a20db32e76307 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Sahina Bose <sab...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches