Bug 56651 - Remove UVMM schema on upgrade
Remove UVMM schema on upgrade
Status: VERIFIED FIXED
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 5.2
Other Linux
: P5 normal (vote)
: UCS 5.1
Assigned To: Florian Best
Iván.Delgado
:
Depends on: 51955
Blocks: 52972 56134
  Show dependency treegraph
 
Reported: 2023-09-25 17:50 CEST by Florian Best
Modified: 2024-03-08 10:49 CET (History)
6 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): Cleanup
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-09-25 17:50:15 CEST
We should enforce schema removal of UVMM before upgrading to UCS 5.1 / UCS 5.2.

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

For UCS-5 UVMM is removed, including the schema. This leads to problems during updates, as OpenLDAP then no longer knows anything about the objectClasses and attributes, which are still referenced by the LMDB:

Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEPVINTERFACE" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILECPUS" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILENAMEPREFIX" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEVNC" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEPVDISK" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEPVCDROM" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILERAM" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEARCH" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEVIRTTECH" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEBOOTDEVICES" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEDISKSPACE" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEINTERFACE" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEKBLAYOUT" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILERTCOFFSET" inserted.
Sep 08 09:27:34 m34 slapd[29182]: UNKNOWN attributeDescription "UNIVENTIONVIRTUALMACHINEPROFILEOS" inserted.

We should check for it in preup.sh and link to <https://help.univention.com/t/remove-ldap-schema-extensions/6443>.
Comment 2 Florian Best univentionstaff 2023-11-02 12:16:25 CET
The preup.sh checks now remove the registered UVMM related UDM modules, UDM syntaxes, Extended Attributes, Extended Attribute contents, UDM objects, LDAP ACL's, LDAP schema.
Comment 4 Iván.Delgado univentionstaff 2023-11-14 17:23:37 CET
OK: code review
OK: uvmm objects are removed on upgrade from 4.4 to 5.2
OK: changelog
Comment 5 Florian Best univentionstaff 2024-03-08 10:49:18 CET
univention-updater (16.0.11)
282df9633895 | feat(uvmm): remove UVMM UDM objects from LDAP