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

"--disks-port" is not released immediately after migration

    • libvirt-10.0.0-3.el9
    • None
    • Low
    • rhel-sst-virtualization
    • ssg_virtualization
    • 26
    • None
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Migrate vm with specified disk port, it failed at the second migration.

      Please provide the package NVR for which bug is seen:

      libvirt-9.10.0-1.el9.x86_64

      How reproducible:

      100%

      Steps to reproduce

      1. Start a vm using local storage
      2. Migrate vm to target host with specified disk port
        #  virsh migrate vm2 qemu+ssh://{target_host}/system --live --p2p --copy-storage-all --disks-port 49888
        
      1. After migration completes, shutdown vm on target host
      2. Start vm on source host, migrate again with specified disk port, it failed:
        #  virsh migrate vm2 qemu+ssh://{target_host}/system --live --p2p --copy-storage-all --disks-port 49888
        error: internal error: Failed to reserve port 49888
        
      1. Migrate again, it can succeed this time:
        #  virsh migrate vm2 qemu+ssh://{target_host}/system --live --p2p --copy-storage-all --disks-port 49888
        

      Expected results

      No such error "Failed to reserve port 49888"

      Actual results

      The second migration failed.

              pkrempa@redhat.com Peter Krempa
              rhn-support-fjin Fangge Jin
              Liping Cheng
              Peter Krempa Peter Krempa
              Luyao Huang Luyao Huang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: