Univention Bugzilla – Bug 44761
Error: `/etc/localtime` and `/var/lib/docker/overlay/…/merged/etc/localtime` are the same file
Last modified: 2017-07-26 15:15:48 CEST
Version: 4.1-4 errata429 (Vahr) Execution of command 'appcenter/docker/progress' has failed: 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 371, 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 196, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 202, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/install.py", line 67, in main return self.do_it(args) File "%PY2.7%/univention/appcenter/actions/install_base.py", line 109, in do_it self._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 65, in _do_it ret = super(Install, self)._do_it(app, args) File "%PY2.7%/univention/appcenter/actions/install.py", line 84, in _do_it if self._install_app(app, args): File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 59, in _install_app self._start_docker_image(app, hostdn, password, args) File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 226, in _start_docker_image self._copy_files_into_container(app, '/etc/timezone', '/etc/localtime', database_password_file) File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 142, in _copy_files_into_container shutil.copy2(filename, docker.path(filename)) File "/usr/lib/python2.7/shutil.py", line 130, in copy2 copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 69, in copyfile raise Error("`%s` and `%s` are the same file" % (src, dst)) Error: `/etc/localtime` and `/var/lib/docker/overlay/6aad07250134c8e6280fb0b92f0477dfa8bab80212c3b7941a546f299032f1b4/merged/etc/localtime` are the same file
This seems to be impossible unless the App configured /etc/ or /etc/localtime as a DockerVolume. Probably a temporary problem in a Test Appcenter App.
Reported again, 4.1-4 errata443 (Vahr)