Univention Bugzilla – Bug 35656
Drop Xen support with UCS 4.0
Last modified: 2014-11-26 06:55:21 CET
Currently, we support Xen and KVM with UVMM. We should drop the support for one hypervisor.
The supported hypervisor app should be copied to the app center once the decision has been made.
We decided to drop the Xen support with UCS 4.0. In this bug, we should - block the update to UCS 4.0 if Xen is installed on the host (preup.sh) - create a migration tutorial from Xen to KVM - the UVMM package + App center description should be adjusted (In reply to Stefan Gohmann from comment #1) > The supported hypervisor app should be copied to the app center once the > decision has been made. Done.
r54232 | Bug #35656 UVMM: Drop Xen support r54231 | Bug #35656 UVMM: Drop Xen support
r54233 | Bug #35656 UVMM: Drop Xen support
(In reply to Stefan Gohmann from comment #2) > We decided to drop the Xen support with UCS 4.0. > - block the update to UCS 4.0 if Xen is installed on the host (preup.sh) r54408 | Bug #35656 Update: Block update with xen-4.1 still installed
r54442 | Bug #35656 Update: Block update with xen-4.1 still installed Add UCRV update40/ignore_xen Package: univention-updater Version: 10.0.9-1.1282.201410151025 Branch: ucs_4.0-0
(In reply to Stefan Gohmann from comment #2) > - create a migration tutorial from Xen to KVM r54603 | Bug #35656 xen: Document Xen deprecation <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-0/job/Handbook%20Extended/1/artifact/webroot/uvmm-4.0.html#uvmmext:xen> >- the UVMM package + App center description should be adjusted Bug #36137 handles the App center description specific aspects of this bug. r54604 | Bug #35656 VirtIO: Drop reference to Xen r54605 | Bug #35656 Xen: Document Xen deprecation Support for <application>Xen</application> was removed from &ucsUVMM; (<ulink url="&ucsbug;35656">Bug 35656</ulink>). <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-0/job/Release%20Notes/ws/webroot/release-notes-4.0-0-en.html#changelog:virt:uvmm>
r54608 | Bug #35656 xen: Document Xen deprecation Some more changes and a XSLT file to do the transformation
r54613 | Bug #35656 preup: Block update with xen-4.1 still installed Check for UCS hosts having "XEN Host" registered as their service
SVN r55312 fixes the list of drivers, it was always empty.
umc/js/setup.js: xen: uvmmWarning, umc/js/setup/ApplianceWizard.js: if (packages['univention-virtual-machine-manager-node-kvm'] && packages['univention-virtual-machine-manager-node-xen']) { umc/python/setup/__init__.py: if 'univention-virtual-machine-manager-node-kvm' in packages and 'univention-virtual-machine-manager-node-xen' in packages:
r55388 | Bug #35656 UVMM: Change QEMU to KVM as default domain type switch to <domain type='kvm'>
OK: UVMM package + App center description should be adjusted Reopen: The preup currently gives only very technical hints on how to resolve the blocked update - remove the xen-4.1 package from the XEN Hosts. => Please improve the user experience by - Giving advice to remove the XEN App on the affected hosts - Give a link to the documentation, to help the user migrate existing VMs
(In reply to Erik Damrose from comment #13) > OK: UVMM package + App center description should be adjusted > Reopen: The preup currently gives only very technical hints on how to > resolve the blocked update - remove the xen-4.1 package from the XEN Hosts. > => Please improve the user experience by > - Giving advice to remove the XEN App on the affected hosts > - Give a link to the documentation, to help the user migrate existing VMs r55501 | Bug #35656 Updater: Block update for xen-4.1 r55499 | Bug #35656 UVMM: No longer create old profiles
Package: univention-updater Version: 10.0.37-1.1314.201411071338 Branch: ucs_4.0-0 Package: univention-virtual-machine-manager-daemon Version: 4.0.19-1.560.201411071340 Branch: ucs_4.0-0 Also updates the documentation: <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-0/job/Handbook%20Extended/lastSuccessfulBuild/artifact/webroot/uvmm-4.0.html#uvmmext:xen>
r55588 Fixed typos OK: Updater warning OK: Do not create old profiles All code changes are hereby verified, only the documentation remains at this bug. OK: Migrating XEN instances (UCS & Win7 with gplpv drivers) according to the migration documentation Reopen: We should improve the migration documentation: - The introduction should make clear that managing virtual machines with UVMM is not possible when switching to the unmaintained XEN in UCS4. Thus, that section should be moved to the end of the migration chapter. - We should make clear that Univention recommends switching to QEMU/KVM, as that is the supported scenario - The migration itself should be more structured, which should result in a step-by-step guide the customer can follow: - Define and outline the general approach to the migration (it is currently undefined, when KVM should be installed). Suggestion: 1. Prepare instances for migration (currently the first part of section 2.2); 2. Uninstall the Xen App on all affected hosts AND run unjoin scripts; 3. + 4. (order tdb:) Upgrade to UCS-4 + install KVM App; 5. Redefine the virtual machines - Make clear in which cases the user should update the domain XML files manually, instead of just redefining the VMs. Suggestions for the different steps: - Prepare VMs: - I think we should expand the part about preparing Windows VMs. If i simply uninstall the gplpv drivers, windows will bluescreen on reboot. I had to remove them completely before the vm-shutdown with the uninstall script from [1] - UCS VMs: It should be mentioned that CDRom drive devices are /dev/sr0 KVM by default - New Optional Step: Convert images to qcow2. We could explain the advantage of converting the .raw image files to qcow2 (snapshots!) and show how it can be done - Post-Upgrade: RFC: There should be a section explaining how to correct uvmm profiles in ldap. UCS3 created the profiles with eth0 as network interface, the update to UCS4 creates new profiles with br0, without updating the old ones. The manual has a section about this: [2] [1] http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers [2] http://docs.univention.de/handbuch-3.2.html#uvmm::profile::network
r55978 | Bug #35656 Updater: Rework xen-4.1 drop
r55984 | Bug #35656 Updater: Rework xen-4.1 drop
r55985 | Bug #35656 UVMM: Update documentation [WIP] Preliminary version was published with the release of UCS-4.0. Please build and publish any further changes.
I fixed and published one typo: r56032 r56035 Great work, i like the changes. -> Verified
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".