Bug 754049 - Debug message "Failed to query rootDSE" error is not helpful (in bll/src/main/java/org/ovirt/engine/core/bll/adbroker/GetRootDSE.java)
Summary: Debug message "Failed to query rootDSE" error is not helpful (in bll/src/main...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: lpeer
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-15 09:11 UTC by Yaniv Kaul
Modified: 2013-07-04 02:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-13 08:12:50 UTC
oVirt Team: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.