Change in ovirt-engine[master]: core: Add log for error on run-vm failure

rgolan at redhat.com rgolan at redhat.com
Sun Aug 4 14:12:15 UTC 2013


Roy Golan has submitted this change and it was merged.

Change subject: core: Add log for error on run-vm failure
......................................................................


core: Add log for error on run-vm failure

In most cases, when running vm fails there is re-run.
when there is an error in the create process (for example before
createVmVdsCommand is called), the error is not logged anywhere.

This patch adds a log to this error,
also remove the word "VDSM" from the exception message,
unfortunately its not always vdsm fault.

Change-Id: Ia936fee01fa781eff5d5b3959ae6478129c2a136
Signed-off-by: Omer Frenkel <ofrenkel at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/VdcBLLException.java
2 files changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Roy Golan: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia936fee01fa781eff5d5b3959ae6478129c2a136
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas 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