Bug 48703 - Join of UCS systems with a smaller UCS version than UCS master not possible
Join of UCS systems with a smaller UCS version than UCS master not possible
Status: CLOSED WORKSFORME
Product: UCS@school
Classification: Unclassified
Component: Join - Hook
UCS@school 4.4
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v1
Assigned To: Sönke Schwardt-Krummrich
Daniel Tröder
:
Depends on: 47969
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-19 11:40 CET by Sönke Schwardt-Krummrich
Modified: 2019-03-12 11:01 CET (History)
0 users

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?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
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 Sönke Schwardt-Krummrich univentionstaff 2019-02-19 11:40:47 CET
The join of UCS systems with a smaller UCS version than the UCS master are not possible.
The join/pre-joinscripts hook tries to install the UCS@school app with the same version string that is also used on the DC master. If the master is actualised to UCS 4.5-0, the join hook would try to install e.g. UCS@school 4.5v3 on the joining DC slave which would fail, because 4.4v8 is highest available version for UCS 4.4.
If univention-app install fails, the join will also fail.

Untested workaround:
univention-app install ucsschool=$VERSION_FOR_4.4
univention-join

The hook will not try to install UCS@school if the app is already installed.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2019-02-19 14:32:28 CET
I missed that the hook uses the master's app's version string only if the UCS version of master and target system are identical. Otherwise only the appstring "ucsschool" is used without app version.
→ WORKSFORME
Comment 2 Daniel Tröder univentionstaff 2019-02-25 12:59:16 CET
ACK
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2019-03-12 11:01:06 CET
UCS@school 4.4 v1 has been released.

https://docs.software-univention.de/release-notes-ucsschool-4.4v1-de.html

If this error occurs again, please clone this bug.