Bug 35719

Summary: display error message instead of traceback when connection to LDAP server fails
Product: UCS Reporter: Florian Best <best>
Component: UMC (Generic)Assignee: Alexander Kramer <kramer>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: enhancement    
Priority: P5 CC: gohmann, klaeser, walkenhorst, wiesenthal
Version: UCS 3.2   
Target Milestone: UCS 4.0-0-errata   
Hardware: Other   
OS: Linux   
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:
Bug Depends on: 34244    
Bug Blocks:    
Attachments: suggestion

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