Bug 54954 - UCR attemts to chmod and edit a nonexistent docker tempfile
UCR attemts to chmod and edit a nonexistent docker tempfile
Status: NEW
Product: UCS
Classification: Unclassified
Component: UCR
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-07-06 16:53 CEST by Maximilian Janßen
Modified: 2022-07-06 16:53 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
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: 2022070421000453
Bug group (optional): 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 Maximilian Janßen univentionstaff 2022-07-06 16:53:05 CEST
Version: 5.0-1 errata342

Error: 
Internal server error during "appcenter/progress".
Request: appcenter/progress

Traceback (most recent call last):
  File "%PY3%/univention/config_registry/backend.py", line 667, in _save_file
    os.chmod(temp_filename, file_stat.st_mode)
FileNotFoundError: [Errno 2] No such file or directory:
'/var/lib/docker/overlay2/1fdacbdc21aae623d7fc3b0867a6c07e5b77e97ac1636b80e362e70d5a5fa352/merged/etc/univention/base.conf.bak.temp'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 344, 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 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/mixins.py", line 158, in progress
    ret = progress_obj.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 102, 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 312, in _thread
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 292, 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 339, in _run_local
    success = action.call(app=[app], username=self.username, password=self.password, **kwargs)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 186, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 193, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/upgrade.py", line 86, in main
    return self.do_it(args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 169, in do_it
    success = self.do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/upgrade.py", line 90, in do_it_once
    return super(Upgrade, self).do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install.py", line 203, in do_it_once
    return super(Install, self).do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 214, in do_it_once
    self._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/docker_upgrade.py", line 126, in _do_it
    self._upgrade_image(app, args)
  File "%PY3%/univention/appcenter/actions/docker_upgrade.py", line 187, in _upgrade_image
    self._configure(app, args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 446, in _configure
    configure.call(app=app, run_script=run_script, set_vars=set_vars, scope=scope)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 186, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 193, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/configure.py", line 76, in main
    self._set_config(args.app, set_vars, args)
  File "%PY3%/univention/appcenter/actions/docker_configure.py", line 59, in _set_config
    super(Configure, self)._set_config(app, set_vars, args)
  File "%PY3%/univention/appcenter/actions/configure.py", line 114, in _set_config
    self._set_config_via_tool(app, other_settings)
  File "%PY3%/univention/appcenter/actions/docker_configure.py", line 81, in _set_config_via_tool
    self._set_config_directly(app, set_vars)
  File "%PY3%/univention/appcenter/actions/docker_configure.py", line 130, in _set_config_directly
    _ucr.save()
  File "%PY3%/univention/config_registry/backend.py", line 705, in save
    self._save_file(filename)
  File "%PY3%/univention/config_registry/backend.py", line 680, in _save_file
    self._save_to(temp_filename)
  File "%PY3%/univention/config_registry/backend.py", line 693, in _save_to
    with open(filename, 'w', encoding='utf-8') as fd:
FileNotFoundError: [Errno 2] No such file or directory:
'/var/lib/docker/overlay2/1fdacbdc21aae623d7fc3b0867a6c07e5b77e97ac1636b80e362e70d5a5fa352/merged/etc/univention/base.conf.bak.concurrent_1656952681.504288'

Role: domaincontroller_backup