Bug 35780 - Traceback while creating SRV record from AD
Traceback while creating SRV record from AD
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - DNS
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-03 06:24 CEST by Stefan Gohmann
Modified: 2017-08-08 07:11 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-09-03 06:24:01 CEST
Split from Bug #34184

> (c3)
> 
> 24.02.2014 12:58:03,820 LDAP        (PROCESS): sync to ucs: Resync rejected
> dn:
> DC=_ldap._tcp.DomainDnsZones,DC=test.fb,CN=MicrosoftDNS,DC=DomainDnsZones,
> DC=test,DC=fb
> 24.02.2014 12:58:03,823 LDAP        (PROCESS): sync to ucs:   [          
> dns] [       add]
> DC=_ldap._tcp.DomainDnsZones,dc=test.fb,cn=dns,dc=test,dc=fb
> 24.02.2014 12:58:03,825 LDAP        (ERROR  ): Unknown Exception during
> sync_to_ucs
> 24.02.2014 12:58:03,825 LDAP        (ERROR  ): Traceback (most recent call
> last):
>   File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py",
> line 1292, in sync_to_ucs
>     result = self.property[property_type].ucs_sync_function(self,
> property_type, object)
>   File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/dns.py", line
> 964, in con2ucs
>     ucs_srv_record_create(s4connector, object)
>   File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/dns.py", line
> 667, in ucs_srv_record_create
>     newRecord.create()
>   File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py",
> line 333, in create
>     return self._create()
>   File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py",
> line 654, in _create
>     self._ldap_pre_create()
>   File
> "/usr/lib/pymodules/python2.6/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.6/univention/admin/mapping.py", line 149,
> in mapValue
>     res=self._map[map_name][1](value)
>   File
> "/usr/lib/pymodules/python2.6/univention/admin/handlers/dns/srv_record.py",
> line 108, in mapName
>     return '_{0}._{1}'.format( *old[ : 2 ] )
> IndexError: tuple index out of range
> 
> See http://forum.univention.de/viewtopic.php?f=48&t=3103&p=10934 for a
> possible patch for (c3).
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-11-11 10:37:43 CET
Happend again in UCS@school jenkins test environment.
Comment 2 Arvid Requate univentionstaff 2016-11-29 18:07:24 CET
Be careful with that forum patch, see Bug 40937
Comment 3 Stefan Gohmann univentionstaff 2017-06-16 20:40:34 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 4 Stefan Gohmann univentionstaff 2017-08-08 07:11:07 CEST
This issue has been filed against UCS 3.2.

UCS 3.2 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.