Bug 47443 - Replication of master dc fails (rejected)
Replication of master dc fails (rejected)
Status: CLOSED DUPLICATE of bug 40419
Product: UCS@school
Classification: Unclassified
Component: Samba 4 - Slave PDC
UCS@school 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-02 13:02 CEST by Jürn Brodersen
Modified: 2023-06-12 15:39 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
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 Jürn Brodersen univentionstaff 2018-08-02 13:02:55 CEST
This error seems to happen every time a school slave joins:
http://jenkins.knut.univention.de:8080/job/UCSschool-4.3/job/Install%20Multiserver/Config=s4,TestGroup=base1/ws/test/slave2032/connector-s4.log

'''
02.08.2018 00:32:18,309 LDAP        (PROCESS): sync from ucs: [            dc] [       add] cn=master203,ou=Domain Controllers,DC=AUTOTEST203,DC=LOCAL
02.08.2018 00:32:18,316 LDAP        (PROCESS): sync_from_ucs: error during add, searching for conflicting deleted object in S4
02.08.2018 00:32:18,317 LDAP        (PROCESS): sync_from_ucs: no conflicting deleted object found
02.08.2018 00:32:18,321 LDAP        (WARNING): sync failed, saved as rejected
	/var/lib/univention-connector/s4/1533162059.825433
02.08.2018 00:32:18,321 LDAP        (WARNING): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 898, in __sync_file_from_ucs
    if ((old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, unicode(old_dn, 'utf8'), old, new)) or (not old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, old, new))):
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/__init__.py", line 2550, in sync_from_ucs
    self.lo_s4.lo.add_ext_s(compatible_modstring(object['dn']), compatible_addlist(addlist), serverctrls=ctrls)  # FIXME encoding
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 195, in add_ext_s
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 514, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 521, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call
    result = func(*args,**kwargs)
ALREADY_EXISTS: {'info': '00002071: ../ldb_tdb/ldb_index.c:1339: Failed to re-index objectSid in CN=master203,OU=Domain Controllers,DC=autotest203,DC=local - ../ldb_tdb/ldb_index.c:1259: unique index violation on objectSid in CN=master203,OU=Domain Controllers,DC=autotest203,DC=local', 'desc': 'Already exists'}
'''

This doesn't seem to actually break anything but having s4 rejects on a fresh system isn't really a nice thing.
Comment 1 Arvid Requate univentionstaff 2018-08-06 21:43:23 CEST
AFAIR that's normal and should be only temporary, see Bug #40419

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