Bug 44711

Summary: DNS synchronization fails if connector/s4/mapping/dns/ignorelist is empty
Product: UCS Reporter: Stefan Gohmann <gohmann>
Component: S4 ConnectorAssignee: Arvid Requate <requate>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: minor    
Priority: P5 CC: requate, scheinig
Version: UCS 4.2Flags: gohmann: Patch_Available+
Target Milestone: UCS 4.3-2-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.143 Enterprise Customer affected?: Yes
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: 2017052921000241, 2018072021000271 Bug group (optional):
Max CVSS v3 score:
Attachments: bug44711.patch

Description Stefan Gohmann univentionstaff 2017-05-30 13:30:18 CEST
If the UCR variable connector/s4/mapping/dns/ignorelist is empty, the synchronization of DNS obects fails. 

Workaround (reset variable to the default value):
ucr set connector/s4/mapping/dns/ignorelist=_ldap._tcp.Default-First-Site-Name._site
Comment 1 Stefan Gohmann univentionstaff 2017-05-30 13:31:10 CEST
Created attachment 8885 [details]
bug44711.patch
Comment 2 Christina Scheinig univentionstaff 2017-05-30 13:38:45 CEST
The Traceback below:

30.05.2017 10:32:47,471 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
30.05.2017 10:32:47,471 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1497, in sync_to_ucs
    result = self.modify_in_ucs(property_type, object, module, position)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1280, in modify_in_ucs
    self.__set_values(property_type, object, ucs_object)
  File "/usr/lib/pymodules/python2.7/univention/s4connector/__init__.py", line 1187, in __set_values
    for attr_key in self.property[property_type].attributes.keys():
AttributeError: 'NoneType' object has no attribute 'keys'
Comment 3 Arvid Requate univentionstaff 2018-10-16 20:51:04 CEST
0aecd3b6df | Fix indentation bug in mapping file
afd25c87c5 | Advisory
Comment 4 Felix Botner univentionstaff 2018-10-22 12:20:34 CEST
OK - univention-s4-connector
OK - yaml
Comment 5 Arvid Requate univentionstaff 2018-11-07 14:33:43 CET
<http://errata.software-univention.de/ucs/4.3/304.html>