Univention Bugzilla – Bug 42179
NoNameservers exception in setup wizard validation
Last modified: 2016-11-08 13:26:39 CET
Version: 4.1-3 errata234 (Vahr) Remark: What am I getting wrong? Traceback(c3d4d15fc5d458505cba2bcf766a4e89): Execution of command 'setup/validate wizard' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 283, in execute function(self, request) 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 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 513, in validate guessed_domain = guess_domain(obj) File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 499, in guess_domain guessed_domain = util.get_ucs_domain(nameserver) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 908, in get_ucs_domain domain = get_domain(nameserver) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 914, in get_domain fqdn = get_fqdn(nameserver) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 925, in get_fqdn reverse_lookup = resolver.query(reverse_address, 'PTR') File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 772, in query raise NoNameservers NoNameservers
Simply catch every DNSException. r73518 | Changelog Bug #42179 univention-system-setup (9.0.5-1): r73517 | Bug #42179: Catch NoNameservers exception
UCS 4.2 merge: univention-system-setup (10.0.0-12): r73519 | Bug #42179: Catch NoNameservers exception
OK: catch nonameserver exception OK: merge to ucs 4.2 OK: I slightly adapted the changelog entry Verified
UCS 4.1-4 has been released: https://docs.software-univention.de/release-notes-4.1-4-en.html https://docs.software-univention.de/release-notes-4.1-4-de.html If this error occurs again, please use "Clone This Bug".