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

[libvirt] No persistent reservation manager when blockcopy to scsi pr destination

    • libvirt-11.1.0-1.el10
    • None
    • Low
    • 1
    • rhel-sst-virt-tools
    • ssg_virtualization
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • RHEL-9.7/10.1 remaining items
    • Requested
    • None
    • If docs needed, set a value
    • Unspecified
    • 11.1.0
    • None

      Description of problem:
      As subject

      Version-Release number of selected component (if applicable):
      libvirt-6.0.0-13.virtcov.el8.x86_64
      qemu-kvm-4.2.0-15.module+el8.2.0+6029+618ef2ec.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1. Start a VM
      2. Prepare a scsi disk for host.
      3. Prepare a xml of scsi pr disk dest with luks format

      1. cat pr.xml
        <disk type="block" device="lun">
        <driver name="qemu" type="raw"/>
        <source dev="/dev/sdc">
        <reservations managed="yes"/>
        </source>
        <target dev="sda" bus="scsi"/>
        </disk>

      4. Do blockcopy

      1. virsh blockcopy new sda --xml pr.xml --pivot --transient-job --verbose --wait
        error: internal error: unable to execute QEMU command 'blockdev-add': No persistent reservation manager with id 'pr-helper0'

      Actual results:
      As step4

      Expected results:
      pr-helper0 should be created for this blockcopy

      Additional info:

              pkrempa@redhat.com Peter Krempa
              rhn-support-hhan Han Han
              virt-maint virt-maint
              Sebastian Mitterle Sebastian Mitterle
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: