Bug 1083844
Summary: | Original image checking get errors after commit back with lazy_refcounts=on+qcow2_v3 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | chuli |
Component: | qemu-kvm-rhev | Assignee: | Kevin Wolf <kwolf> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | areis, hhuang, juzhang, knoel, michen, rbalakri, sluo, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu 2.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 09:44: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
chuli
2014-04-03 05:10:34 UTC
I can reproduce this issue with 1.5.3-38, 1.5.3-50 and 1.5.3-57.so it looks like not a regression Confirmed. This is not a big deal because the dirty flag remains set, so no corruption will be caused by this. We'll want to fix it anyway. I sent a patch for this upstream: [PATCH] qcow2: Flush metadata during read-only reopen Fixed in upstream commit 4c2e5f8f, which is in 2.0. Reproduce this issue on qemu-kvm-rhev-1.5.3-60.el7ev.x86_64 with the same steps as comment #0. host info: # uname -r && rpm -q qemu-kvm 3.10.0-145.el7.x86_64 qemu-kvm-rhev-1.5.3-60.el7ev.x86_64 Results: # qemu-img commit -t none -f qcow2 verify-sp1.qcow2 Image committed. # qemu-img check verify.qcow2 ERROR cluster 12509 refcount=0 reference=1 ERROR OFLAG_COPIED data cluster: l2_entry=8000000030dd0000 refcount=0 2 errors were found on the image. Data may be corrupted, or further writes to the image may corrupt it. 12497/163840 = 7.63% allocated, 0.00% fragmented, 0.00% compressed clusters Image end offset: 819855360 ############################################# Verify this issue on qemu-kvm-rhev-2.1.0-2.el7.x86_64 with the same steps as comment #0. host info: # uname -r && rpm -q qemu-kvm-rhev 3.10.0-145.el7.x86_64 qemu-kvm-rhev-2.1.0-2.el7.x86_64 # qemu-img commit -t none -f qcow2 verify-sp1.qcow2 Image committed. # qemu-img check verify.qcow2 No errors were found on the image. 12081/163840 = 7.37% allocated, 0.00% fragmented, 0.00% compressed clusters Image end offset: 792592384 Base on above, this issue has been fixed correctly, move to VERIFIED status. Best Regards, sluo 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 |