Bug 53769 - set_userPrincipalName_from_ucr(): handle noObject exception
set_userPrincipalName_from_ucr(): handle noObject exception
Status: NEW
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-10 17:59 CEST by Florian Best
Modified: 2021-09-10 18:01 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-10 17:59:15 CEST
Some Jenkins Test causes the following traceback in the AD-Connector:

https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/job/ADConnectorMultiEnv/Version=w2k16-german/ws/test/connector-ad.log.1.gz
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/connector/__init__.py", line 817, in __sync_file_from_ucs
    if not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, object_old):
  File "/usr/lib/python3/dist-packages/univention/connector/ad/__init__.py", line 2327, in sync_from_ucs
    post_con_modify_function(self, property_type, object)
  File "/usr/lib/python3/dist-packages/univention/connector/ad/__init__.py", line 121, in set_userPrincipalName_from_ucr
    return connector.set_userPrincipalName_from_ucr(key, object)
  File "/usr/lib/python3/dist-packages/univention/connector/ad/__init__.py", line 1700, in set_userPrincipalName_from_ucr
    ucs_admin_object = univention.admin.objects.get(self.modules[object_key], co='', lo=self.lo, position='', dn=object_ucs['dn'])
  File "/usr/lib/python3/dist-packages/univention/admin/objects.py", line 104, in get
    raise univention.admin.uexceptions.noObject(dn)
univention.admin.uexceptions.noObject: uid=azvgbxob,cn=users,dc=autotest234,dc=local
Comment 1 Florian Best univentionstaff 2021-09-10 18:01:21 CEST
ignore in test:
8396dc0b3aa9 | Bug #53769: [grep_traceback]: ignore traceback