Univention Bugzilla – Bug 44493
IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/var/lib/docker/overlay/.../merged/etc/machine.secret'
Last modified: 2018-04-27 18:14:06 CEST
Traceback(727ae865e1a48ce4e294abf0145ad34f): Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 249, 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/mixins.py", line 149, in progress ret = progress_obj.poll() File "%PY2.7%/univention/management/console/modules/decorators.py", line 309, in _thread 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 375, in invoke_docker result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 227, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 233, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/install.py", line 70, in main return self.do_it(args) File "%PY2.7%/univention/appcenter/actions/install_base.py", line 110, in do_it self._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 67, in _do_it ret = super(Install, self)._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/install.py", line 87, in _do_it if self._install_app(app, args): File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 61, in _install_app self._start_docker_image(app, hostdn, password, args) File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 205, in _start_docker_image with open(docker.path('/etc/machine.secret'), 'w+b') as f: IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/var/lib/docker/overlay/50016a54f75d9343b43813ce454a9ab4b77409f3d2aacbcae3f3e549c1b66986/merged/etc/machine.secret' Die Ausführung des Kommandos appcenter/docker/progress ist fehlgeschlagen:
Added a test in _start_docker_image to check whether the container is really started. If not, docker logs, docker inspect and dockerd logs are collected and a new error exception (AppCenterErrorContainerStart -> AppCenterError) is thrown (with the log information). The appcenter error handling catches this exceptions and sets the appropriate status code, the exceptions is then re-raised. The UMC backend then also catches AppCenterError and throws a umcm.UMC_Error with a couple of special result parameters to let the frontend know, that we want a (non-traceback) feedback error dialog (Bug #44527). All this won't help to fix the cause of the problem, but we may get more information to find the issue. univention-appcenter: r79047 univention-appcenter.yaml
Reported 4 times again: Version: 4.2-0 errata4 (Lesum)
Version: 4.2-0 errata4 (Lesum)
Reported again, 4.2-0 errata10 (Lesum)
OK, works
<http://errata.software-univention.de/ucs/4.2/14.html>
*** Bug 43278 has been marked as a duplicate of this bug. ***