Univention Bugzilla – Attachment 8940 Details for
Bug 44670
UDM module initialization: SERVER_DOWN: {'desc': "Can't contact LDAP server"}
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
44670.patch (text/plain), 1.44 KB, created by
Florian Best
on 2017-06-20 13:09:54 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-06-20 13:09:54 CEST
Size:
1.44 KB
patch
obsolete
>diff --git a/management/univention-management-console/src/univention/management/console/protocol/modserver.py b/management/univention-management-console/src/univention/management/console/protocol/modserver.py >index 8f6e7fb..c63ecf1 100644 >--- a/management/univention-management-console/src/univention/management/console/protocol/modserver.py >+++ b/management/univention-management-console/src/univention/management/console/protocol/modserver.py >@@ -207,10 +207,6 @@ def error_handling(self, request, method, etype, exc, etraceback): > exc = UMC_Error(error, status=MODULE_ERR_INIT_FAILED) > etype = UMC_Error > >- self.__init_etype = etype >- self.__init_exc = exc >- self.__init_etraceback = etraceback >- > resp = Response(request) > resp.status = exc.status > resp.message = str(exc) >@@ -246,7 +242,7 @@ def handle(self, msg): > notifier.timer_add(shutdown_timeout, self._timed_out) > return > >- if not self.__handler: >+ if self.__init_etype: > notifier.timer_add(10000, self._timed_out) > raise self.__init_etype, self.__init_exc, self.__init_etraceback > >@@ -290,8 +286,12 @@ def handle(self, msg): > try: > self.__handler.init() > except BaseException: >- self.__handler = None >- raise >+ etype, exc, etraceback = sys.exc_info() >+ self.__init_etype = etype >+ self.__init_exc = exc >+ self.__init_etraceback = etraceback >+ self.error_handling(msg, 'init', *sys.exc_info()) >+ return > > self.response(resp) > return
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44670
:
8937
| 8940