data corruption in storage attached to VM using KVM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Chris J Arges | ||
Quantal |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
When using qemu-kvm-1.0 occasionally qcow2 disks will be corrupted.
[Test Case]
A test case can be downloaded here:
http://
Extract the contents and run ./create-disk, then ./test-kvm to test the currently installed KVM. Keep in mind that 100GB+ of disk is required to run the test.
[Regression Potential]
The patch is a backport of commit 143550a83ef4eef
--
When using io_perf corruption can be detected when using qemu-kvm-1.0.
A test case can be downloaded here:
http://
Extract the contents and run ./create-disk, then ./test-kvm to test the currently installed KVM. Keep in mind that 100GB+ of disk is required to run the test.
This affects the qemu-kvm version in Precise, but is fixed in Quantal and beyond.
It is expected that running the test case results in no disk corruption; however we detect corruption on Precise.
Running git bisect on this test finds that commit 68d100e905453eb
Running git bisect in reverse finds that commit b7ab0fea37c15ca
However, b7ab0fea cannot be easily backported to v1.0 and 68d100e9 is a large change to revert. However, both changes seem to indicate that the problem lies in the qcow2 parts of the code.
bug 1040033 seems to be a related issue.
Changed in qemu-kvm (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in qemu-kvm (Ubuntu): | |
importance: | High → Undecided |
status: | New → Fix Released |
Changed in qemu-kvm (Ubuntu Quantal): | |
status: | New → Fix Released |
description: | updated |
Changed in qemu-kvm (Ubuntu Precise): | |
status: | New → Triaged |
Changed in qemu-kvm (Ubuntu Quantal): | |
importance: | Undecided → High |
Changed in qemu-kvm (Ubuntu Precise): | |
assignee: | nobody → Chris J Arges (arges) |
status: | Triaged → In Progress |
This patch applied against v1.0 fixes the issue.