Bug 49355

Summary: Test 66__udm-computers/02_all_roles_creation_with_all_attributes produces s4 connector tracbacks
Product: UCS Reporter: Jürn Brodersen <brodersen>
Component: S4 ConnectorAssignee: Samba maintainers <samba-maintainers>
Status: RESOLVED DUPLICATE QA Contact: Samba maintainers <samba-maintainers>
Severity: normal    
Priority: P5 CC: best, requate
Version: UCS 4.4   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=49086
What kind of report is it?: Bug Report What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
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.103 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:
Bug Depends on: 45068    
Bug Blocks:    

Description Jürn Brodersen univentionstaff 2019-04-26 11:02:41 CEST
Test 66__udm-computers/02_all_roles_creation_with_all_attributes produces s4 connector tracbacks

Just run the test and check /var/log/univention/connector-s4.log afterwards.

25.04.2019 17:16:51,353 LDAP        (PROCESS): sync to ucs:   [           dns] [       add] relativeDomainName=mrwqk4gvvf,zoneName=q4up9tv4il.mflpa3f25q,cn=dns,dc=univention,dc=intranet
25.04.2019 17:16:51,357 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
25.04.2019 17:16:51,357 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1539, in sync_to_ucs
    result = self.property[property_type].ucs_sync_function(self, property_type, object)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/s4/dns.py", line 1709, in con2ucs
    ucs_host_record_create(s4connector, object)
  File "/usr/lib/pymodules/python2.7/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 147, 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 239, in __init__
    self._validate_superordinate()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 993, in _validate_superordinate
    raise univention.admin.uexceptions.insufficientInformation(_('No superordinate object given'))
insufficientInformation: No superordinate object given
Comment 1 Florian Best univentionstaff 2019-08-08 14:18:33 CEST

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