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

scsi-block: Error policy is ignored for host_status errors

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.1
    • rhel-10.0
    • qemu-kvm / Storage
    • None
    • qemu-kvm-10.0.0-1.el10
    • No
    • Important
    • 3
    • rhel-virt-storage
    • ssg_virtualization
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • virt-storage Sprint 4, virt-storage Sprint 5, Planning backlog
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      When using scsi-block, any errors returned in host_status are unconditionally reported to the guest instead of considering the error policy set with rerror/werror and e.g. stopping the VM instead.

      This issue shows with the reproducer from RHEL-65852 where scsi-block is backed by an iscsi block device on the host and the connection is interrupted by dropping all packets from the iscsi target (simulating a network disconnect) if /sys/block/sda/device/scsi_disk/*/max_retries is set to 0.

      This problem was introduced in upstream commit f3126d65b393, first contained in QEMU 6.0, so the first affected RHEL version should be 8.6/9.0.

              kwolf@redhat.com Kevin Wolf
              kwolf@redhat.com Kevin Wolf
              virt-maint virt-maint
              qing wang qing wang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: