Bug 55654 - Internal server error on "appcenter/progress"
Internal server error on "appcenter/progress"
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-02-03 10:27 CET by Mika Westphal
Modified: 2023-07-06 13:19 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023020221001712, 2023032621000275, 2023032421000555, 2023030721000855, 2023012721000615, 2022091921000467, 2022091221000265, 2022082321000442
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mika Westphal univentionstaff 2023-02-03 10:27:06 CET
Version: 5.0-2 errata572

This bug could be interesting: Bug #46912

Error:
Interner Server-Fehler in "appcenter/progress".
Request: appcenter/progress

Traceback (most recent call last):
  File "%PY3%/univention/appcenter/docker.py", line 306, in tmp_file
    yield tmp_file
  File "%PY3%/univention/appcenter/actions/docker_base.py", line 137, in _execute_container_script
    with open(error_file.name, 'r') as error_handle:
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden:
'/var/lib/docker/overlay2/7e75752b26f638a86377f750f5e96bd27ececc051e4f9bdd136a87d5468f8e54/merged/var/univention/tmp/tmpc6yl9gxc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/appcenter/docker.py", line 306, in tmp_file
    yield tmp_file
  File "%PY3%/univention/appcenter/actions/docker_base.py", line 142, in _execute_container_script
    return process
  File "/usr/lib/python3.7/contextlib.py", line 130, in __exit__
    self.gen.throw(type, value, traceback)
  File "%PY3%/univention/appcenter/docker.py", line 308, in tmp_file
    tmp_file.close()
  File "/usr/lib/python3.7/tempfile.py", line 646, in close
    self._closer.close()
  File "/usr/lib/python3.7/tempfile.py", line 583, in close
    unlink(self.name)
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden:
'/var/lib/docker/overlay2/7e75752b26f638a86377f750f5e96bd27ececc051e4f9bdd136a87d5468f8e54/merged/var/univention/tmp/tmpst8gia6e'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 347, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 250, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 324, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 446, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 292, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/mixins.py", line 161, in progress
    ret = progress_obj.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 105, in poll
    six.reraise(*self.exc_info)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/modules/decorators.py", line 315, in _thread
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 184, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 446, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 292, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 295, in run
    host_result[app.id] = self._run_local(app, action, _settings, auto_installed, progress)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 342, in _run_local
    success = action.call(app=[app], username=self.username, password=self.password, **kwargs)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 189, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 196, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/install.py", line 90, in main
    return self.do_it(args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 172, in do_it
    success = self.do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install.py", line 206, in do_it_once
    return super(Install, self).do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 217, in do_it_once
    self._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/docker_install.py", line 74, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/install.py", line 120, in _do_it
    if self._install_app(app, args):
  File "%PY3%/univention/appcenter/actions/docker_install.py", line 70, in _install_app
    self._setup_docker_image(app, args)
  File "%PY3%/univention/appcenter/actions/docker_install.py", line 89, in _setup_docker_image
    process = self._execute_container_script(app, 'setup', args, cmd_kwargs={'_logger': logger})
  File "%PY3%/univention/appcenter/actions/docker_base.py", line 142, in _execute_container_script
    return process
  File "/usr/lib/python3.7/contextlib.py", line 130, in __exit__
    self.gen.throw(type, value, traceback)
  File "%PY3%/univention/appcenter/docker.py", line 308, in tmp_file
    tmp_file.close()
  File "/usr/lib/python3.7/tempfile.py", line 646, in close
    self._closer.close()
  File "/usr/lib/python3.7/tempfile.py", line 583, in close
    unlink(self.name)
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden:
'/var/lib/docker/overlay2/7e75752b26f638a86377f750f5e96bd27ececc051e4f9bdd136a87d5468f8e54/merged/var/univention/tmp/tmpc6yl9gxc'

Role: domaincontroller_master