Bug 35758 - ucc setup starts with traceback if DNS settings are wrong
ucc setup starts with traceback if DNS settings are wrong
Status: CLOSED WONTFIX
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: UMC modules
unspecified
Other Linux
: P5 normal
: UCC 2.x
Assigned To: UCC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-01 10:22 CEST by Florian Best
Modified: 2023-06-20 21:00 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
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 Florian Best univentionstaff 2014-09-01 10:22:59 CEST
The UCC Setup module starts with a traceback if ucc-images.software-univention.de can not be resolved.

Traceback:
Die Ausführung des Kommandos uccsetup/info ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py",
line 218, in execute
    func( request )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py",
line 305, in _response
    result = _multi_response(self, request)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py",
line 432, in _response
    for res in function(self, iterator, *nones):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py",
line 271, in _fake_func
    yield function(self, *args)
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/uccsetup/__init__.py",
line 87, in info
    thinclient_image, desktop_image = util.get_latest_ucc_images()
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/uccsetup/util.py",
line 359, in get_latest_ucc_images
    online_images = ucc_images.get_latest_online_ucc_image()
  File "/usr/lib/pymodules/python2.6/ucc/images.py", line 776, in
get_latest_online_ucc_image
    images = get_online_ucc_images()
  File "/usr/lib/pymodules/python2.6/ucc/images.py", line 745, in get_online_ucc_images
    _get_file_size(UCC_IMAGE_INDEX_FILE)  # throws a HTTPException if URL does not exist
  File "/usr/lib/pymodules/python2.6/ucc/images.py", line 198, in _get_file_size
    response = urllib2.urlopen(request)
  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib/python2.6/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 1184, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.6/urllib2.py", line 1159, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno -2] Der Name oder der Dienst ist nicht bekannt>


Has to be fixed in the package ucc-integration/ucc-image-toolkit.
Comment 1 Florian Best univentionstaff 2015-09-30 10:07:45 CEST
Another one reported, 3.2-6 errata372 (Borgfeld)

Execution of command 'uccsetup/info' has failed:

Traceback (most recent call last):
  File "%PY2.6%/univention/management/console/modules/__init__.py", line 218, in execute
    func( request )
  File "%PY2.6%/univention/management/console/modules/decorators.py", line 305, in _response
    result = _multi_response(self, request)
  File "%PY2.6%/univention/management/console/modules/decorators.py", line 432, in _response
    for res in function(self, iterator, *nones):
  File "%PY2.6%/univention/management/console/modules/decorators.py", line 271, in _fake_func
    yield function(self, *args)
  File "%PY2.6%/univention/management/console/modules/uccsetup/__init__.py", line 87, in info
    thinclient_image, desktop_image = util.get_latest_ucc_images()
  File "%PY2.6%/univention/management/console/modules/uccsetup/util.py", line 359, in get_latest_ucc_images
    online_images = ucc_images.get_latest_online_ucc_image()
  File "%PY2.6%/ucc/images.py", line 776, in get_latest_online_ucc_image
    images = get_online_ucc_images()
  File "%PY2.6%/ucc/images.py", line 745, in get_online_ucc_images
    _get_file_size(UCC_IMAGE_INDEX_FILE)  # throws a HTTPException if URL does not exist
  File "%PY2.6%/ucc/images.py", line 198, in _get_file_size
    response = urllib2.urlopen(request)
  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib/python2.6/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 1184, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.6/urllib2.py", line 1159, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 101] Network is unreachable>
Comment 2 Florian Best univentionstaff 2023-06-20 21:00:04 CEST
UCC is discontinued.