Bug 56124 - UCS 5.2-0: Adjust ucs_registerLDAPExtension --ucsstartversion in join scripts
Summary: UCS 5.2-0: Adjust ucs_registerLDAPExtension --ucsstartversion in join scripts
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: General
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.2
Assignee: Marius Meschter
QA Contact: Florian Best
URL:
Keywords:
Depends on: 56098
Blocks:
  Show dependency treegraph
 
Reported: 2023-06-07 18:44 CEST by Florian Best
Modified: 2025-02-05 15:08 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2023-06-07 18:44:08 CEST
We should change the ucs_registerLDAPExtension startversion to the minimum compatible version, which is UCS 5.0 based. This allows us to drop Python 2 compatibility.

+++ This bug was initially created as a clone of Bug #56098 +++

In join scripts, we register extensions with

ucs_registerLDAPExtension --endversion $X

That $X has been set to 5.99 in some cases because we thought we can be forward compatible. But we cannot. Python 3.11 (upcoming UCS 5.2) has slight incompatibilities with Python 3.7. So we should not make promises until UCS 5.99, but only until 5.0-99. In UCS 5.2, though, we will have to write all our extensions backwards compatible and use --startversion 5.0-0 - but that is out of scope for this issue at hand.

https://git.knut.univention.de/univention/ucs/-/issues/1510
Comment 2 Marius Meschter univentionstaff 2023-12-19 12:03:26 CET
Adjusted the version of the --ucsversionstart flag for all calls of ucs_registerLDAPExtension to 5.0-6
Comment 3 Florian Best univentionstaff 2023-12-19 13:09:38 CET
OK: All extensions are UCS wide registered for UCS 5.0-6 on new installations. See also Bug #56529, which requires all systems in the domain to have at least UCS 5.0-6.
OK: Changelog entry
REOPEN: It doesn't work when upgrade from UCS 5.0. The joinscript versions have to be raised.
I suggest to raise them not only by 1 but e.g. by 5 to allow further joinscript adjustments in UCS 5.0 in the future after UCS 5.1 is released.
Comment 4 Marius Meschter univentionstaff 2023-12-19 17:42:10 CET
increased versions of affected joinscripts
Comment 5 Florian Best univentionstaff 2023-12-19 17:44:45 CET
OK: all joinscript version numbers have been increased.
Comment 6 Florian Best univentionstaff 2024-03-08 11:00:59 CET
univention-self-service (6.0.6)
b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7

univention-s4-connector (16.0.2)
53f55b8e89c0 | chore: update joinscript version

univention-s4-connector (15.0.6)
b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7

univention-radius (9.0.2)
53f55b8e89c0 | chore: update joinscript version

univention-radius (8.0.8)
b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7

univention-portal (6.0.2)
53f55b8e89c0 | chore: update joinscript version

univention-portal (5.0.7)
b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7

univention-monitoring-client (3.0.1)
53f55b8e89c0 | chore: update joinscript version

univention-monitoring-client (2.0.5)
b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7

univention-join (14.0.2)
53f55b8e89c0 | chore: update joinscript version

univention-join (13.0.8)
b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7

univention-fetchmail (15.0.1)
53f55b8e89c0 | chore: update joinscript version

univention-fetchmail (14.0.5)
b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7

univention-appcenter (11.0.1)
53f55b8e89c0 | chore: update joinscript version

univention-appcenter (10.0.10)
b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7