Sharad Mishra has uploaded a new change for review. Change subject: engine: Allow to iterate over remaining ldap servers on NullPointerException. ......................................................................
engine: Allow to iterate over remaining ldap servers on NullPointerException. When engine-manage-domain is run to add ldap server, current code finds all ldap servers in the domain and then finds guid on each. In some cases it gets NullPointerException because the "uniqueId" is not found. In those cases we currently go to the default "Exception" and break out of ldap server loop. In my view, we should log/print the message and continue to serve the loop. This patch is based on http://gerrit.ovirt.org/#/c/4439/2. Since now we have support for ITDS, the original patch has been updated. Change-Id: Iaf89ef5d423cde2e420d6196b38506a23416abb8 Signed-off-by: Sharad Mishra <snmis...@linux.vnet.ibm.com> --- M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/JndiAction.java 1 file changed, 25 insertions(+), 16 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/48/5148/1 -- To view, visit http://gerrit.ovirt.org/5148 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaf89ef5d423cde2e420d6196b38506a23416abb8 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sharad Mishra <snmis...@linux.vnet.ibm.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches