Bug 1343021
Summary: | Core dump when quit from HMP after migration finished | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | yduan |
Component: | qemu-kvm-rhev | Assignee: | Fam Zheng <famz> |
Status: | CLOSED ERRATA | QA Contact: | FuXiangChun <xfu> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | amit.shah, chayang, dgilbert, juzhang, knoel, stefanha, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.6.0-26.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-07 21:14:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
yduan
2016-06-06 10:51:15 UTC
virtio-scsi dataplane issue. Assigning to Fam. If this becomes urgent assign to me or Paolo, but this is unlikely to be urgent. (In reply to Stefan Hajnoczi from comment #2) > virtio-scsi dataplane issue. Assigning to Fam. > > If this becomes urgent assign to me or Paolo, but this is unlikely to be > urgent. HMP usage is not supported in RHEL, but the coredump is scary, so it should be investigated. Can reproduce with upstream 2.7 too. It's not limited to HMP (migrate and quit from QMP also crashes), so it's a geniune bug. The internal problem is that, during "quit", we remove BDS from each BB, but don't stop dataplane. Right after the aio_context_release() in blk_remove_all_bs(), dataplane threads try to move on, and get surprises because the block backend is suddenly detached from images. The obvious fix is to just stop dataplane threads before removing. Proposed upstream fix: https://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg01717.html Fix included in qemu-kvm-rhev-2.6.0-26.el7 Reproduced with qemu-kvm-rhev-2.6.0-4.el7.x86_64 and verified with qemu-kvm-rhev-2.6.0-26.el7.x86_64. Steps are same as comment 0. 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://rhn.redhat.com/errata/RHBA-2016-2673.html |