Bug 51982 - Remove all virtualization related packages from UCS-5
Remove all virtualization related packages from UCS-5
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Philipp Hahn
Florian Best
:
Depends on:
Blocks: 53141
  Show dependency treegraph
 
Reported: 2020-09-09 15:03 CEST by Philipp Hahn
Modified: 2021-05-25 16:02 CEST (History)
0 users

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 Philipp Hahn univentionstaff 2020-09-09 15:03:24 CEST

    
Comment 1 Florian Best univentionstaff 2020-09-25 09:08:27 CEST
During the upgrade to UCS 5.0 we probably should remove?!:

service="KVM Hosts" from computers/$server_role=$ldap_hostdn".
hosts="$ldap_hostdn" from groups/group="cn=UVMM Nodes,cn=groups,$ldap_base"
assignedHosts="${ldap_hostdn}" from nagios/service="cn=UNIVENTION_LIBVIRTD_KVM,cn=nagios,$ldap_base"
assignedHosts="${ldap_hostdn}" from nagios/service="cn=UNIVENTION_LIBVIRTD_XEN,cn=nagios,$ldap_base"
assignedHosts="${ldap_hostdn}" from nagios/service="cn=UNIVENTION_UVMMD,cn=nagios,$ldap_base"

In UCS 5.1 we should remove the following objects:
settings/service "cn=KVM Host,cn=services,cn=univention,$ldap_base"
groups/group "cn=UVMM Nodes,cn=groups,$ldap_base"
nagios/service cn=UNIVENTION_LIBVIRTD_KVM,cn=nagios,$ldap_base
nagios/service cn=UNIVENTION_LIBVIRTD_XEN,cn=nagios,$ldap_base
nagios/service cn=UNIVENTION_UVMMD,cn=nagios,$ldap_base
UMC Operation Set "uvmm-all" from UMC Policy "default-umc-all"
UMC Operation Set "uvmm-all".
settings/syntax "cn=ManagementServer,cn=UVMM,cn=custom attributes,cn=univention"
*=*,cn=UVMM,cn=custom attributes,cn=univention,$ldap_base
*=*,cn=Virtual Machine Manager,$ldap_base"
Comment 2 Florian Best univentionstaff 2021-03-17 14:36:50 CET
Your current commits are:

univention-web (4.0.0-1)
2b70f138f380 | Bug #51982: Remove all of UVMM

univention-virtual-machine-manager-schema (10.0.0-1)
13cce468eeb8 | Bug #51982: Remove UVMM libcloud support

univention-virtual-machine-manager-daemon (9.0.0-1)
13cce468eeb8 | Bug #51982: Remove UVMM libcloud support

univention-updater (15.0.1-6)
fbfd9d3e02a4 | Bug #51982: Fix presentation of multiple legacy objects

univention-system-setup (13.0.0-1)
2b70f138f380 | Bug #51982: Remove all of UVMM

univention-management-console-module-diagnostic (6.0.0-1)
2b70f138f380 | Bug #51982: Remove all of UVMM

univention-ldap (16.0.0-5)
2b70f138f380 | Bug #51982: Remove all of UVMM

univention-l10n-fr (4.0.0-1)
2b70f138f380 | Bug #51982: Remove all of UVMM

univention-dvd (5.0.0-1)
2b70f138f380 | Bug #51982: Remove all of UVMM
203e4b71d71e | Bug #51982: Remove univention-kvm-compat

univention-directory-manager-modules (15.0.3-2)
6d25e33d2645 | fixup! Bug #51982: Remove all of UVMM

univention-config-registry (15.0.0-1)
2b70f138f380 | Bug #51982: Remove all of UVMM

ucs-test (10.0.0-1)
2b70f138f380 | Bug #51982: Remove all of UVMM

