Description of problem: libvirt/qemu provides information like below to understand the progress of the migration and troubleshoot the migration problem: ~~~ virsh -r domjobinfo vm-name setlocale: No such file or directory Job type: Unbounded Operation: Outgoing migration Time elapsed: 22361 ms Data processed: 1.163 GiB Data remaining: 14.742 GiB Data total: 16.071 GiB Memory processed: 1.163 GiB Memory remaining: 14.742 GiB Memory total: 16.071 GiB Memory bandwidth: 62.015 MiB/s Dirty rate: 0 pages/s Page size: 4096 bytes Iteration: 1 Postcopy requests: 0 Constant pages: 44254 Normal pages: 304141 Normal data: 1.160 GiB Expected downtime: 100 ms Setup time: 8 ms ~~~ Log this info in the logs periodically during migration so that the user can troubleshoot the issue if the migration stalls or fails. Version-Release number of selected component (if applicable): OpenShift Virtualization 4.10.0 Additional info: For reference, the same is logged in RHV during migration https://github.com/oVirt/vdsm/blob/master/lib/vdsm/virt/migration.py#L1024
*** Bug 2080208 has been marked as a duplicate of this bug. ***
Moving back to post as this is not yet merged downstream.
Verified on CNV v4.11.0-544 (virt-launcher-v4.11.0-100) In virt-launcher logs I see these messages during migration: {"component":"virt-launcher","kind":"","level":"info","msg":"Migration info for e0815b02-44a4-4b0e-9e62-459bb7ebb8b7: TimeElapsed:125588ms DataProcessed:132410987B DataRemaining:961081344B DataTotal:1120083968B MemoryProcessed:103444075B MemoryRemaining:961081344B MemoryTotal:1091117056B MemoryBandwidth:1067220B/s DirtyRate:57344B/s Iteration:2 PostcopyRequests:251 ConstantPages:7648 NormalPages:25187 NormalData:103165952B ExpectedDowntime:931097ms DiskBps:0","name":"vm-label","namespace":"default","pos":"live-migration-source.go:894","timestamp":"2022-07-05T15:30:15.391509Z","uid":"5babb1c0-f3a4-4238-9bdc-541d43f06bc9"}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.11.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6526
Added automation in patch https://code.engineering.redhat.com/gerrit/c/cnv-tests/+/420905 and so we covered qe_test_coverage as part of above patch.