Univention Bugzilla – Bug 44501
IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/lib/docker/overlay/…/merged/tmp/tmp.kHPI9tHVWV'
Last modified: 2017-07-12 12:36:48 CEST
+++ This bug was initially created as a clone of Bug #44387 +++ Seems not fixed. +++ This bug was initially created as a clone of Bug #43151 +++ Version: 4.1-4 errata350 (Vahr) Traceback(66ab21b01bd57cdc050e13e117734c49): Die Ausführung des Kommandos appcenter/docker/progress ist fehlgeschlagen: 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/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 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/appcenter/__init__.py", line 397, 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 183, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 189, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/remove.py", line 48, in main return self.do_it(args) File "%PY2.7%/univention/appcenter/actions/install_base.py", line 108, in do_it self._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/docker_remove.py", line 49, in _do_it super(Remove, self)._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/remove.py", line 54, in _do_it self._remove_app(app, args) File "%PY2.7%/univention/appcenter/actions/docker_remove.py", line 55, in _remove_app self._remove_docker_container(app, args) File "%PY2.7%/univention/appcenter/actions/docker_remove.py", line 59, in _remove_docker_container if self._backup_container(app, backup_data='move') is False: File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 74, in _backup_container if not self._store_data(app): File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 62, in _store_data process = self._execute_container_script(app, 'store_data', _credentials=False) File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 132, in _execute_container_script with open(docker.path(error_file), 'r+b') as error_handle: IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/lib/docker/overlay/c3560ded3e68efa1c6386decd48fdef39fdeb48033e6d6c5d7282e7fb53dc1dc/merged/tmp/tmp.kHPI9tHVWV'
univention-appcenter r78987 errata4.2-0 univention-appcenter.yaml
YAML: OK Changeset: OK Manual tests: OK Unfortunately, I was unable to get a test to work, a custom init script does not really work for /sbin/init "replacement" if it is too simple. Will look into it again, though.
<http://errata.software-univention.de/ucs/4.2/6.html>
Version: 4.2-0 errata4 (Lesum) 2017050121000025
4.2-0 errata10 (Lesum) # 2017050721000032
(In reply to Florian Best from comment #5) > 4.2-0 errata10 (Lesum) # 2017050721000032 The bug should be fixed since errata6. If you look at the traceback of this ticket, you can see suspicious lines: [...] File "%PY2.7%/univention/appcenter/actions/docker_remove.py", line 67, in _remove_app else: File "%PY2.7%/univention/appcenter/actions/docker_remove.py", line 71, in _remove_docker_container if args.backup: [...] Seems like the updates were installed while the App Center module was already open.