Univention Bugzilla – Bug 38634
LDAP_ConnectionError in UVMM
Last modified: 2017-10-23 16:44:01 CEST
We received the following traceback, 4.0-2 errata194 (Walle). If the LDAP-Server is down UVMM shows the traceback. Remark: Dieser Fehler tritt unter anderem auf, seitdem OX App Suite deinstalliert wurde. Weitere Fehler nach der Deinstallation von OX App Suite: Mail heißt immer noch OX Mail, Resourcen heißt immer noch OX Resources, slapd lässt sich nicht mehr starten, uvmm lässt sich nicht mehr starten, dhcp lässt sich nicht mehr starten Traceback (3995ffb4080fcbcc810f81fef38dac47): Traceback (most recent call last): File "%PY2.7%/univention/management/console/protocol/modserver.py", line 266, in handle self.__handler.init() File "%PY2.7%/univention/management/console/modules/uvmm/__init__.py", line 65, in init self.read_profiles() File "%PY2.7%/univention/management/console/modules/uvmm/udm.py", line 79, in wrapper_func raise LDAP_ConnectionError('Opening LDAP connection failed: %s' % (ex,)) LDAP_ConnectionError: Opening LDAP connection failed: {'desc': "Can't contact LDAP server"} Maybe we can merge the new error handling from UDM to UVMM. Some errors are also better handled by the UMC-Server directly since errata199.
*** Bug 34679 has been marked as a duplicate of this bug. ***
Created attachment 7312 [details] patch Reported again, 4.0-4 errata363 (Walle) Patch which replaces the LDAP_Connection class (which is only used once) by the UMC ldap decorators and replaces therefore the error handling by the one by UMC which will show a friendly error message that the LDAP server is currently not running.
Reported again, 4.1-1 errata136 (Vahr) Remark: erneutes installieren von tine2.0
Reported again, 4.1-2 errata183 (Vahr)
Reported again, 4.0-2 errata216 (Walle)
Reported again, 4.1-3 errata262 (Vahr) Remark: Wir können auch nicht mehr auf das LDAP zugreifen! Der Fehler trat nach einer Paketaktualisierung auf.
Patch applied. Error contacting the LDAP Server now show the generic message from the UMC-Server. Every other error passes also the error-handling function of the UMC-Server. Errors in thread-callbacks doesn't cause the whole process to crash but will respond with the traceback. r72908 | Changelog Bug #38634 univention-virtual-machine-manager-daemon (6.0.0-4): r72907 | Bug #38634: use generic error handling from UMC
Reported again, 4.1-3 errata313 (Vahr)
OK: r72908 r72907 OK: umc-command uvmm/profile/query -U Administrator -P univention OK: 1. login to UMC 2. stop slapd 3. open UVMM UMC module old: said traceback new: >Internal server error: The service is temporarily not available. > >Server error message: > >Konnte nicht zum LDAP-Dienst verbinden. >Die folgenden Schritte können helfen, das Problem zu beheben: >* Überprüfen Sie, ob auf diesem Server genügend Festplattenspeicher und Arbeitsspeicher (RAM) verfügbar sind >* Starten Sie den LDAP-Dienst entweder über "service slapd restart" per Kommandozeile oder mit dem UMC Modul "Systemdienste" auf dem Domänencontroller Master neu >* Installieren Sie alle Softwareaktualisierungen TODO: Cannot do a complete QA, as UMC-UVMM is currently very broken for me - probably caused by dgrid (Bug #32027 et al.)
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".
Reported again, 4.1-4 errata478 (Vahr)