Bug 54206 - Check how Ldap Cache behaves before the errata updates are installed if the package was already installed in 4.4-8...
Check how Ldap Cache behaves before the errata updates are installed if the p...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-8-errata
Assigned To: Esteban
Dirk Wiesenthal
https://git.knut.univention.de/univen...
:
Depends on: 54182
Blocks:
  Show dependency treegraph
 
Reported: 2021-12-07 16:54 CET by Esteban
Modified: 2022-01-26 16:57 CET (History)
3 users (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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteban univentionstaff 2021-12-07 16:54:30 CET
+++ This bug was initially created as a clone of Bug #54182 +++

To be checked: How the system behaves before the errata updates are installed if the package was already installed in 4.4-8...

Current idea: try to make the 4.4.8 also depends on python3 Ldap Cache package and install this. Test if the same code can run for Python2 and Python3. That way the migration from 4.4-8 to 5.0 would be seamless.
Comment 1 Esteban univentionstaff 2022-01-18 16:36:32 CET
Python3 package of univention-ldap-membership cache is installed also in 4.4-8 to avoid it failing after upgraded to 5.0 but before errata for univention-ldap-membership-cache in 5.0 is installed.

Also, some adjustments to the tests and code have been made for compatibility.


univention-group-membership-cache (1.0.0-10)
c6427cc0ad05 | Bug #54206: python3 ldap cache lib is installed to avoid problems on upgrade to 5.0
6c30e98e62b8 | Bug #54206: back port of ldap cache code

ucs-test (9.0.7-85)
f7380933c329 | Bug #54206: back port of test to 4.4
Comment 2 Dirk Wiesenthal univentionstaff 2022-01-26 14:18:55 CET
YAML: OK
Upgrade test: OK, I manually installed the new package, upgraded to 5.0 and set repository/online=false in the process. I ended up with a working 5.0-0 errata0 and the listener and the cache still worked.