Univention Bugzilla – Bug 50082
univention-app reinitialize does not work on non-master roles
Last modified: 2019-09-04 15:48:15 CEST
univention-app reinitialize does not work on non-master roles due to missing credentials
Fixed in univention-appcenter 8.0.11-54A~4.4.0.201908291203
(1) Reinitialize removes the old containers AND the images. Only to (re) pull the image in the next step. Please do not remove the image during "Reinitialize". (2) The test in my member server succeeds, but i get Digest: sha256:5fe9719aca95e32fd7243b9ae5623a52896aa33cea3513e420dcb3ca993102f8 Status: Image is up to date for docker-test.software-univention.de/alpine:3.6 Initializing app image list index out of range Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/reinitialize.py", line 79, in main self._upgrade_image(app, _args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 184, in _upgrade_image self._install_new_app(app, args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 68, in _install_new_app return Install._do_it(self, app, args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_install.py", line 71, in _do_it ret = super(Install, self)._do_it(app, args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install.py", line 111, in _do_it if self._install_app(app, args): File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_install.py", line 65, in _install_app self._start_docker_image(app, hostdn, password, args) File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_base.py", line 160, in _start_docker_image hostname = explode_dn(hostdn, 1)[0] IndexError: list index out of range Traceback (most recent call last): in the output, what is that?
Fixed in univention-appcenter 8.0.11-56A~4.4.0.201909021453 univention-app upgrade now has --do-not-remove-images (and reinitialize uses it)
OK - (1) OK - (2) OK - test OK - yaml
<http://errata.software-univention.de/ucs/4.4/248.html>