Bug 42713 - Preventing the installation of a Docker version of an App is evaluated only locally
Preventing the installation of a Docker version of an App is evaluated only l...
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: 2016-10-18 14:22 CEST by Dirk Wiesenthal
Modified: 2016-10-19 11:17 CEST (History)
0 users

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?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.343
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 Dirk Wiesenthal univentionstaff 2016-10-18 14:22:09 CEST
If member1 has app=1.0-nondocker installed (and thus appcenter/prudence/docker/app is set), the App Center module does not show version 2.0-docker.

But if member2 uses the App Center module it does not know anything about the UCRV and shows that an update is available for the App on member1. Clicking on Upgrade results in a confusing error message "A newer version must exist". The "Update available" flag does not go away, though.

The other way around (member1 wants to install the App on member2 without that UCRV) may be even worse because I guess it will try to install 2.0-docker with the old lib. But I haven't checked.
Comment 1 Dirk Wiesenthal univentionstaff 2016-10-18 15:57:09 CEST
I fixed it this way:

The App Center shows all installations within the domain. When it comes to updates, appcenter/prudence/docker/app is considered only for localhost. Remote systems will be treated as if this variable was set.

This way I do not have to somehow connect to the system for UCR querying or putting this information into LDAP.

Downside is that the update for remote systems will not be shown even if this flag is explicitly turned off there.

univention-appcenter 5.0.22-19.225.201610181553
Comment 2 Dirk Wiesenthal univentionstaff 2016-10-18 16:39:43 CEST
YAML added, merged to 4.2
Comment 3 Felix Botner univentionstaff 2016-10-18 18:36:11 CEST
OK - no "update available" for docker apps (remote, local)
OK - update for non docker app (remote, local)
OK - merged
OK - yaml
Comment 4 Janek Walkenhorst univentionstaff 2016-10-19 11:17:25 CEST
<http://errata.software-univention.de/ucs/4.1/293.html>