Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7104

Guest shutdown's reason is not correct after cancelling multifd migration

    • Normal
    • sst_virtualization
    • ssg_virtualization
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      Guest shutdown's reason is not correct after cancelling multifd migration

      Version-Release number of selected component (if applicable):
      libvirt-daemon-9.0.0-3.el9.x86_64
      qemu-kvm-7.2.0-7.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1.Do multifd migration and cancel it:

      1. virsh migrate test2 qemu+ssh://..com/system --live --verbose --persistent --parallel --parallel-connections 255
        Migration: [ 12 %]^Cerror: operation aborted: job 'migration out' canceled by client

      2.Check the guest's domstate:
      #virsh domstate test2 --reason

      1. virsh domstate test2 --reason
        shut off (crashed)

      3.Check the qemu log on the target host:
      #cat /var/log/libvirt/qemu/test2.log
      ...
      2023-02-07T08:32:44.133243Z qemu-kvm: Unknown combination of migration flags: 0x0
      2023-02-07T08:32:44.133294Z qemu-kvm: error while loading state section id 2(ram)
      2023-02-07T08:32:44.133451Z qemu-kvm: load of migration failed: Invalid argument
      2023-02-07 08:32:44.343+0000: shutting down, reason=crashed

      4.Check the coredump on the target host:

      1. coredumpctl list
        no output

      Actual results:
      Guest shutdown's reason is not correct after cancelling multifd migration, the guest did not crash on the target host.

      Expected results:
      The guest shutdown's reason should be 'failed'.

      Additional info:
      1.The guest shutdown's reason is 'failed' after cancelling non-multifd migraiton.

            jdenemar@redhat.com Jiri Denemark
            rhn-support-yafu Yan Fu
            Jiri Denemark Jiri Denemark
            Luyao Huang Luyao Huang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: