Use it when the symptom is “Migration Failure”: work through the layers in order and stop at the first one that fails.
Migration Failure
Troubleshoot by migration phase: request/precheck → source state → destination compatibility/capacity → migration network/storage path → state transfer/convergence → cutover/ownership → destination guest/workload.
1. Migration failure: CPU compatibility, local devices/ISO, storage not shared, network/firewall, auth.
2. Read error text.
3. Check target resources.
4. Check migration network.
5. Retry after fix.
precheck → transfer → cut-over
Context & applicabilityCommon mistakes · platform/version boundaries
A migration error must be tied to its phase; a failure during precheck, transfer, convergence or cutover has different dependencies and evidence.
Operational reference
Fast context before you go deeper.
journalctl -u pvedaemon --since '-30 min'Primary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Request/precheck → source runtime → destination eligibility → network/storage transfer → convergence → cutover/ownership → destination runtime → workload
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Migration task started ≠ compatibility checks fully satisfied or transfer can converge.
- Network reachability ≠ required migration bandwidth, MTU, authentication or ports are correct.
- Compute compatibility ≠ storage compatibility, and storage accessibility ≠ CPU/device compatibility.
- Migration completed ≠ guest/application continuity or performance is proven.
qm migrate <vmid> <node> --online— read errorGet-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30— Hyper-Vvirsh migrate --live --verbose ...— libvirt
ReferenceWhy it matters1 section · depth on demand
Method
Migration failure — read the exact error, then:
| Category | Typical fix |
|---|---|
| CPU compatibility | EVC/compatibility mode/CPU model, power-cycle VM |
| Network | Same port group/bridge names, vMotion/migration network reachable, MTU |
| Storage | Datastore visible on target, local ISO/disk detached |
| Devices | Remove USB/PCI passthrough, CD-ROM mapped to host device |
| Authentication | Kerberos delegation (Hyper-V), SSH keys/TLS (KVM) |
| Timeouts | Memory dirty rate too high — auto-converge, faster network, quieter time |
Test the migration network separately (vmkping, ping -M do -s 8972) before blaming the hypervisor.
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
A migration error must be tied to its phase; a failure during precheck, transfer, convergence or cutover has different dependencies and evidence.
In depth
How live migration works and why it fails
QEMU copies guest RAM to the target while the VM runs, then repeatedly re-sends pages the guest dirtied, and finally pauses the VM briefly to send the last state. Migration fails or never ends when the guest dirties memory faster than the network can send it.
Watch a running migration
# virsh domjobinfo web01
Job type: Unbounded
Time elapsed: 84213 ms
Data remaining: 1.204 GiB
Memory remaining: 1.204 GiB
Dirty rate: 142 MiB/s
Memory bandwidth: 112 MiB/s
Iteration: 17
Dirty rate higher than bandwidth with growing iterations means it will not converge. The virsh manual documents migrate with options such as --auto-converge (throttles guest CPU to reduce dirtying) and --postcopy (switch to the target and fetch remaining pages on demand).
Failure → cause → fix
| Failure | Cause | Fix |
|---|---|---|
unsupported configuration: guest CPU doesn't match / host lacks features | CPU model host or features missing on target | Common CPU model across the cluster |
Cannot migrate with local disks | Disks on local storage | Proxmox qm migrate 101 pve2 --online --with-local-disks; libvirt --copy-storage-all |
cannot migrate domain: ... hostdev | PCI passthrough | Shut down and cold-migrate |
| Never completes | Dirty rate > bandwidth | Dedicated migration network, --auto-converge, migrate at quieter time |
Connection refused / timeout | Migration network/firewall between nodes | Check migration network setting and TCP ports used for migration |
| Target lacks storage or bridge | Storage/bridge names differ per node | Align storage definitions and bridge names |
Proxmox specifics
qm migrate 101 pve2 --online performs a live migration; the datacenter option migration: type=secure,network=10.10.10.0/24 selects the network. Insecure type over a trusted dedicated network is faster (no SSH tunnel).
After migration
Check that the guest still has network (ARP announcements reached the switch) and clock (guest agent/time sync). A VM that migrated but lost network usually lacks the VLAN on the target's switch port.
*The live migration bandwidth and dirty-page statistics above are illustrative examples, not captured from a lab or production host.*
Common causes
| Platform | Typical error cause |
|---|---|
| vSphere | vMotion network, EVC/CPU, attached ISO/USB, storage not shared |
| Hyper-V | Kerberos delegation, processor compatibility, switch name mismatch |
| Proxmox | Local disks, different CPU type, storage not on target |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization Troubleshooting → Migration Failure. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Virtualization Troubleshooting → Migration Failure troubleshooting map
Fast fault-isolation boundaries and proof limits for Virtualization Troubleshooting → Migration Failure.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Symptom/scope | Exact failing test, affected VM/host/cluster and incident time are defined | Symptom classification does not identify root cause |
| Observed boundary | Configuration, runtime and counters/logs for this Virtualization Troubleshooting → Migration Failure boundary are time-correlated | One healthy or failed status does not prove adjacent dependencies |
| Adjacent dependency | The next host, storage, network, device, guest or cluster dependency is tested independently | Local success does not prove end-to-end health |
| Verification | The original workload test succeeds after one controlled change and remains healthy in regression checks | Temporary recovery alone is not durable proof |