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

tnisan at redhat.com tnisan at redhat.com
Sun Apr 3 11:04:25 UTC 2016


Tal Nisan 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, 40 insertions(+), 15 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5901fa82972cbe13245c5212451f288b077369d0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
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: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list