Bug 48535 - Snapshot restore breaks <cpu model="host-model">
Snapshot restore breaks <cpu model="host-model">
Status: CLOSED DUPLICATE of bug 48536
Product: UCS
Classification: Unclassified
Component: Virtualization - KVM
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on: 21386
Blocks:
  Show dependency treegraph
 
Reported: 2019-01-25 14:22 CET by Philipp Hahn
Modified: 2023-06-28 10:46 CEST (History)
1 user (show)

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 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 ***