Bug 34679 - Traceback when LDAP server is (temporarily) down
Traceback when LDAP server is (temporarily) down
Status: CLOSED DUPLICATE of bug 38634
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-x
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-29 10:55 CEST by Dirk Wiesenthal
Modified: 2023-06-28 10:46 CEST (History)
2 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

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2014-04-29 10:55:28 CEST
Not being able to connect to LDAP while the application depends on that is really something that should raise an exception.

That being said, we received a traceback feedback (probably LDAP was restarted at this very moment):

 Traceback:
The init function of the module has failed: LDAP_ConnectionError: Opening LDAP connection
failed: {'desc': "Can't contact LDAP server"}
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/modserver.py",
line 228, in handle
    self.__handler.init()
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/uvmm/__init__.py",
line 66, in init
    self.read_profiles()
  File "/usr/lib/pymodules/python2.6/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"}


Remark:
Upgrading SugarCRM Community Edition
93%
filter: (objectClass=digitecSugarCRM)
Comment 1 Dirk Wiesenthal univentionstaff 2014-07-28 16:05:31 CEST
Reported again
Comment 2 Dirk Wiesenthal univentionstaff 2014-07-28 17:52:40 CEST
(In reply to Dirk Wiesenthal from comment #1)
> Reported again

Remark:
Delete several OUs at once.

So maybe this can happen when LDAP is very busy?
Comment 3 Dirk Wiesenthal univentionstaff 2014-07-28 17:57:30 CEST
(In reply to Dirk Wiesenthal from comment #2)
> (In reply to Dirk Wiesenthal from comment #1)
> > Reported again
> 

Oh, forgot to mention, this was a different Traceback, not UVMM but UDM. Can't contact LDAP server when it is very busy? So maybe LDAP was not restarted at this moment, just a heavy load on the server.

 Traceback:
  File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line
971, in _thread
    for module, obj in list_objects( container, object_type = object_type ):
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line
170, in wrapper_func
    raise LDAP_ConnectionError( 'Opening LDAP connection failed: %s' % str( e ) )

LDAP_ConnectionError: Opening LDAP connection failed: {'desc': "Can't contact LDAP
server"}
Comment 4 Stefan Gohmann univentionstaff 2014-07-28 22:05:15 CEST

*** This bug has been marked as a duplicate of bug 35254 ***
Comment 5 Florian Best univentionstaff 2015-01-05 11:14:15 CET
Reported again, 3.2-4 errata260 (Borgfeld)
Comment 6 Florian Best univentionstaff 2015-11-18 00:31:50 CET

*** This bug has been marked as a duplicate of bug 38634 ***