Bug 44711 - DNS synchronization fails if connector/s4/mapping/dns/ignorelist is empty
DNS synchronization fails if connector/s4/mapping/dns/ignorelist is empty
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.2
Other Linux
: P5 minor (vote)
: UCS 4.3-2-errata
Assigned To: Arvid Requate
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-30 13:30 CEST by Stefan Gohmann
Modified: 2018-11-07 14:33 CET (History)
2 users (show)

See Also:
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:
Ticket number: 2017052921000241, 2018072021000271
Bug group (optional):
Max CVSS v3 score:
gohmann: Patch_Available+


Attachments
bug44711.patch (544 bytes, patch)
2017-05-30 13:31 CEST, Stefan Gohmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>