Bug 47918 - handle Configuration errors during query for available updates
handle Configuration errors during query for available updates
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Software update
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on: 41536
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-05 19:13 CEST by Johannes Keiser
Modified: 2020-06-12 13:45 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018092521000534, 2020030521000588, 2020050421000997
Bug group (optional): Error handling, 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 Johannes Keiser univentionstaff 2018-10-05 19:13:34 CEST
Reported again with higher version: Version: 4.3-1 errata229 (Neustadt)

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 253, 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/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 893, in get_all_available_release_updates
    ucs_version = self.get_next_version(UCS_Version(ucs_version), components, errorsto='exception')
  File "%PY2.7%/univention/updater/tools.py", line 851, in get_next_version
    assert self.server.access(repo)
  File "%PY2.7%/univention/updater/tools.py", line 590, in access
    raise ConfigurationError(uri, reason)
ConfigurationError: Configuration error: Das Netzwerk ist nicht erreichbar

Role: domaincontroller_master

+++ This bug was initially created as a clone of Bug #41536 +++
Comment 1 Florian Best univentionstaff 2019-03-16 19:12:41 CET
I think this happens after the upgrade where the old code is still running. What do you think?
Comment 2 Christian Castens univentionstaff 2020-05-14 15:29:54 CEST
Reported again:

Version: 4.4-3 errata455 (Blumenthal)


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

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 358, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 261, in execute
    function.__func__(self, request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/updater/__init__.py", line 286, in query_releases
    available_versions, blocking_components = self.uu.get_all_available_release_updates()
  File "/usr/lib/python2.7/dist-packages/univention/updater/tools.py", line 1016, in get_all_available_release_updates
    ver = self.get_next_version(ucs_version, components, errorsto='exception')
  File "/usr/lib/python2.7/dist-packages/univention/updater/tools.py", line 973, in get_next_version
    assert self.server.access(repo)
  File "/usr/lib/python2.7/dist-packages/univention/updater/tools.py", line 709, in access
    raise ConfigurationError(uri, reason)
ConfigurationError: Configuration error: Das Netzwerk ist nicht erreichbar

Role: domaincontroller_master
Comment 3 Christian Castens univentionstaff 2020-06-12 13:45:35 CEST
Reported again:

Version: 4.4-4 errata553 (Blumenthal)
Role: domaincontroller_master