Bug 48535

Summary: Snapshot restore breaks <cpu model="host-model">
Product: UCS Reporter: Philipp Hahn <hahn>
Component: Virtualization - KVMAssignee: UCS maintainers <ucs-maintainers>
Status: CLOSED DUPLICATE QA Contact: UCS maintainers <ucs-maintainers>
Severity: normal    
Priority: P5 CC: damrose
Version: UCS 4.3   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
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:
Bug Depends on: 21386    
Bug Blocks:    

Description Philipp Hahn univentionstaff 2019-01-25 14:22:39 CET
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 Philipp Hahn univentionstaff 2019-01-25 14:23:53 CET

*** This bug has been marked as a duplicate of bug 48536 ***