Bug 798857
Summary: | pkill qemu-kvm appear block I/O error after live snapshot for multiple vms in parallelly | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Sibiao Luo <sluo> |
Component: | qemu-kvm | Assignee: | Kevin Wolf <kwolf> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3 | CC: | acathrow, areis, bcao, bsarathy, chayang, flang, gyue, juzhang, kwolf, michen, mkenneth, qzhang, shu, sluo, tburke, virt-maint, wdai, whuang, wquan, xfu, xigao, xwei |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-0.12.1.2-2.275.el6 | Doc Type: | Bug Fix |
Doc Text: |
No documentation needed
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 11:44:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sibiao Luo
2012-03-01 05:41:14 UTC
From ""qemu-kvm: block/qcow2-cache.c:69: qcow2_cache_destroy: Assertion `c->entries[i].ref == 0' failed" error.", this issue seems duplicate Bug 798499 - Guest aborted sometimes when quit it after a savevm. however,this bug has extra info "block I/O error in device '2-drive-virtio-disk': Operation not permitted (1) block I/O error in device '2-drive-virtio-disk': Operation not permitted (1)".anyway,mark qa_ack+ first and cc kwolf. (In reply to comment #2) > From ""qemu-kvm: block/qcow2-cache.c:69: qcow2_cache_destroy: Assertion > `c->entries[i].ref == 0' failed" error.", this issue seems duplicate Bug 798499 > - Guest aborted sometimes when quit it after a savevm. however,this bug has > extra info "block I/O error in device '2-drive-virtio-disk': > Operation not permitted (1) > block I/O error in device '2-drive-virtio-disk': Operation not permitted > (1)".anyway,mark qa_ack+ first and cc kwolf. I have communicated this issue with kwolf, and he said "Some I/O requests seem to go wrong for some reason, and not quite sure where they would come form". According my test results, the "block I/O error" not always came up with "qemu-kvm: block/qcow2-cache.c:69: qcow2_cache_destroy: Assertion `c->entries[i].ref == 0' failed" at the same time. Some times only the aborted error produced, and some times they came up with together. I noticed that bdrv_close() doesn't call qemu_aio_flush(), so there can be dangling pointers. Not sure if it's related to the root cause of this bug. Sent a patch upstream, along with a qemu-iotests case: [PATCH 0/3] block: Drain requests in bdrv_close Sibiao has successfully tested a RHEL 6.3 backport, and I'm going to send it to rhvirt-patches now. *** Bug 794691 has been marked as a duplicate of this bug. *** *** Bug 805893 has been marked as a duplicate of this bug. *** Hi, version: qemu-kvm-rhev-0.12.1.2-2.277 I find another issue in the qemu-kvm-rhev spec , libguestfs requires "qemu-kvm >= 2:0.12.1.0" ,but qemu-kvm-rhev provides "qemu-kvm = 0.12.1.2-2.275.el6" it loses the "2:" , when update libguestfs it will show error message even I install the qemu-kvm-rhev : qemu-kvm >= 2:0.12.1.0 is needed by libguestfs-1:1.16.15-1.el6.x86_64 Do I need file a new bug to trace this issue? Wenlong Sorry ! Please ignore Comment 10 , it is my mistake :( verified this issue with the same steps. test environment and results as following: host info: # uname -r && rpm -q qemu-kvm-rhev 2.6.32-262.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.278.el6.x86_64 guest info: # uname -r 2.6.32-262.el6.x86_64 Actual results: After the step 4, pkill all the qemu-kill processes successfully. # qemu: terminating on signal 15qemu: terminating on signal 15 from pid 4936 from pid 4936 qemu: terminating on signal 15 from pid 4936 qemu: terminating on signal 15 from pid 4936 Above all, this issue has been fixed. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No documentation needed 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. http://rhn.redhat.com/errata/RHBA-2012-0746.html |