-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
CLOSED
-
Important
-
None
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
- external trackers