Bug 46911 - appcenter/query: raise AddressValueError(ip_str)
appcenter/query: raise AddressValueError(ip_str)
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-27 17:23 CEST by Johannes Keiser
Modified: 2020-08-19 15:02 CEST (History)
1 user (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?: 3: A User would likely not purchase the product
User Pain: 0.086
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019010221000349, 2018091321000351, 2018061121001011, 2018071821000597, 2018031421001038, 2020031921001051, 2020043021000609, 2020041621001108, 2020080421000268, 2020051221000491
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-04-27 17:23:38 CEST
Version: 4.1-5 errata489 (Vahr)

Die Ausführung des Kommandos appcenter/query ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 281, 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/appcenter/__init__.py", line 195, in query
    if not self._test_for_docker_service():
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 220, in _test_for_docker_service
    if docker_bridge_network_conflict():
  File "%PY2.7%/univention/appcenter/utils.py", line 88, in docker_bridge_network_conflict
    docker0_net = ipaddr.IPv4Network(ucr_get('docker/daemon/default/opts/bip', '172.17.42.1/16'))
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1291, in __init__
    self._ip = self._ip_int_from_string(addr[0])
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1043, in _ip_int_from_string
    raise AddressValueError(ip_str)
AddressValueError
Comment 1 Johannes Keiser univentionstaff 2018-04-27 20:07:34 CEST
Reported again: Version: 4.3-0 errata11 (Neustadt)

Interner Server-Fehler in "appcenter/query".
Request: appcenter/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/appcenter/__init__.py", line 207, in query
    if not self._test_for_docker_service():
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 236, in _test_for_docker_service
    if docker_bridge_network_conflict():
  File "%PY2.7%/univention/appcenter/utils.py", line 91, in docker_bridge_network_conflict
    my_net = ipaddr.IPv4Network('%s/%s' % (iface['network'], iface['netmask']))
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1336, in __init__
    self._ip = self._ip_int_from_string(addr[0])
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1091, in _ip_int_from_string
    raise AddressValueError(ip_str)
AddressValueError: None
Comment 2 Johannes Keiser univentionstaff 2018-07-20 16:05:54 CEST
Version: 4.3-1 errata151 (Neustadt)

Remark: nach AD Takeover

Interner Server-Fehler in "appcenter/query".
Request: appcenter/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/appcenter/__init__.py", line 212, in query
    if not self._test_for_docker_service():
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 241, in _test_for_docker_service
    if docker_bridge_network_conflict():
  File "%PY2.7%/univention/appcenter/utils.py", line 91, in docker_bridge_network_conflict
    my_net = ipaddr.IPv4Network('%s/%s' % (iface['network'], iface['netmask']))
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1336, in __init__
    self._ip = self._ip_int_from_string(addr[0])
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1091, in _ip_int_from_string
    raise AddressValueError(ip_str)
AddressValueError: None

Role: domaincontroller_master
Comment 3 Johannes Keiser univentionstaff 2018-07-20 17:47:24 CEST
Reported again:
Version: 4.3-0 errata112 (Neustadt)

Remark: Tried to launch App Center.

Internal server error during "appcenter/query".
Request: appcenter/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/appcenter/__init__.py", line 207, in query
    if not self._test_for_docker_service():
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 236, in _test_for_docker_service
    if docker_bridge_network_conflict():
  File "%PY2.7%/univention/appcenter/utils.py", line 91, in docker_bridge_network_conflict
    my_net = ipaddr.IPv4Network('%s/%s' % (iface['network'], iface['netmask']))
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1336, in __init__
    self._ip = self._ip_int_from_string(addr[0])
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1091, in _ip_int_from_string
    raise AddressValueError(ip_str)
AddressValueError: None

Role: domaincontroller_master
Comment 4 Johannes Keiser univentionstaff 2018-10-04 14:01:44 CEST
Reported again: Version: 4.3-2 errata234 (Neustadt)

Interner Server-Fehler in "appcenter/query".
Request: appcenter/query
Traceback: Same as Comment 2

Role: domaincontroller_master
Comment 5 Johannes Keiser univentionstaff 2019-01-31 15:37:24 CET
Reported again: Version: 4.3-3 errata390 (Neustadt)
Traceback: Same as Comment #2
Comment 6 Christian Castens univentionstaff 2020-05-18 11:23:32 CEST
reported again:

Version: 4.4-3 errata499 (Blumenthal)

Interner Server-Fehler in "appcenter/query".
Request: appcenter/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/appcenter/__init__.py", line 253, in query
    if not self._test_for_docker_service():
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/appcenter/__init__.py", line 272, in _test_for_docker_service
    if docker_bridge_network_conflict():
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/utils.py", line 91, in docker_bridge_network_conflict
    my_net = ipaddr.IPv4Network('%s/%s' % (iface['network'], iface['netmask']))
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1336, in __init__
    self._ip = self._ip_int_from_string(addr[0])
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1091, in _ip_int_from_string
    raise AddressValueError(ip_str)
AddressValueError: None

Role: domaincontroller_master
Comment 7 Christian Castens univentionstaff 2020-06-12 11:16:05 CEST
Reported again:

Version: 4.4-4 errata579 (Blumenthal)

Remark: only oppened AppCenter and logged in with credentials

Role: domaincontroller_master
Comment 8 Christian Castens univentionstaff 2020-06-12 14:32:19 CEST
Reported again:

Version: 4.4-4 errata528 (Blumenthal)

Remark: Eingabeaufforderung des Passworts für den Benutzer der auf das App-Center zugreifen möchte (Administrator-Gruppen-Account).
Nach Eingabe und Bestätigung erfolgt die Fehlermeldung.

Role: domaincontroller_master
Comment 9 Christian Castens univentionstaff 2020-08-07 12:46:58 CEST
reported again

Remark: Fehler tratt sofort nach der Installation auf, sobald man das APPcenter öffnet. Auch zwischen durch, wenn man auf eine App geklickt hat. Allerdings lassen sich die Apps
bisher dennoch problemlos installieren.

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

Role: domaincontroller_master
Comment 10 Christian Castens univentionstaff 2020-08-19 15:02:12 CEST
reported again:
Version: 4.4-4 errata589 (Blumenthal)
Role: domaincontroller_master