RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1716347 - Qemu Core dump when quit vm that's in status "paused(io-error)" with data plane enabled
Summary: Qemu Core dump when quit vm that's in status "paused(io-error)" with data pla...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: qemu-kvm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.0
Assignee: Kevin Wolf
QA Contact: Xueqiang Wei
URL:
Whiteboard:
Depends On: 1631227
Blocks: 1649160
TreeView+ depends on / blocked
 
Reported: 2019-06-03 09:42 UTC by Kevin Wolf
Modified: 2019-11-06 14:33 UTC (History)
13 users (show)

Fixed In Version: qemu-kvm-2.12.0-84.module+el8.1.0+3980+a02d9447
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1631227
Environment:
Last Closed: 2019-11-05 20:50:11 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3345 0 None None None 2019-11-05 20:50:50 UTC

Comment 4 Xueqiang Wei 2019-08-20 08:04:42 UTC
Tested with qemu-kvm-2.12.0-84.module+el8.1.0+3980+a02d9447, not hit this issue. So set status to VERIFIED.


Versions:
kernel-4.18.0-131.el8.x86_64
qemu-kvm-2.12.0-84.module+el8.1.0+3980+a02d9447


Steps:
1. Mount the gluster volume to local host, and full write it;

# mount.glusterfs gluster-virt-qe-01.lab.eng.pek2.redhat.com:/vol /home/gluster/
# dd if=/dev/zero of=/home/gluster/test.bin bs=1M oflag=direct
dd: error writing '/home/gluster/test.bin': No space left on device


2. Boot the vm with the image stored on the gluster volume;
/usr/libexec/qemu-kvm \
    -name 'rhel8.1' \
    -machine q35 \
    -nodefaults \
    -vga qxl \
    -object iothread,id=iothread0 \
    -rtc base=utc,clock=host,driftfix=slew \
    -device pcie-root-port,id=pcie.0-root-port-3,slot=3,chassis=3,addr=0x3,bus=pcie.0 \
    -drive if=none,cache=none,format=qcow2,id=drive_image1,aio=native,file=gluster://gluster-virt-qe-01.lab.eng.pek2.redhat.com/vol/rhel810-64-virtio.qcow2 \
    -device  virtio-blk-pci,id=image2,drive=drive_image1,write-cache=on,iothread=iothread0,bus=pcie.0-root-port-3,bootindex=0 \
    -device   pcie-root-port,id=pcie.0-root-port-2,slot=2,chassis=2,addr=0x2 \
    -device virtio-scsi-pci,id=scsi0,iothread=iothread0,bus=pcie.0-root-port-2,addr=0x0 \
    -blockdev driver=raw,cache.direct=off,cache.no-flush=on,file.filename=/home/data.qcow2,node-name=data_disk1,file.driver=file \
    -device scsi-hd,drive=data_disk1,id=data1,bootindex=1 \
    -vnc :0  \
    -monitor stdio \
    -m 4096 \
    -smp 8 \
    -device virtio-net-pci,mac=9a:b5:b6:b1:b2:b3,id=idMmq1jH,vectors=4,netdev=idxgXAlm,bus=pcie.0,addr=0x9  \
    -netdev tap,id=idxgXAlm \
    -qmp tcp:localhost:4444,server,nowait  \
    -device nec-usb-xhci,id=usb1,bus=pcie.0,addr=0x5 -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \

3. check vm status with qmp

# telnet localhost 4444
Trying ::1...
Connected to localhost.
Escape character is '^]'.
{"QMP": {"version": {"qemu": {"micro": 0, "minor": 12, "major": 2}, "package": "qemu-kvm-2.12.0-84.module+el8.1.0+3980+a02d9447"}, "capabilities": []}}

{"execute":"qmp_capabilities"}
{"return": {}}

{"execute":"query-status"}
{"return": {"status": "io-error", "singlestep": false, "running": false}}

{"timestamp": {"seconds": 1566287354, "microseconds": 377626}, "event": "RESUME"}
{"timestamp": {"seconds": 1566287354, "microseconds": 378318}, "event": "BLOCK_IO_ERROR", "data": {"device": "drive_image1", "nospace": false, "node-name": "#block254", "reason": "No medium found", "operation": "write", "action": "report"}}
{"timestamp": {"seconds": 1566287354, "microseconds": 379323}, "event": "BLOCK_IO_ERROR", "data": {"device": "drive_image1", "nospace": false, "node-name": "#block254", "reason": "No medium found", "operation": "write", "action": "report"}}
{"timestamp": {"seconds": 1566287354, "microseconds": 379582}, "event": "BLOCK_IO_ERROR", "data": {"device": "drive_image1", "nospace": false, "node-name": "#block254", "reason": "No medium found", "operation": "write", "action": "report"}}

4. check vm status in hmp:
    (qemu) info status 
VM status: paused (io-error)

5. Quit vm;
  (qemu)q


Actual result:
No core dump and qemu can quit successfully although vm in "paused(io-error)" status.

Comment 6 errata-xmlrpc 2019-11-05 20:50:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3345


Note You need to log in before you can comment on or make changes to this bug.