Bug 49875 - ucs-test: noObject: No such object
ucs-test: noObject: No such object
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:48 CEST
attachment 10121 [details] (s4connector.log from a ucs-test run) contains 2 times:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1559, in sync_to_ucs
    result = self.move_in_ucs(property_type, object, module, position)
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1341, in move_in_ucs
    ucs_object.move(object['dn'])
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 734, in move
    self.dn = n(self.move(temp_dn, ignore_license, temporary_ou))
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 741, in move
    subelements = self.lo.search(base=self.dn, scope='one', attr=[])
  File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 755, in search
    raise univention.admin.uexceptions.noObject(_err2str(msg))
noObject: No such object

We should add simple error handling for that case.