Bug 39803 - Update docker app: update fails silently if app is not available in docker container
Update docker app: update fails silently if app is not available in docker co...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-3-errata
Assigned To: Dirk Wiesenthal
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-05 18:06 CET by Felix Botner
Modified: 2016-10-20 12:40 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2015-11-05 18:06:51 CET
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?
Comment 1 Felix Botner univentionstaff 2015-11-05 18:49:41 CET
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?
Comment 2 Stefan Gohmann univentionstaff 2015-11-05 19:37:35 CET
(In reply to Felix Botner from comment #1)
> maybe critical?

I would say we can release it as erratum.
Comment 3 Dirk Wiesenthal univentionstaff 2016-10-08 02:20:25 CEST
Fixed in
  univention-docker-container-mode 1.0.13-2.61.201610080210
Comment 4 Felix Botner univentionstaff 2016-10-19 17:35:01 CEST
OK - update_app_version fails if "update_app_version" fails
OK - yaml
OK - merged
Comment 5 Janek Walkenhorst univentionstaff 2016-10-20 12:40:05 CEST
<http://errata.software-univention.de/ucs/4.1/301.html>