Univention Bugzilla – Bug 39803
Update docker app: update fails silently if app is not available in docker container
Last modified: 2016-10-20 12:40:05 CEST
UCS 4.1, installed a docker app switched appcenter/server on docker host to different server, now my host and container have different appcenter servers. created a new app version on the docker host appcenter, this version does not exist on the docker container appcenter an app update in UMC works, the app version is now the version from the docker host appcenter BUT the app was NOT updated in the container, still the old repo activated appcenter.log: 32728 actions.upgrade.container.b2cc 15-11-05 17:38:32 [ WARNING]: usage: univention-app register [-h] [--noninteractive] [--username USERNAME] 32728 actions.upgrade.container.b2cc 15-11-05 17:38:32 [ WARNING]: [--pwdfile PWDFILE] [--files] [--component] 32728 actions.upgrade.container.b2cc 15-11-05 17:38:32 [ WARNING]: [--host] [--app] [--do-it] [--undo-it] 32728 actions.upgrade.container.b2cc 15-11-05 17:38:32 [ WARNING]: [apps [apps ...]] ... 32728 actions.upgrade.container.b2cc 15-11-05 17:38:32 [ WARNING]: usage: univention-app register [-h] [--noninteractive] [--username USERNAME] 32728 actions.upgrade.container.b2cc 15-11-05 17:38:32 [ WARNING]: [--pwdfile PWDFILE] [--files] [--component] 32728 actions.upgrade.container.b2cc 15-11-05 17:38:32 [ WARNING]: [--host] [--app] [--do-it] [--undo-it] 32728 actions.upgrade.container.b2cc 15-11-05 17:38:32 [ WARNING]: [apps [apps ...]] ... 32728 actions.upgrade.container.b2cc 15-11-05 17:38:34 [ WARNING]: usage: univention-app get [-h] [--shell] [--values-only] app KEY [KEY ...] 32728 actions.upgrade.container.b2cc 15-11-05 17:38:34 [ WARNING]: univention-app get: error: Unable to find version 1.0.0-5 of app dudle-docker. Maybe "/usr/bin/univention-app update" to get the latest list of applications? Maybe we should abort the update (in UMC) if the container can not find the new version?
maybe critical? @dirk, what di you think this means, if the container can not find the app repo for whatever reason, the app update in UMC is still successful?
(In reply to Felix Botner from comment #1) > maybe critical? I would say we can release it as erratum.
Fixed in univention-docker-container-mode 1.0.13-2.61.201610080210
OK - update_app_version fails if "update_app_version" fails OK - yaml OK - merged
<http://errata.software-univention.de/ucs/4.1/301.html>