Bug 32449 - UVMM unjoin script
UVMM unjoin script
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 3.1
Other Linux
: P5 enhancement (vote)
: UCS 3.2
Assigned To: Philipp Hahn
Lukas Walter
: interim-2
Depends on:
Blocks: 30786
  Show dependency treegraph
 
Reported: 2013-09-02 09:10 CEST by Stefan Gohmann
Modified: 2013-11-19 06:44 CET (History)
0 users

See Also:
What kind of report is it?: ---
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 Stefan Gohmann univentionstaff 2013-09-02 09:10:19 CEST
An unjoin script for UVMM is missing.
Comment 1 Philipp Hahn univentionstaff 2013-09-09 10:36:04 CEST
There is a flaw in the design of the unjoin scripts:
1. UVMMd can be installed on a Slave or Member-Server.
2. On package removal the Python code for the UDM modules uvmm/profiles and uvmm/info is removed.
3. When later the join scripts is called, it needs to remove the information from LDAP, but can't, since the modules are already gone.

Workaround: Use "ldapmodify" directly to directly zap the UVMM sub-tree in LDAP, which requires command line parsing to get the LDAP credentials as currently already implemented in UDM.
Comment 2 Stefan Gohmann univentionstaff 2013-09-09 10:49:38 CEST
As an alternative you can copy the modules in preinst and remove them later in the unjoin script.
Comment 3 Philipp Hahn univentionstaff 2013-09-10 09:50:09 CEST
r43828 | Bug #32449: Add UVMM unjoin script
r43827 | Bug #32448, Bug #32450: Add KVM/XEN unjoin script

univention-virtual-machine-manager-node_2.0.3-5.68.201309100940
univention-virtual-machine-manager-daemon_3.0.6-10.467.201309100941

ChangeLog:
An unjoin script has been added to package <package>univention-virtual-machine-XXX</package>.
The unjoin script removes the XXX service from the server object and removes the default &ucsUCRV;s.
Comment 4 Lukas Walter univentionstaff 2013-09-18 14:57:03 CEST
ok: unjoinscript
ok: changelog 3.2
Comment 5 Stefan Gohmann univentionstaff 2013-11-19 06:44:18 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

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