Univention Bugzilla – Bug 39374
Every app needs to specify DockerImage, no default image allowed; may specify list of DockerAllowedImages
Last modified: 2015-11-17 12:11:52 CET
This makes it possible to set a new image (like 4.2-0) in a new version of the app after the initial version had (4.1-0). Without this, every app would either require new app installations to go through a lot of release updates after installation or exchange images for no good reason. DockerAllowedImages should be taken into account when searching for updates. If the old DockerImage is in the new DockerAllowedImages, no image upgrade is to be performed. New installations should take DockerImage.
This seems to break the current docker app installation. If I try to install one of both docker test apps, the app center tries to install the app into the system and not into the docker container.
Fixed in univention-management-console-module-appcenter 5.0.5-2.441.201509231115
If I create an App without DockerImage, the App installation fails which is correct, but the packages are temporarily installed in the local system. See test case 80_docker/53_missing_dockerimage.
(In reply to Stefan Gohmann from comment #3) > If I create an App without DockerImage, the App installation fails which is > correct, but the packages are temporarily installed in the local system. See > test case 80_docker/53_missing_dockerimage. OK, as discussed with Dirk. The Docker=True parameter has been removed. If DockerImage is missing, the App is installed into the local system. The test case have been adjusted. Please remove Docker=True from the App tutorial.
(In reply to Stefan Gohmann from comment #4) > Please remove Docker=True from the App tutorial. Done. r64063
I've added a test case for this: 80_docker/65_app_container_upgrade_dockerallowedimage The container upgrade doesn't work, so we have to move the final QA for this to interim-2. The container upgrade issue: Bug #39204 In addition, the upgrade in a container currently failed: Bug #39448.
Can you give an example for DockerAllowedImages? I tried a comma and a space separated list. Both tests were not successful. See 80_docker/65_app_container_upgrade_dockerallowedimage
(In reply to Stefan Gohmann from comment #7) > Can you give an example for DockerAllowedImages? > > I tried a comma and a space separated list. Both tests were not successful. > > See 80_docker/65_app_container_upgrade_dockerallowedimage Fixed in univention-management-console-module-appcenter 5.0.6-29.476.201510190439
(In reply to Dirk Wiesenthal from comment #8) > Fixed in > univention-management-console-module-appcenter 5.0.6-29.476.201510190439 OK, it works now, see 80_docker/65_app_container_upgrade_dockerallowedimage: DockerAllowedImages='docker.software-univention.de/nonexisting-image1,docker.software-univention.de/ucs-appbox-amd64:4.0-3,docker.software-univention.de/nonexisting-image1'
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".