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

[2080132] virt-launcher logs live migration in nanoseconds if the migration is stuck

XMLWordPrintable

    • Important
    • No

      Description of problem:

      If the migration is stuck, the virt-launcher logs the message as below in nanoseconds:

      ~~~
      2022-04-26T21:13:55.787653425Z

      {"component":"virt-launcher","kind":"","level":"error","msg":"Live migration abort detected with reason: Live migration stuck for 151375341154 sec and has been aborted","name":"a61b96652007"}

      ~~~

      This should be logged in seconds instead of nanoseconds.

      Version-Release number of selected component (if applicable):

      OpenShift Virtualization 4.10.0

      How reproducible:

      100%

      Steps to Reproduce:

      1. The VM has to hit the progresstimeout to show that error message. For testing, this can be achieved by reducing the progressTimeout and bandwidthPerMigration.

      Actual results:

      virt-launcher logs live migration in nanoseconds if the migration is stuck

      Expected results:

      Log migration stuck message in seconds.

      Additional info:

              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: