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 1535125 - Mirror jobs for drives with iothreads make QEMU to abort with "block.c:1895: bdrv_attach_child: Assertion `bdrv_get_aio_context(parent_bs) == bdrv_get_aio_context(child_bs)' failed." [rhel-7.4.z]
Summary: Mirror jobs for drives with iothreads make QEMU to abort with "block.c:1895: ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Stefan Hajnoczi
QA Contact: Qianqian Zhu
URL:
Whiteboard:
Depends On: 1534491
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-16 16:32 UTC by Oneata Mircea Teodor
Modified: 2021-06-10 14:13 UTC (History)
15 users (show)

Fixed In Version: qemu-kvm-rhev-2.9.0-16.el7_4.14
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1534491
Environment:
Last Closed: 2018-03-08 10:04:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3317791 0 None None None 2018-01-16 16:33:17 UTC
Red Hat Product Errata RHBA-2018:0468 0 normal SHIPPED_LIVE qemu-kvm-rhev bug fix update 2018-03-11 14:36:10 UTC

Description Oneata Mircea Teodor 2018-01-16 16:32:49 UTC
This bug has been copied from bug #1534491 and has been proposed to be backported to 7.4 z-stream (EUS).

Comment 3 Miroslav Rezanina 2018-01-18 06:36:00 UTC
Fix included in qemu-kvm-rhev-2.9.0-16.el7_4.14

Comment 4 Qianqian Zhu 2018-01-18 07:25:09 UTC
Verified on qemu-kvm-rhev-2.9.0-16.el7_4.14.x86_64:

Steps:
1. # qemu-img create -f raw base.img 1g
2. # qemu-img create -f qcow2 -o backing_file=base.img top1.qcow2
Formatting 'top1.qcow2', fmt=qcow2 size=1073741824 backing_file=base.img encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
3. # qemu-img create -f qcow2 -o backing_file=base.img top2.qcow2
4. # /usr/libexec/qemu-kvm -m 1g -drive if=none,file=top1.qcow2,format=qcow2,id=drive0 -object iothread,id=iothread0 -device virtio-blk-pci,iothread=iothread0,drive=drive0 -monitor stdio 
5. (qemu) drive_mirror -n drive0 top2.qcow2
6. (qemu) info block-jobs
Type mirror, device drive0: Completed 0 of 0 bytes, speed limit 0 bytes/s
7. (qemu)  block_job_complete drive0

Result:
Block job completed correctly:
(qemu) info block
drive0 (#block516): top2.qcow2 (qcow2)
    Cache mode:       writethrough
    Backing file:     base.img (chain depth: 1)

ide1-cd0: [not inserted]
    Removable device: not locked, tray closed

floppy0: [not inserted]
    Removable device: not locked, tray closed

sd0: [not inserted]
    Removable device: not locked, tray closed
(qemu) quit

Comment 6 Qianqian Zhu 2018-01-18 09:16:07 UTC
Moving to VERIFIED per comment 4

Comment 9 errata-xmlrpc 2018-03-08 10:04:50 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/RHBA-2018:0468


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