Bug 35719 - display error message instead of traceback when connection to LDAP server fails
display error message instead of traceback when connection to LDAP server fails
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.2
Other Linux
: P5 enhancement (vote)
: UCS 4.0-0-errata
Assigned To: Alexander Kramer
Florian Best
:
Depends on: 34244
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-27 10:46 CEST by Florian Best
Modified: 2015-01-08 13:59 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments
suggestion (1.41 KB, patch)
2014-12-03 12:49 CET, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2014-08-27 10:46:13 CEST
(In reply to Florian Best from Bug #34244 comment #9)
> We received also the following remark:
> der Fehler tritt auf, wenn das Dateisystem voll ist (zu viele Logdateien).
> Man kann sich dann nicht mehr bei der UMC anmelden, da der Fehler unten
> auftritt.

As we received that side note we could adapt the error message to also mention that the available/free disk size should be checked and give the hint to free resources (also RAM, ...) to minimize the load.

+++ This bug was initially created as a clone of Bug #34244 +++

We received multiple tracebacks that the LDAP Server can not be contacted.

Instead of a traceback a meaningful message should be shown.
The exception could be catched in the module loading of UMC.

LDAP_ConnectionError: Opening LDAP connection failed: {'desc': "Can't contact LDAP
server"}
Comment 1 Alexander Kramer univentionstaff 2014-11-28 12:55:57 CET
r56288
univention-management-console-module-udm (5.1.25-3) 
* Bug #35719: Adapted the error message
5.1.25-3.513.201411281246

r56290 yaml file
Comment 2 Florian Best univentionstaff 2014-11-28 13:20:52 CET
* On a DC slave now the message "Check the available hard disk space and RAM on the domaincontroller master" occurs.
* Not everybody knows what RAM is. Please use a more common term like memory/etc.

Maybe something like:
Make sure enough disk space and free memory is available [if-non-master] on this system and the domaincontoller master[/if-non-master].
Comment 3 Florian Best univentionstaff 2014-12-03 12:49:24 CET
Created attachment 6496 [details]
suggestion
Comment 4 Alexander Kramer univentionstaff 2014-12-08 12:32:07 CET
r56548
univention-management-console-module-udm (5.1.25-7) 
* Bug #35719: Adapted error message

Successful build
Package: univention-management-console-module-udm
Version: 5.1.25-7.517.201412081223

r56551 yaml file
Comment 5 Florian Best univentionstaff 2014-12-10 15:46:39 CET
Fix: OK [de|en]
YAML: OK
Comment 6 Janek Walkenhorst univentionstaff 2015-01-08 13:59:53 CET
http://errata.univention.de/ucs/4.0/18.html