Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-17896

[2080155] [RFE] Provide the progress of VM migration in the source virt launcher pod

XMLWordPrintable

    • 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

              jelejosne Jed Lejosne
              rhn-support-nashok Nijin Ashok
              Denys Shchedrivyi Denys Shchedrivyi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: