Univention Bugzilla – Bug 35758
ucc setup starts with traceback if DNS settings are wrong
Last modified: 2023-06-20 21:00:09 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.
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>
UCC is discontinued.