Bug 754049

Summary: Debug message "Failed to query rootDSE" error is not helpful (in bll/src/main/java/org/ovirt/engine/core/bll/adbroker/GetRootDSE.java)
Product: [Retired] oVirt Reporter: Yaniv Kaul <ykaul>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, iheim, jkt, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-13 08:12:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Yaniv Kaul 2011-11-15 09:11:14 UTC
Description of problem:
From bll/src/main/java/org/ovirt/engine/core/bll/adbroker/GetRootDSE.java:

 68         } catch (NamingException e) {
 69             log.errorFormat("Failed to query rootDSE for LDAP server {0} due to {1}", ldapURI, e.getMessage());

But e.getMessage() for a NamingException is going to give you the ldaURI, so you end up getting something like:

"Failed to query rootDSE for LDAP server x.y.z due to x.y.z" 

which is not very helpful.

Version-Release number of selected component (if applicable):
last commit hash 0223b0cab604ad6fe9537338e9898ad3343271c0

How reproducible:


Steps to Reproduce:
1. Try to contact a LDAP server that is down.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Itamar Heim 2012-12-13 08:12:50 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.