changelog-5.0-0.xml
0f576d341fe8 | Bug #51982: Changelog entry
Comment 3 Philipp Hahn univentionstaff 2021-03-27 12:38:12 CET
(In reply to Florian Best from comment #1)
> During the upgrade to UCS 5.0 we probably should remove?!:
> 
> service="KVM Hosts" from computers/$server_role=$ldap_hostdn".

Code already in 56univention-virtual-machine-manager-node-kvm.uinst

> hosts="$ldap_hostdn" from groups/group="cn=UVMM Nodes,cn=groups,$ldap_base"

Code already in 57univention-virtual-machine-manager-node-common.uinst

> assignedHosts="${ldap_hostdn}" from nagios/service="cn=UNIVENTION_LIBVIRTD_KVM,cn=nagios,$ldap_base"
> assignedHosts="${ldap_hostdn}" from nagios/service="cn=UNIVENTION_LIBVIRTD_XEN,cn=nagios,$ldap_base"
> assignedHosts="${ldap_hostdn}" from nagios/service="cn=UNIVENTION_UVMMD,cn=nagios,$ldap_base"

Needs to be added in UCS 4.4

> In UCS 5.1 we should remove the following objects:
> settings/service "cn=KVM Host,cn=services,cn=univention,$ldap_base"

Code already in 56univention-virtual-machine-manager-node-kvm.uinst

> groups/group "cn=UVMM Nodes,cn=groups,$ldap_base"

Code already in 57univention-virtual-machine-manager-node-common.uinst

> nagios/service cn=UNIVENTION_LIBVIRTD_KVM,cn=nagios,$ldap_base
> nagios/service cn=UNIVENTION_LIBVIRTD_XEN,cn=nagios,$ldap_base
> nagios/service cn=UNIVENTION_UVMMD,cn=nagios,$ldap_base

Needs to be added in UCS 4.4

> UMC Operation Set "uvmm-all" from UMC Policy "default-umc-all"
> UMC Operation Set "uvmm-all".

Code already in 55univention-management-console-module-uvmm.uinst

> settings/syntax "cn=ManagementServer,cn=UVMM,cn=custom attributes,cn=univention"

???

> *=*,cn=UVMM,cn=custom attributes,cn=univention,$ldap_base

???

> *=*,cn=Virtual Machine Manager,$ldap_base"

Code already in 56univention-virtual-machine-manager-daemon.uinst



repo_admin.py
rm sr
univention-nagios-virtualization
8.0.0-1
5.0-0
Comment 4 Philipp Hahn univentionstaff 2021-04-23 12:44:29 CEST
(In reply to Philipp Hahn from comment #3)
> (In reply to Florian Best from comment #1)
> > During the upgrade to UCS 5.0 we probably should remove?!:
...
> > assignedHosts="${ldap_hostdn}" from nagios/service="cn=UNIVENTION_LIBVIRTD_KVM,cn=nagios,$ldap_base"
> > assignedHosts="${ldap_hostdn}" from nagios/service="cn=UNIVENTION_LIBVIRTD_XEN,cn=nagios,$ldap_base"
> > assignedHosts="${ldap_hostdn}" from nagios/service="cn=UNIVENTION_UVMMD,cn=nagios,$ldap_base"
> 
> > nagios/service cn=UNIVENTION_LIBVIRTD_KVM,cn=nagios,$ldap_base
> > nagios/service cn=UNIVENTION_LIBVIRTD_XEN,cn=nagios,$ldap_base
> > nagios/service cn=UNIVENTION_UVMMD,cn=nagios,$ldap_base
> 
> > settings/syntax "cn=ManagementServer,cn=UVMM,cn=custom attributes,cn=univention"
> 
> > *=*,cn=UVMM,cn=custom attributes,cn=univention,$ldap_base

Those remaining cleanup issues have been moved to Bug #53141 as they must be done as errata4.4-8 anyway.
Comment 5 Florian Best univentionstaff 2021-04-23 15:56:21 CEST
OK: removal of UVMM
OK: changelog entry
OK: cleanup outsourced to Bug #53141
Comment 6 Florian Best univentionstaff 2021-05-25 16:02:20 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".