Bug 49877 - ucs-test: NO_SUCH_OBJECT: {'info': '00002030: No such Base DN:
ucs-test: NO_SUCH_OBJECT: {'info': '00002030: No such Base DN:
Status: NEW
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-07-19 19:43 CEST by Florian Best
Modified: 2019-07-19 19:43 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 2019-07-19 19:43:58 CEST
attachment 10121 [details] (s4connector.log from a ucs-test run) contains 386 times:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1065, in resync_rejected_ucs
    if self.__sync_file_from_ucs(filename, append_error=' rejected'):
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 906, in __sync_file_from_ucs
    mapped_object = self._object_mapping(key, object, 'ucs')
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1836, in _object_mapping
    object = function(self, object, dn_mapping_stored, isUCSobject=(object_type == 'ucs'))
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/dns.py", line 263, in dns_dn_mapping
    show_deleted=False)
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/__init__.py", line 1257, in __search_s4
    rtype, rdata, rmsgid, serverctrls = self.lo_s4.lo.result3(msgid)
  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)
NO_SUCH_OBJECT: {'info': '00002030: No such Base DN: DC=vbtxbtkpdr.ydnjrva5me,CN=MicrosoftDNS,DC=DomainDnsZones,DC=autotest091,DC=local', 'desc': 'No such object'}
NO_SUCH_OBJECT: {'info': '00002030: No such Base DN: DC=zv3pf30r1a.fzxtw3ascy,CN=MicrosoftDNS,DC=DomainDnsZones,DC=autotest091,DC=local', 'desc': 'No such object'}
NO_SUCH_OBJECT: {'info': '00002030: No such Base DN: DC=z28pju6vdy.zr1y0ng5tw,CN=MicrosoftDNS,DC=DomainDnsZones,DC=autotest091,DC=local', 'desc': 'No such object'}
NO_SUCH_OBJECT: {'info': '00002030: No such Base DN: DC=z4swgdfpap.n5jc7qv1zl,CN=MicrosoftDNS,DC=DomainDnsZones,DC=autotest091,DC=local', 'desc': 'No such object'}
NO_SUCH_OBJECT: {'info': '00002030: No such Base DN: DC=vl0x9xfphk.ndezrv7yop,CN=MicrosoftDNS,DC=DomainDnsZones,DC=autotest091,DC=local', 'desc': 'No such object'}

We should add simple error handling.