Change in ovirt-engine[master]: restapi: Tolerate invalid fencing options

juan.hernandez at redhat.com juan.hernandez at redhat.com
Sun Apr 3 09:33:25 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Tolerate invalid fencing options
......................................................................


restapi: Tolerate invalid fencing options

Currently the parsing of fencing options fails when there is any error
in the configuration parameters that contain then. This produces a
complete failure of the capabilities resource. To avoid that
complete failure this patch changes that code so that it logs
errors and continues.

Change-Id: I5901fa82972cbe13245c5212451f288b077369d0
Bug-Url: https://bugzilla.redhat.com/1322923
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/util/FenceOptionsParser.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/util/FenceOptionsParserTest.java
2 files changed, 38 insertions(+), 13 deletions(-)

Approvals:
  Eli Mesika: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests
  Oved Ourfali: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/55571
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5901fa82972cbe13245c5212451f288b077369d0
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list