Univention Bugzilla – Bug 53254
appcenter: during load_verify_locations: IOError: [Errno 2] No such file or directory
Last modified: 2023-09-20 12:35:05 CEST
Almost every day the following traceback happens during the Jenkins Tests: I am not sure what the impact is. https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/job/AutotestUpgrade/SambaVersion=no-samba,Systemrolle=member/ws/test/appcenter.log Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/upgrade_search.py", line 52, in main get_action('update').call() File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 87, in main if self._download_apps(app_cache): File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 180, in _download_apps if self._download_files(app_cache, filenames): File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 159, in _download_files new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 58, in _func return func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/update.py", line 214, in _download_file response = urlopen(request) File "/usr/lib/python2.7/dist-packages/univention/appcenter/utils.py", line 325, in urlopen return urllib_request.urlopen(request, timeout=60) File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 429, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 447, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/utils.py", line 312, in https_open return self.do_open(HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1195, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib/python2.7/httplib.py", line 1058, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1098, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1054, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 892, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 854, in send self.connect() File "/usr/lib/python2.7/dist-packages/univention/appcenter/utils.py", line 306, in connect self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, cert_reqs=ssl.CERT_REQUIRED, ca_certs="/etc/ssl/certs/ca-certificates.crt") File "/usr/lib/python2.7/ssl.py", line 943, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 552, in __init__ self._context.load_verify_locations(ca_certs) IOError: [Errno 2] No such file or directory
Version: 4.4-8 errata992 (Blumenthal) Error: Internal server error during "appcenter/query". Request: appcenter/query Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 246, in query self.update_applications() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 264, in update_applications update.call() File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/update.py", line 87, in main if self._download_apps(app_cache): File "%PY2.7%/univention/appcenter/actions/update.py", line 180, in _download_apps if self._download_files(app_cache, filenames): File "%PY2.7%/univention/appcenter/actions/update.py", line 159, in _download_files new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 58, in _func return func(*args, **kwargs) File "%PY2.7%/univention/appcenter/actions/update.py", line 214, in _download_file response = urlopen(request) File "%PY2.7%/univention/appcenter/utils.py", line 325, in urlopen return urllib_request.urlopen(request, timeout=60) File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 429, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 447, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "%PY2.7%/univention/appcenter/utils.py", line 312, in https_open return self.do_open(HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1195, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib/python2.7/httplib.py", line 1058, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1098, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1054, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 892, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 854, in send self.connect() File "%PY2.7%/univention/appcenter/utils.py", line 306, in connect self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, cert_reqs=ssl.CERT_REQUIRED, ca_certs="/etc/ssl/certs/ca-certificates.crt") File "/usr/lib/python2.7/ssl.py", line 943, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 552, in __init__ self._context.load_verify_locations(ca_certs) IOError: [Errno 2] No such file or directory Role: domaincontroller_master
Reported again: Version: 4.4-8 errata1052 (Blumenthal) (traceback identical to christian's from 2021-06-21)
*** This bug has been marked as a duplicate of bug 49575 ***