Bug 53334 - S4-Connector: Cannot add cn=user,cn={39797a0f-7538-43ea-b46b-7922d2a9eb45},cn=policies,cn=system,DC=autotest075,DC=local
S4-Connector: Cannot add cn=user,cn={39797a0f-7538-43ea-b46b-7922d2a9eb45},cn...
Status: NEW
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-26 14:55 CEST by Florian Best
Modified: 2021-05-26 14:55 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
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
connector-s4.log (1.81 MB, text/x-log)
2021-05-26 14:55 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 2021-05-26 14:55:19 CEST
Created attachment 10739 [details]
connector-s4.log

We are seeing 240 times the below tracebacks in /var/log/univention/connector-s4.log during a Jenkins run on a DC Slave. The S4-Connector runs on the DC Master:

https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/job/AutotestUpgrade/SambaVersion=s4,Systemrolle=slave/ws/test/master/connector-s4.log

26.05.2021 05:18:08.991 LDAP        (PROCESS): sync from ucs: [     container] [       add] cn=user,cn={39797a0f-7538-43ea-b46b-7922d2a9eb45},cn=policies,cn=system,DC=autotest075,DC=local
26.05.2021 05:18:08.996 LDAP        (ERROR  ): sync_from_ucs: traceback during add object: cn=user,cn={39797a0f-7538-43ea-b46b-7922d2a9eb45},cn=policies,cn=system,DC=autotest075,DC=local
26.05.2021 05:18:08.996 LDAP        (ERROR  ): sync_from_ucs: traceback due to addlist: [('objectClass', [b'top', b'container']), ('cn', [b'User'])]
26.05.2021 05:18:08.998 LDAP        (WARNING): sync failed, saved as rejected
	/var/lib/univention-connector/s4/1621999082.907198
26.05.2021 05:18:09.000 LDAP        (WARNING): Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/s4connector/__init__.py", line 822, in __sync_file_from_ucs
    if not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, old, new):
  File "/usr/lib/python3/dist-packages/univention/s4connector/s4/__init__.py", line 2122, in sync_from_ucs
    self.lo_s4.lo.add_ext_s(object['dn'], addlist, serverctrls=ctrls)
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 414, in add_ext_s
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "/usr/lib/python3/dist-packages/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.NO_SUCH_OBJECT: {'desc': 'No such object', 'info': '00002030: objectclass: Cannot add cn=user,cn={39797a0f-7538-43ea-b46b-7922d2a9eb45},cn=policies,cn=system,DC=autotest075,DC=local, parent does not exist!'}

26.05.2021 05:18:09.002 LDAP        (PROCESS): sync from ucs: [     container] [       add] cn=machine,cn={39797a0f-7538-43ea-b46b-7922d2a9eb45},cn=policies,cn=system,DC=autotest075,DC=local
26.05.2021 05:18:09.005 LDAP        (ERROR  ): sync_from_ucs: traceback during add object: cn=machine,cn={39797a0f-7538-43ea-b46b-7922d2a9eb45},cn=policies,cn=system,DC=autotest075,DC=local
26.05.2021 05:18:09.005 LDAP        (ERROR  ): sync_from_ucs: traceback due to addlist: [('objectClass', [b'top', b'container']), ('cn', [b'Machine'])]
26.05.2021 05:18:09.007 LDAP        (WARNING): sync failed, saved as rejected
	/var/lib/univention-connector/s4/1621999082.942272
26.05.2021 05:18:09.007 LDAP        (WARNING): Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/s4connector/__init__.py", line 822, in __sync_file_from_ucs
    if not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, old, new):
  File "/usr/lib/python3/dist-packages/univention/s4connector/s4/__init__.py", line 2122, in sync_from_ucs
    self.lo_s4.lo.add_ext_s(object['dn'], addlist, serverctrls=ctrls)
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 414, in add_ext_s
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 749, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 756, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 329, in _ldap_call
    reraise(exc_type, exc_value, exc_traceback)
  File "/usr/lib/python3/dist-packages/ldap/compat.py", line 44, in reraise
    raise exc_value
  File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 313, in _ldap_call
    result = func(*args,**kwargs)
ldap.NO_SUCH_OBJECT: {'desc': 'No such object', 'info': '00002030: objectclass: Cannot add cn=machine,cn={39797a0f-7538-43ea-b46b-7922d2a9eb45},cn=policies,cn=system,DC=autotest075,DC=local, parent does not exist!'}