A test case introduced by: https://forge.univention.org/bugzilla/show_bug.cgi?id=34222 Fails in S4-School-only environment: http://jenkins.knut.univention.de:8080/job/UCSschool%204.0/job/UCSschool%204.0%20Multiserver/21/SambaVersion=s4-school-only/testReport/junit/90_ucsschool/97_samba4_dns_srv_replication/test/ A look inside shows a following traceback: ADD(-ing) the test location to/from the record '_ldap._tcp.Default-First-Site-Name._sites' An error occured while executing a command '/usr/share/univention-directory-manager-tools/univention-dnsedit --binddn=uid=Administrator,cn=users,dc=autotest204,dc=local --bindpwd=univention autotest204.local add srv ldap tcp.Default-First-Site-Name._sites 53 777 63256 ucs_test.hostname.local.', STDERR: 'Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-dnsedit", line 400, in <module> main() File "/usr/share/univention-directory-manager-tools/univention-dnsedit", line 365, in main add_srv_record(*args) File "/usr/share/univention-directory-manager-tools/univention-dnsedit", line 198, in add_srv_record record.create() File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 352, in create return self._create() File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 685, in _create self._ldap_pre_create() File "/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/srv_record.py", line 148, in _ldap_pre_create self.dn='%s=%s,%s' % (mapping.mapName('name'), mapping.mapValue('name', self['name']), self.position.getDn()) File "/usr/lib/pymodules/python2.7/univention/admin/mapping.py", line 193, in mapValue res=self._map[map_name][1](value) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/srv_record.py", line 108, in mapName return '_{0}._{1}'.format( *old[ : 2 ] ) IndexError: tuple index out of range' Which happens only when trying to modify a record that does not exist: root@slave2042:~/90_ucsschool# /usr/share/univention-directory-manager-tools/univention-dnsedit --binddn=uid=Administrator,cn=users,dc=autotest204,dc=local --bindpwd=univention autotest204.local add srv gc tcp.fooo._baaar 53 777 63256 ucs_test.hostname.local The removal attempt, however reports normally, that "No record found". REMOVE(-ing) the test location to/from the record '_kerberos._tcp.Default-First-Site-Name._sites' An error occured while executing a command '/usr/share/univention-directory-manager-tools/univention-dnsedit --binddn=uid=Administrator,cn=users,dc=autotest204,dc=local --bindpwd=univention autotest204.local remove srv kerberos tcp.Default-First-Site-Name._sites 53 777 63256 ucs_test.hostname.local.', STDERR: 'No record found'
Created attachment 6766 [details] List of DNS records
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.