Bug 876601
Summary: | device_del cannot delete a virtio disk that is in use | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | FuXiangChun <xfu> | ||||||
Component: | qemu-kvm | Assignee: | Asias He <asias> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.4 | CC: | acathrow, areis, asias, bsarathy, chayang, dyasny, flang, juzhang, michen, mkenneth, qzhang, rhod, sluo, unicell, virt-maint | ||||||
Target Milestone: | rc | Keywords: | Regression | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-01-22 04:28: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: | |||||||||
Attachments: |
|
Description
FuXiangChun
2012-11-14 14:56:00 UTC
FYI Bug 734051 - rhel6.1 guest hang when unplug is using virtio disk from monitor Tested three scenarios. and scenario 1 can verify this bug 734051. 1. qemu-kvm-0.12.1.2-2.209 guest kernel-2.6.32-296.el6 result: secondary disk can be removed successfully via device_del 2. qemu-kvm-rhev-0.12.1.2-2.334.el6.x86_64.rpm guest kernel-2.6.32-296.el6 result: secondary disk cann't be removed via device_del(check guest and info pci/block) 3. qemu-kvm-rhev-0.12.1.2-2.334.el6.x86_64.rpm guest kernel-2.6.32-340.el6.x86_64 result: secondary disk cann't be removed via device_del(check guest and info pci/block) So, kernel-296 and qemu-kvm-209 support remove device after bug 734051 is fixed. For this bug, whatever kernel 296 or 340. The latest qemu-kvm don't support remove device. Another scenario, Tested this issue with qemu-kvm-0.12.1.2-2.334.el6.x86_64 and kernel 2.6.32-342.el6.x86_64 Result: device_del still cann't remove device is in use, but guest will show call trace and automatic restart after a few minutes. Meantime device will be automatically removed after guest reboot as well. I attached call trace message. Created attachment 647590 [details]
guest call trace message
Created attachment 653223 [details]
attached call trace again
summary testing result with fix v2 1. guest don't appear panic 2. device will be removed automatically after i/o operation is done(execute device_del image that is in use). 3. guest work well Asias has a working fix, but, As this is not a regression And it was not sent upstream yet And we are late in 6.4 I prefer not to take a risk and defer to 6.5. Asias will add a tech note explaining how to avoid it. sluo did similar hot-unplug test (20 times) here: https://bugzilla.redhat.com/show_bug.cgi?id=734051#c34 This also confirms we are ok with the hot-unplug process. The real problem is tracked by this bz: https://bugzilla.redhat.com/show_bug.cgi?id=870344 Another more rigorous hot-unplug test (1000 times) is ongoing, I will close this bug when the test passes. 1. QE reported the real problem is fixed at bz870344. 2. We have new bz: https://bugzilla.redhat.com/show_bug.cgi?id=892067 to track the issue during the 1000 times test. So I am closing this bug. *** This bug has been marked as a duplicate of bug 870344 *** |