Bug 54445 - updater: status: Configuration error: host is unresolvable
updater: status: Configuration error: host is unresolvable
Status: NEW
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on: 55499
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-11 13:00 CET by Maximilian Janßen
Modified: 2022-12-16 12:18 CET (History)
2 users (show)

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?: 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.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022021021000101, 2022072621000242, 2022101721000735, 2022103121000333, 2022110321000581, 2022110821000214, 2022110621000129
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2022-02-11 13:00:30 CET
Version: 4.4-8 errata992 (Blumenthal)

Remark: This keeps happening and I need help fixing it.

Error: 
Error contacting the update server. Please check your proxy or firewall settings, if any. Or it may be a problem with your configured DNS server. This is the error message:
Configuration error: host is unresolvable
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 442, in status
    blocking_components = self.uu.get_all_available_release_updates()[1] or set()
  File "%PY2.7%/univention/updater/tools.py", line 1109, in get_all_available_release_updates
    ver = self.get_next_version(ucs_version, components, errorsto='exception')
  File "%PY2.7%/univention/updater/tools.py", line 1036, in get_next_version
    releases = list(self.get_releases(self.server))
  File "%PY2.7%/univention/updater/tools.py", line 1001, in get_releases
    _code, _size, data = server.access(None, 'ucs-releases.json', get=True)
  File "%PY2.7%/univention/updater/tools.py", line 748, in access
    raise ConfigurationError(uri, 'host is unresolvable')
ConfigurationError: Configuration error: host is unresolvable

Role: domaincontroller_master
Comment 1 Arvid Requate univentionstaff 2022-08-01 13:04:42 CEST
I guess we need to adjust our code to collect more info and report it as part of the traceback or so.
Comment 2 Mika Westphal univentionstaff 2022-10-27 17:46:37 CEST
Version: 4.4-9 errata1279 (Blumenthal)

Error:
Fehler beim Verbindungsaufbau zum Update-Server. Bitte überprüfen Sie die Proxy- oder Firewall-Einstellungen, falls vorhanden. Es kann sich sich auch um ein Problem des
konfigurierten DNS-Servers handeln. Dies ist die Fehlermeldung: Configuration error: Das Netzwerk ist nicht erreichbar
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 435, in status
    result['release_update_available'] = self.uu.release_update_available(errorsto='exception')
  File "%PY2.7%/univention/updater/tools.py", line 1137, in release_update_available
    return self.get_next_version(UCS_Version(ucs_version), components, errorsto)
  File "%PY2.7%/univention/updater/tools.py", line 1072, in get_next_version
    if not self.get_component_repositories(component, [mm_version], clean=False, debug=debug):
  File "%PY2.7%/univention/updater/tools.py", line 1852, in get_component_repositories
    for server, ver in self._iterate_component_repositories([component], version, version, self.architectures, for_mirror_list=for_mirror_list):
  File "%PY2.7%/univention/updater/tools.py", line 1605, in _iterate_component_repositories
    for ver in self._iterate_versions(struct, version, version, parts, ['all'] + subarchs, server):
  File "%PY2.7%/univention/updater/tools.py", line 1517, in _iterate_versions
    assert server.access(ver)  # patchlevel
  File "%PY2.7%/univention/updater/tools.py", line 771, in access
    raise ConfigurationError(uri, reason)
ConfigurationError: Configuration error: Das Netzwerk ist nicht erreichbar

Role: domaincontroller_master
Comment 3 Mika Westphal univentionstaff 2022-11-02 14:20:26 CET
Reported again
Version: 4.4-9 errata1325 (Blumenthal)
Role: domaincontroller_master
Comment 4 Mika Westphal univentionstaff 2022-11-04 10:47:01 CET
Version: 4.4-9 errata1262 (Blumenthal)

Error:
Fehler beim Verbindungsaufbau zum Update-Server. Bitte überprüfen Sie die Proxy- oder Firewall-Einstellungen, falls vorhanden. Es kann sich sich auch um ein Problem des
konfigurierten DNS-Servers handeln. Dies ist die Fehlermeldung: Configuration error: Das Netzwerk ist nicht erreichbar
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 435, in status
    result['release_update_available'] = self.uu.release_update_available(errorsto='exception')
  File "%PY2.7%/univention/updater/tools.py", line 1137, in release_update_available
    return self.get_next_version(UCS_Version(ucs_version), components, errorsto)
  File "%PY2.7%/univention/updater/tools.py", line 1065, in get_next_version
    assert self.server.access(repo)
  File "%PY2.7%/univention/updater/tools.py", line 771, in access
    raise ConfigurationError(uri, reason)
ConfigurationError: Configuration error: Das Netzwerk ist nicht erreichbar

Role: domaincontroller_master
Comment 5 Mika Westphal univentionstaff 2022-11-11 10:11:21 CET
Version: 4.4-9 errata1332 (Blumenthal)

Error:
Fehler beim Verbindungsaufbau zum Update-Server. Bitte überprüfen Sie die Proxy- oder Firewall-Einstellungen, falls vorhanden. Es kann sich sich auch um ein Problem des
konfigurierten DNS-Servers handeln. Dies ist die Fehlermeldung: Configuration error: Das Netzwerk ist nicht erreichbar
Request: status

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 442, in status
    blocking_components = self.uu.get_all_available_release_updates()[1] or set()
  File "%PY2.7%/univention/updater/tools.py", line 1109, in get_all_available_release_updates
    ver = self.get_next_version(ucs_version, components, errorsto='exception')
  File "%PY2.7%/univention/updater/tools.py", line 1065, in get_next_version
    assert self.server.access(repo)
  File "%PY2.7%/univention/updater/tools.py", line 771, in access
    raise ConfigurationError(uri, reason)
ConfigurationError: Configuration error: Das Netzwerk ist nicht erreichbar

Role: memberserver
Comment 6 Mika Westphal univentionstaff 2022-11-11 10:27:47 CET
Version: 4.4-9 errata1332 (Blumenthal)

Error:
Interner Server-Fehler in "updater/updates/query".
Request: updater/updates/query

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/updater/__init__.py", line 287, in query_releases
    available_versions, blocking_components = self.uu.get_all_available_release_updates()
  File "%PY2.7%/univention/updater/tools.py", line 1109, in get_all_available_release_updates
    ver = self.get_next_version(ucs_version, components, errorsto='exception')
  File "%PY2.7%/univention/updater/tools.py", line 1072, in get_next_version
    if not self.get_component_repositories(component, [mm_version], clean=False, debug=debug):
  File "%PY2.7%/univention/updater/tools.py", line 1852, in get_component_repositories
    for server, ver in self._iterate_component_repositories([component], version, version, self.architectures, for_mirror_list=for_mirror_list):
  File "%PY2.7%/univention/updater/tools.py", line 1605, in _iterate_component_repositories
    for ver in self._iterate_versions(struct, version, version, parts, ['all'] + subarchs, server):
  File "%PY2.7%/univention/updater/tools.py", line 1520, in _iterate_versions
    code, size, content = server.access(ver)
  File "%PY2.7%/univention/updater/tools.py", line 771, in access
    raise ConfigurationError(uri, reason)
ConfigurationError: Configuration error: Das Netzwerk ist nicht erreichbar

Role: domaincontroller_master