Bug 49425 - 4.4: Snapshot restore breaks <cpu model="host-model">
4.4: Snapshot restore breaks <cpu model="host-model">
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Virtualization - KVM
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-0-errata
Assigned To: Erik Damrose
Arvid Requate
:
Depends on: 21386 48536 49441
Blocks:
  Show dependency treegraph
 
Reported: 2019-05-07 16:26 CEST by Erik Damrose
Modified: 2019-05-09 20:25 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.429
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 Erik Damrose univentionstaff 2019-05-07 16:26:21 CEST
Needs to be fixed in UCS 4.4 as well

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

When snapshots are created and restored the <cpu model="host-model"/> placeholder is replaced by the concrete host-model; this persists even when the VM is powered down, which will prevent migration to hosts with older CPUs.
This can be fixed manually by running "virsh edit" and replacing the concrete model again with the placeholder. (This again will break with the next snapshot)

Even worse libvirt seems to contain a bug where for an powered off VM a flag is mentioned as required in the concrete CPU model with QEMU is not able to provide/emulate. The VM then cannot be started even on the same host where the snapshot war created. (that does not happen with all CPU models: 'krus' works, 'lattjo' seems to be broken.)
Comment 1 Erik Damrose univentionstaff 2019-05-07 16:54:02 CEST
Moved libvirt package from 4.3-4 to 4.4-0
cd75eb4 yaml

Patches migrated: svn/patches/libvirt/4.4-0-0-ucs/3.0.0-4+deb9u3-errata4.4-0
Comment 2 Arvid Requate univentionstaff 2019-05-07 18:49:43 CEST
Verified:
* This is required because http://errata.software-univention.de/ucs/4.3/269.html is also active in UCS 4.4
* Binary packages copied to release scope ucs_4.4-0-errata4.4-0
* Patches copied to 4.4-0-0-ucs/3.0.0-4+deb9u3-errata4.4-0/
* Package update: Ok
* Advisory: Ok
Comment 3 Arvid Requate univentionstaff 2019-05-08 13:26:24 CEST
<http://errata.software-univention.de/ucs/4.4/79.html>