Bug 53752 - s4c: initial sync of DC Primary fails in UCS@school multiserver
s4c: initial sync of DC Primary fails in UCS@school multiserver
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-09-06 14:41 CEST by Florian Best
Modified: 2021-09-06 14:42 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

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-09-06 14:41:41 CEST
06.09.2021 00:47:41.426 LDAP        (PROCESS): sync from ucs: [            dc] [       add] cn=master203,ou=Domain Controllers,DC=AUTOTEST203,DC=LOCAL
06.09.2021 00:47:41.436 LDAP        (PROCESS): sync_from_ucs: error during add, searching for conflicting deleted object in S4
06.09.2021 00:47:41.437 LDAP        (PROCESS): sync_from_ucs: no conflicting deleted object found
06.09.2021 00:47:41.440 LDAP        (WARNING): sync failed, saved as rejected
	/var/lib/univention-connector/s4/1630881212.226674
06.09.2021 00:47:41.440 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.CONSTRAINT_VIOLATION: {'desc': 'Constraint violation', 'info': '0000202F: ../../ldb_key_value/ldb_kv_index.c:3007: Failed to re-index objectSid in CN=master203,OU=Domain Controllers,DC=autotest203,DC=local - ../../ldb_key_value/ldb_kv_index.c:2852: unique index violation on objectSid in CN=master203,OU=Domain Controllers,DC=autotest203,DC=local'}

2 times in /var/log/univention/connector-s4.log:
https://jenkins.knut.univention.de:8181/job/UCSschool-5.0/job/Install%20Multiserver/Config=s4,TestGroup=base1,UCSRelease=public/ws/test/connector-s4.log
2 times in /var/log/univention/connector-s4.log:
https://jenkins.knut.univention.de:8181/job/UCSschool-5.0/job/Install%20Multiserver/Config=s4,TestGroup=base1,UCSRelease=testing/ws/test/connector-s4.log
2 times in /var/log/univention/connector-s4.log:
https://jenkins.knut.univention.de:8181/job/UCSschool-5.0/job/Install%20Multiserver/Config=s4-all-components,TestGroup=base1,UCSRelease=testing/ws/test/connector-s4.log
2 times in /var/log/univention/connector-s4.log:
https://jenkins.knut.univention.de:8181/job/UCSschool-5.0/job/Install%20Multiserver/Config=s4-all-components,TestGroup=base1,UCSRelease=public/ws/test/connector-s4.log