Bug 45110 - Joinscript 15univention-heimdal-kdc.inst hangs forever in univention-dnsedit
Joinscript 15univention-heimdal-kdc.inst hangs forever in univention-dnsedit
Status: CLOSED DUPLICATE of bug 39539
Product: UCS
Classification: Unclassified
Component: Join (univention-join)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-01 13:33 CEST by Florian Best
Modified: 2023-03-25 06:41 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling
Max CVSS v3 score:


Attachments
join.log (538.17 KB, text/x-log)
2017-08-01 13:33 CEST, Florian Best
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2017-08-01 13:33:07 CEST
Created attachment 9082 [details]
join.log

univention-run-join-scripts hangs:

root      1644  0.0  0.0  15124  3392 ?        Ss   Jul31   0:00  |   \_ bash -c . utils.sh; run_join_scripts
root      1647  0.0  0.0  15504  3848 ?        S    Jul31   0:00  |       \_ /bin/bash /usr/sbin/univention-run-join-scripts
root     15084  0.0  0.0   4468  1604 ?        S    04:15   0:00  |           \_ /bin/sh /usr/lib/univention-install/15univention-heimdal-kdc.inst
root     15203  0.0  4.7 503164 184456 ?       S    04:15   0:08  |               \_ /usr/bin/python2.7 /usr/share/univention-directory-manager-tools/univention-dnsedit --ignore-exists autotest201.local add txt _kerberos AUTOTEST201.LOCAL

The log is full of:
/usr/share/univention-admin-tools/univention-dnsedit: timeout while trying to contact LDAP server master201.autotest201.local

Traceback (most recent call last):
  File "/usr/share/univention-admin-tools/univention-dnsedit", line 403, in <module>
    main()
  File "/usr/share/univention-admin-tools/univention-dnsedit", line 354, in main
    lo, position = bind()
  File "/usr/share/univention-admin-tools/univention-dnsedit", line 155, in bind
    return bind()  # recursion
  File "/usr/share/univention-admin-tools/univention-dnsedit", line 155, in bind
    return bind()  # recursion
…
  File "/usr/share/univention-admin-tools/univention-dnsedit", line 141, in bind
    lo, position = uldap.getAdminConnection(start_tls)
  File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 141, in getAdminConnection
    lo = univention.uldap.getAdminConnection(start_tls, decode_ignorelist=decode_ignorelist)
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 60, 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 152, in __init__
    self.__open(ca_certfile)
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 187, in __open
    self.lo = ldap.ldapobject.ReconnectLDAPObject(self.uri, trace_stack_limit=None, retry_max=self.client_connection_attempt, retry_delay=1)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 773, in __init__
    SimpleLDAPObject.__init__(self,uri,trace_level,trace_file,trace_stack_limit)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 79, in __init__
    self.protocol_version = ldap.VERSION3
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 125, in __setattr__
    self.set_option(self.CLASSATTR_OPTION_MAPPING[name],value)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 871, in set_option
    return SimpleLDAPObject.set_option(self,option,invalue)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 614, in set_option
    return self._ldap_call(self._l.set_option,option,invalue)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 92, in _ldap_call
    self._ldap_object_lock.acquire()
RuntimeError: maximum recursion depth exceeded
Comment 1 Florian Best univentionstaff 2017-08-01 13:33:50 CEST
UCS 4.2-0
Comment 2 Philipp Hahn univentionstaff 2017-08-18 10:21:35 CEST

*** This bug has been marked as a duplicate of bug 39539 ***
Comment 3 Florian Best univentionstaff 2017-08-22 16:49:22 CEST
Yes, duplicate.