Change in ovirt-engine[master]: core: better excpetion logging of VdsExceptions

ofrenkel at redhat.com ofrenkel at redhat.com
Thu Dec 19 11:38:02 UTC 2013


Omer Frenkel has submitted this change and it was merged.

Change subject: core: better excpetion logging of VdsExceptions
......................................................................


core: better excpetion logging of VdsExceptions

host details are missing in case of communication errors.

so instead of this (no host details at all:

 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-66) Command GetCapabilitiesVDS execution
failed. Exception: VDSNetworkException: java.net.SocketTimeoutException:
connect timed out

it will look like this:

ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-15) Command
GetCapabilitiesVDSCommand(HostName = local-bmw, HostId =
4ad3ef8c-ee35-4853-8e49-9637fcef45e1, vds=Host[local-bmw]) execution
failed. Exception: VDSNetworkException: java.net.SocketTimeoutException:
connect timed out

Change-Id: Iae20330e5761b844a6725d5e84aaa4d05e3db728
Signed-off-by: Roy Golan <rgolan at redhat.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VDSCommandBase.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/22513
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iae20330e5761b844a6725d5e84aaa4d05e3db728
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list