Bug 44849 - NoNameservers exception in adconnector/admember/check_dcmaster_srv_rec
NoNameservers exception in adconnector/admember/check_dcmaster_srv_rec
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-1-errata
Assigned To: Johannes Keiser
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-23 17:28 CEST by Florian Best
Modified: 2017-07-12 16:49 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.309
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017062321000312, 2017062321000296, 2017062921000356, 2017070721000252
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:
best: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2017-06-23 17:28:16 CEST
Execution of command 'adconnector/admember/check_dcmaster_srv_rec' has failed:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 249, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/adconnector/__init__.py", line 594, in check_dcmaster_srv_rec
    result = self._check_dcmaster_srv_rec()
  File "%PY2.7%/univention/management/console/modules/adconnector/__init__.py", line 587, in _check_dcmaster_srv_rec
    if admember.get_domaincontroller_srv_record(ucr.get('domainname')):
  File "%PY2.7%/univention/lib/admember.py", line 1286, in get_domaincontroller_srv_record
    response = resolver.query('_domaincontroller_master._tcp.%s.' % domain, 'SRV')
  File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 824, in query
    raise NoNameservers
NoNameservers
Comment 1 Florian Best univentionstaff 2017-06-23 17:30:42 CEST
Reported again, 4.2-0 errata25 (Lesum)
Comment 2 Florian Best univentionstaff 2017-07-07 16:27:48 CEST
Reported again, 4.2-0 errata0 (Lesum)
Comment 3 Florian Best univentionstaff 2017-07-07 16:37:39 CEST
Reported again, 4.2-0 errata15 (Lesum)
Comment 4 Johannes Keiser univentionstaff 2017-07-10 12:50:45 CEST
r 80996
univention-lib (6.0.9-7) 
* Bug #44849: Catch NoNameservers exception in
get_domaincontroller_srv_record

YAML: r 80997
Comment 5 Florian Best univentionstaff 2017-07-11 14:44:04 CEST
OK: exception is now catched.
OK: YAML (adjusted in r81039)
Comment 6 Janek Walkenhorst univentionstaff 2017-07-12 16:49:29 CEST
<http://errata.software-univention.de/ucs/4.2/88.html>