Bug 1171552
Summary: | Storage vm migration failed when running BurnInTes | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | juzhang <juzhang> |
Component: | qemu-kvm-rhev | Assignee: | Stefan Hajnoczi <stefanha> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | hhuang, huding, juzhang, michen, shu, tlavigne, virt-bugs, virt-maint, xfu |
Target Milestone: | rc | Flags: | shu:
needinfo-
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.1.2-17.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 09:59:29 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
juzhang
2014-12-08 05:07:51 UTC
Stefan pointed to a commit that fixed this upstream: commit 7ea2d269cb84ca7a2f4b7c3735634176f7c1dc35 Author: Alexey Kardashevskiy <aik> Date: Thu Oct 9 13:50:46 2014 +1100 block/migration: Disable cache invalidate for incoming migration When migrated using libvirt with "--copy-storage-all", at the end of migration there is race between NBD mirroring task trying to do flush and migration completion, both end up invalidating cache. Since qcow2 driver does not handle this situation very well, random crashes happen. This disables the BDRV_O_INCOMING flag for the block device being migrated once the cache has been invalidated. Does using the --copy-storage-all with libvirt reproduce this bug? It is not 100% clear whether this can be reproduced or whether the backport fixes the exact crash. But we need the backport I have posted, so please see if it reproduces and then try the backport: https://brewweb.devel.redhat.com/taskinfo?taskID=8358266 Fix included in qemu-kvm-rhev-2.1.2-17.el7 (In reply to Amit Shah from comment #2) > Stefan pointed to a commit that fixed this upstream: > > commit 7ea2d269cb84ca7a2f4b7c3735634176f7c1dc35 > Author: Alexey Kardashevskiy <aik> > Date: Thu Oct 9 13:50:46 2014 +1100 > > block/migration: Disable cache invalidate for incoming migration > > When migrated using libvirt with "--copy-storage-all", at the end of > migration there is race between NBD mirroring task trying to do flush > and migration completion, both end up invalidating cache. Since qcow2 > driver does not handle this situation very well, random crashes happen. > > This disables the BDRV_O_INCOMING flag for the block device being > migrated > once the cache has been invalidated. > > Does using the --copy-storage-all with libvirt reproduce this bug? Tried many times, did not reproduce, with burnintest(disk 100%, cpu 100%, ram 100%, network 100%), ping-pong migration, may be very small chance. 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/RHSA-2015-0624.html |