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

--persistent doesn't work well for non-p2p migration

    • libvirt-10.10.0-1.el9
    • Yes
    • Moderate
    • Regression
    • rhel-sst-virtualization
    • ssg_virtualization
    • 18
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • All
    • 10.10.0
    • None

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

      Define and start a vm, update vm inactive xml, then migrate vm with --persistent and without --p2p. After migration succeeds, check inactive xml on target host, it doesn't show the updated elements.

      Please provide the package NVR for which bug is seen:

      libvirt-10.0.0-4.el9.x86_64

      How reproducible:

      100%

      Steps to reproduce

      1. Define and start a vm
      2. Update the vm inactive xml, for example, change graphics autoport from yes to no:
      # cat vnc.xml 
      <graphics type="vnc" port="5903" autoport="no" listen="127.0.0.1">
        <listen type="address" address="127.0.0.1"/>
      </graphics>
      
      # virsh update-device fjin vnc.xml --config 
      Device updated successfully
      
      # virsh dumpxml fjin --xpath //graphics --inactive
      <graphics type="vnc" port="-1" autoport="yes" listen="127.0.0.1">
        <listen type="address" address="127.0.0.1"/>
      </graphics>
      
      1. Migrate vm with --persistent and without --p2p
      # virsh migrate --live fjin qemu+tcp://<target_host_address>system --undefinesource --persistent
      
      
      1. Check inactive vm xml on target host
      # virsh dumpxml fjin --inactive --xpath //graphics
      <graphics type='vnc' port='-1' autoport='yes'>  
          <listen type='address'/>  
      </graphics>
      

      Expected results

      The inactive vm xml on target host should show vnc autoport=no

      Actual results

      The inactive vm xml on target host shows vnc autoport=yes

      Additional info

      1. p2p migration with --persistent works well
      2. libvirt-9.10.0-1.el9.x86_64 works well

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

                Created:
                Updated: