Bug 42661 - Install specific version of UCS@school
Install specific version of UCS@school
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Documentation
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2 vXXX
Assigned To: Sönke Schwardt-Krummrich
Florian Best
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-12 14:47 CEST by Sönke Schwardt-Krummrich
Modified: 2016-12-16 12:46 CET (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?: Yes
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 Sönke Schwardt-Krummrich univentionstaff 2016-10-12 14:47:54 CEST
In larger UCS@school environments, new UCS@school slaves have to be installed but the DC master is not using the latest version of UCS@school (on purpose).
This might be a problem because the slave would get a newer/incompatible version of UCS@school than the DC master and the app center is currently only able to install the latest version.

A workaround might be univention-add-app/univention-app. We should add a short section to the administrator's manual.

Currently I'm in discussion with Dirk about some details.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2016-10-13 18:13:00 CEST
Got feedback from Dirk:

univention-add-app is deprecated and will be removed somewhere in the future. 
So the documentation should use univention-add app. The neccessary commands are shown below. univention-run-join-scripts is currently required but will be integrated in univention-app later on.

master# univention-app info 
UCS: 4.1-3 errata282
App Center compatibility: 4
Installed: cups=1.5.3 samba4=4.3 squid=3.1 ucsschool=4.1 R2 v5
Upgradable: 
master#

slave# univention-app list ucsschool
ucsschool
  Name: UCS@school
  Versions:
    4.1 v1
    4.1 v2
    4.1 v3
    4.1 v4
    4.1 v5
    4.1 R2 v1
    4.1 R2 v2
    4.1 R2 v3
    4.1 R2 v4
    4.1 R2 v5
    4.1 R2 v6
      Installed: master.example.com
slave# univention-app install "ucsschool=4.1 R2 v5"
Going to install UCS@school (4.1 R2 v5)
Creating data directories for ucsschool...
Registering UCR for ucsschool
Marking ucsschool=4.1 R2 v5 as installed
[…]
slave# univention-run-join-scripts
[…]
slave#

r73155 | Bug #42661: added section on how to install UCS@school in a specific version
Comment 2 Florian Best univentionstaff 2016-10-17 17:44:53 CEST
+			Im Anschluss kann mit der webbasierten Konfiguration fortgefahren werden, wie sie in
+			<xref linkend="school:installation:slave-cli"/> beschrieben wird.

REOPEN: → link to itself.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2016-11-07 12:09:46 CET
(In reply to Florian Best from comment #2)
> +			Im Anschluss kann mit der webbasierten Konfiguration fortgefahren
> werden, wie sie in
> +			<xref linkend="school:installation:slave-cli"/> beschrieben wird.
> 
> REOPEN: → link to itself.

Fixed 2 references to itself.
Comment 4 Florian Best univentionstaff 2016-11-10 15:33:29 CET
OK
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2016-12-16 12:46:56 CET
Documents have been published a minute ago.