Univention Bugzilla – Bug 41913
allow only lowercase app id
Last modified: 2019-01-03 07:22:42 CET
seems that the app id is used for some special docker operations (commit), unfortunately these operations have restrictions -> removed a docker app (eduSharing): 4fb9681', 'appcenter-backup-eduSharing:1470265060']' returned non-zero exit status 1 Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 182, in call_with_namespace result = self.main(namespace) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/remove.py", line 48, in main return self.do_it(args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install_base.py", line 107, in do_it self._do_it(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_remove.py", line 49, in _do_it super(Remove, self)._do_it(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/remove.py", line 54, in _do_it self._remove_app(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_remove.py", line 55, in _remove_app self._remove_docker_container(app, args) File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_remove.py", line 59, in _remove_docker_container if self._backup_container(app, backup_data='move') is False: File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_base.py", line 86, in _backup_container image_id = docker.commit(image_name) File "/usr/lib/pymodules/python2.7/univention/appcenter/docker.py", line 308, in commit return commit(self.container, new_image_name) File "/usr/lib/pymodules/python2.7/univention/appcenter/docker.py", line 216, in commit return check_output(['docker', 'commit', container, new_base_image]) File "/usr/lib/python2.7/subprocess.py", line 544, in check_output raise CalledProcessError(retcode, cmd, output=output) CalledProcessError: Command '['docker', 'commit', '191074e241f832cbd6f69784be8acb81c77296b0fa23b0c1c409203a64fb9681', 'appcenter-backup-eduSharing:1470265060']' returned non-zero exit status 1 -> docker commit ...e8acb81c77296b0fa23b0c1c409203a64fb9681 appcenter-backup-eduSharing:1470265060 FATA[0000] Invalid repository name (appcenter-backup-eduSharing), only [a-z0-9-_.] are allowed -> docker commit ...e8acb81c77296b0fa23b0c1c409203a64fb9681 appcenter-backup-edusharing:1470265060 38494e4df5794bb765f00f1095586011c59769362856d0152ac9ec00ec9c7d6a
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.