Bug 52356 - Activation of LDAP extension is lost due to ldap.SERVER_DOWN
Activation of LDAP extension is lost due to ldap.SERVER_DOWN
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-11-12 11:28 CET by Florian Best
Modified: 2020-11-12 11:28 CET (History)
0 users

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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2020-11-12 11:28:07 CET
12.11.20 00:18:18.779  LISTENER    ( PROCESS ) : updating 'cn=app_syntax,cn=udm_syntax,cn=univention,dc=AutoTest071,dc=local' command m
12.11.20 00:18:18.783  LISTENER    ( PROCESS ) : updating 'cn=appcenter/app,cn=udm_module,cn=univention,dc=AutoTest071,dc=local' command m

Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/ldap_extension.py", line 97, in postrun
    handler_object.mark_active()
  File "/usr/lib/pymodules/python2.7/univention/lib/ldap_extension.py", line 362, in mark_active
    lo, ldap_position = udm_uldap.getAdminConnection()
  File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 155, in getAdminConnection
    lo = univention.uldap.getAdminConnection(start_tls, decode_ignorelist=decode_ignorelist)
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 74, in getAdminConnection
    return access(host=ucr['ldap/master'], port=port, base=ucr['ldap/base'], binddn='cn=admin,' + ucr['ldap/base'], bindpw=bindpw, start_tls=start_tls, decode_ignorelist=decode_ignorelist, reconnect=reconnect)
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 166, in __init__
    self.__open(ca_certfile)
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 216, in __open
    self.lo.start_tls_s()
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 954, in start_tls_s
    res = self._apply_method_s(SimpleLDAPObject.start_tls_s,*args,**kwargs) 
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 935, in _apply_method_s
    self.reconnect(self._uri,retry_max=self._retry_max,retry_delay=self._retry_delay)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 911, in reconnect
    raise e
ldap.SERVER_DOWN: {'desc': "Can't contact LDAP server"}