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.3
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: 2019-01-31 15:37 CET (History)
0 users

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:
Ticket number: 2019010221000349, 2018091321000351, 2018061121001011, 2018071821000597, 2018031421001038
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