Univention Bugzilla – Bug 49880
S4C: insufficientInformation: No superordinate object given
Last modified: 2023-10-24 22:15:28 CEST
attachment 10121 [details] (s4connector.log from a ucs-test run) contains 157 times: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1540, in sync_to_ucs result = self.property[property_type].ucs_sync_function(self, property_type, object) File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/dns.py", line 1709, in con2ucs ucs_host_record_create(s4connector, object) File "/usr/lib/python2.7/dist-packages/univention/s4connector/s4/dns.py", line 1001, in ucs_host_record_create newRecord = univention.admin.handlers.dns.host_record.object(None, s4connector.lo, position, dn=None, attributes=[], update_zone=False) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/host_record.py", line 149, in __init__ univention.admin.handlers.simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes=attributes) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 244, in __init__ self._validate_superordinate() File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1000, in _validate_superordinate raise univention.admin.uexceptions.insufficientInformation(_('No superordinate object given')) insufficientInformation: No superordinate object given → We should add simple error handling, the cause is probably that the superordinate is already removed.
*** Bug 49355 has been marked as a duplicate of this bug. ***
(In reply to Florian Best from comment #1) > *** Bug 49355 has been marked as a duplicate of this bug. *** Caused by ucs-test case 66__udm-computers/02_all_roles_creation_with_all_attributes.
Happening on customer: File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/__init__.py", line 1015, in _validate_superordinate raise univention.admin.uexceptions.insufficientInformation(_('No superordinate object given')) insufficientInformation: No superordinate object given
Reproducible also with the following commands: udm dns/forward_zone create --set zone=example2.com --set nameserver=localhost Object created: zoneName=example2.com,l=school,l=dev sleep 10 samba-tool dns add -U Administrator%univention localhost example2.com x A 10.200.27.44 → Traceback (Pdb) newRecord.position.getDn() 'zoneName=example2.com,cn=dns,l=school,l=dev' ^^^^^^^ The DN mapping is broken in this case.