Bug 44501 - IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/lib/docker/overlay/…/merged/tmp/tmp.kHPI9tHVWV'
IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/lib/docker/ov...
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-0-errata
Assigned To: Felix Botner
Dirk Wiesenthal
Depends on: 43151 44387
  Show dependency treegraph
Reported: 2017-04-28 13:39 CEST by Felix Botner
Modified: 2017-07-12 12:36 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.343
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2016120321000091, 2016122221000153, 2016122221000199, 2016122221000331, 2017021621000217, 2017021621000413, 2017021621000468, 2017021721000181, 2017021721000555, 2017041621000213, 2017041421000262, 2017041221001201, 2017041121000857, 2017040921000183, 201
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-04-28 13:39:37 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)

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'
Comment 1 Felix Botner univentionstaff 2017-04-28 14:18:34 CEST
univention-appcenter r78987
errata4.2-0 univention-appcenter.yaml
Comment 2 Dirk Wiesenthal univentionstaff 2017-05-03 04:26:46 CEST
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.
Comment 3 Janek Walkenhorst univentionstaff 2017-05-03 15:16:18 CEST
Comment 4 Florian Best univentionstaff 2017-05-05 15:11:25 CEST
Version: 4.2-0 errata4 (Lesum)
Comment 5 Florian Best univentionstaff 2017-05-10 16:17:33 CEST
4.2-0 errata10 (Lesum) # 2017050721000032
Comment 6 Dirk Wiesenthal univentionstaff 2017-05-10 16:50:58 CEST
(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
  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.