Bug 41452

Summary: Updated join script are not called for Docker Apps
Product: UCS Reporter: Dirk Wiesenthal <wiesenthal>
Component: App CenterAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P1 CC: gulden
Version: UCS 4.1   
Target Milestone: UCS 4.1-2-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of 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.137 Enterprise Customer affected?:
School Customer affected?: ISV affected?: Yes
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: 2016020421000956 Bug group (optional):
Max CVSS v3 score:

Description Dirk Wiesenthal univentionstaff 2016-06-06 01:18:27 CEST
If a new version of an App ships a new version of a join script, the join script is not copied to the jonscript dir and univention-run-join-scripts is not called.
Comment 1 Dirk Wiesenthal univentionstaff 2016-06-06 01:44:44 CEST
Added _call_join_script for app updates (same container, new package version) and container updates in
  univention-appcenter 5.0.21-3.167.201606060134

Also added a test script:
  80_docker/66_app_upgrade_in_container
Comment 2 Nico Gulden univentionstaff 2016-06-07 09:00:58 CEST
Occurred at Ticket#2016020421000956.
Comment 3 Felix Botner univentionstaff 2016-06-07 15:28:43 CEST
FAIL - ucs-tests - http://jenkins.knut.univention.de:8080/job/UCS-4.1/job/UCS-4.1-2/job/AutotestJoin/lastCompletedBuild/testReport/

OK - join script update/execution during app update
OK - 66_app_upgrade_in_container
OK - univention-appcenter.yaml
Comment 4 Dirk Wiesenthal univentionstaff 2016-06-08 09:52:02 CEST
ucs-test looks better now: http://jenkins.knut.univention.de:8080/job/UCS-4.1/job/UCS-4.1-2/job/AutotestJoin/40/
Comment 5 Felix Botner univentionstaff 2016-06-08 10:14:01 CEST
OK
Comment 6 Janek Walkenhorst univentionstaff 2016-06-08 14:28:37 CEST
<http://errata.software-univention.de/ucs/4.1/194.html>