| Summary: | Interface cannot be hot-unplugged from guest on Xen HVM | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | mliu | ||||
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.7 | CC: | dallan, dyuan, hjiang, mliu, mzhan, rwu, zpeng | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-10-17 00:33:02 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
mliu
2011-05-19 05:22:24 UTC
This problem can be reproduced when I do virtual disk hot-unplug. This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug. Please provide the output of virt-manager --debug when reproducing. Reproduced with the following components and steps: Components: virt-manager-0.6.1-14.el5 libvirt-0.8.2-22.el5 xen-3.0.3-132.el5 [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.18-274.el5xen #1 SMP Fri Jul 8 17:45:44 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux Steps: 1. Add a interface device (type is "pcnet") to a shut-down guest. 2. Start the guest. 3. When the guest boots up completely, remove the "pcnet" interface. Actual results: the NIC is still in the list, after reboot vm, the NIC is disappeared. Expected results: the NIC is deleted successfully Additional info: Interface with type "ne2k_pci" and "rtl8139" has similar problems. But interface with type "hypervisor default" has no this problem. Created attachment 512629 [details]
virt-manager log message, for #virt-manager --debug could not take effect in the rhel5.7.
This is either a xen or libvirt bug.
My xenfv and xenpv guest both have network devices like:
<interface type='bridge'>
<mac address='00:16:3e:72:cb:f3'/>
<source bridge='xenbr0'/>
<script path='vif-bridge'/>
</interface>
If I remove that device with 'virsh detach-device' on a running pv guest, virsh dumpxml will no longer show the network device after a couple seconds.
For a fullvirt guest though, detach-device succeeds but the network device is never removed from the dumpxml output.
Reassigning to libvirt for further triage
|