Univention Bugzilla – Bug 38793
Traceback while trying to get list of UCC Images
Last modified: 2023-06-28 10:33:24 CEST
We received the following traceback, it occurs while trying to query the UCC image server for a list of available images. UCS Version: 4.0-2 errata214 (Walle) Die Ausführung des Kommandos uccimages/query ist fehlgeschlagen: URLError: raise URLError(err) File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain '_open', req) File "/usr/lib/python2.7/urllib2.py", line 419, in _open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 401, in open return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen response = urllib2.urlopen(request) File "/usr/lib/pymodules/python2.7/ucc/images.py", line 198, in _get_file_size _get_file_size(UCC_IMAGE_INDEX_FILE) # throws a HTTPException if URL does not exist File "/usr/lib/pymodules/python2.7/ucc/images.py", line 745, in get_online_ucc_images _images += ucc_images.get_online_ucc_images() File "/usr/lib/pymodules/python2.7/univention/management/console/modules/uccimages/__init__.py", line 88, in query yield funct
Reported again, 4.1-4 errata435 (Vahr) Execution of command 'uccimages/query' has failed: 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/uccimages/__init__.py", line 88, in query _images += ucc_images.get_online_ucc_images() File "%PY2.7%/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.7%/ucc/images.py", line 198, in _get_file_size response = urllib2.urlopen(request) File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 407, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 520, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 439, in error result = self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 626, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 401, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 419, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open raise URLError(err) URLError: <urlopen error [Errno 101] Network is unreachable>
*** Bug 45005 has been marked as a duplicate of this bug. ***
UCC 1.x / 2.x is out of maintenance. In case this Bug is still relevant please clone with the correct version.