I am debugging a migration issue(migration fails with message: "load of migration failed: Input/output error").
Before attempting live migration I 've added below two lines in /etc/libvirt/libvirtd.conf and restarted libvirtd: log_filters="1:qemu 1:libvirt 1:util" log_outputs="1:file:/var/log/libvirt/libvirtd.log"
Source side libvirtd.log:
2022-09-17 18:48:02.620+0000: 19373: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f03f40030e0 event={"timestamp": {"seconds": 1663440482, "microseconds": 619909}, "event": "MIGRATION", "data": {"status": "setup"}} 2022-09-17 18:48:02.764+0000: 19373: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f03f40030e0 event={"timestamp": {"seconds": 1663440482, "microseconds": 763740}, "event": "MIGRATION_PASS", "data": {"pass": 1}} 2022-09-17 18:48:02.764+0000: 19373: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f03f40030e0 event={"timestamp": {"seconds": 1663440482, "microseconds": 763889}, "event": "MIGRATION", "data": {"status": "active"}} 2022-09-17 18:48:12.863+0000: 19373: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f03f40030e0 event={"timestamp": {"seconds": 1663440492, "microseconds": 863038}, "event": "MIGRATION_PASS", "data": {"pass": 2}} 2022-09-17 18:48:12.865+0000: 19373: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f03f40030e0 event={"timestamp": {"seconds": 1663440492, "microseconds": 865130}, "event": "STOP"} 2022-09-17 18:48:12.866+0000: 19373: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f03f40030e0 event={"timestamp": {"seconds": 1663440492, "microseconds": 865800}, "event": "MIGRATION", "data": {"status": "failed"}} 2022-09-17 18:48:12.867+0000: 19373: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f03f40030e0 event={"timestamp": {"seconds": 1663440492, "microseconds": 865862}, "event": "RESUME"}
Target side libvirtd.log:
2022-09-17 18:48:02.563+0000: 28937: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f827003fe40 event={"timestamp": {"seconds": 1663440482, "microseconds": 562521}, "event": "MIGRATION", "data": {"status": "setup"}} 2022-09-17 18:48:02.643+0000: 28937: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f827003fe40 event={"timestamp": {"seconds": 1663440482, "microseconds": 643001}, "event": "MIGRATION", "data": {"status": "active"}} 2022-09-17 18:48:12.948+0000: 28937: info : qemuMonitorJSONIOProcessLine:235 : QEMU_MONITOR_RECV_EVENT: mon=0x7f827003fe40 event={"timestamp": {"seconds": 1663440492, "microseconds": 947620}, "event": "MIGRATION", "data": {"status": "failed"}}
As shown above libvirtd.log logs just says "failed", no info on why it's failed. Qemu just logs a single message("initiating migration" ), though I enabled all the qemu trace-events.
How to find the reason for the failure? any other traces/commands that help debugging this issue?
Thanks.