| Summary: | Can not found the hotplug interface after interface hotplug to RHEL Fully Virtualized guest | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | wangyimiao <yimwang> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.7 | CC: | dallan, dyuan, llim, nigil, yoyzhang |
| 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-08-15 19:45:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
If guest domain install RHEL5.5. After hotplug the NIC device,can not found the hotplug PCI device message by command "lspci".
Steps:
1. Defined and started a RHEL5.5 domian.
# virsh start http_test
Domain http_test started
2. Prepare a xml as following:
<interface type='bridge'>
<mac address='00:16:36:63:1e:3f'/>
<source bridge='definebr1'/>
<script path='vif-bridge'/>
<target dev='vif3.1'/>
</interface>
3.Hotplug the NIC to guest.
# virsh attach-device http_test nic.xml
Device attached successfully
4. In guest, check the NIC device is works fine.
# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:16:36:4c:7f:53 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:16:36:4c:7f:53 brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
7: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:16:36:63:1e:3f brd ff:ff:ff:ff:ff:ff
# lspci | grep -i eth
00:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 20)
issue:
Can not found the hotplug PCI device message by command "lspci".
1.Virtnetwork 'definebr1' XML
# virsh net-dumpxml definebr1
<network>
<name>definebr1</name>
<uuid>fb09e249-7cce-252e-2417-c47d6d60b3d6</uuid>
<forward mode='nat'/>
<bridge name='definebr1' stp='on' delay='0' />
<ip address='10.0.0.1' netmask='255.255.255.0'>
<dhcp>
<range start='10.0.0.2' end='10.0.0.254' />
</dhcp>
</ip>
</network>
That issue can reproduce in rhel5.6 host.
libvirt-0.8.2-15.el5
kernel-xen-2.6.18-238.el5
xen-3.0.3-120.el5
Sorry for wrong version build verison,Clarify the version build: Version-Release number of selected component (if applicable): libvirt-0.8.2-18.el5 xen-3.0.3-130.el5 kernel-xen-2.6.18-259.el5 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. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. Please capture the issue in known defects doc and give the link here. |
Description of problem: Can not found the hotplug interface after interface hotplug. Version-Release number of selected component (if applicable): libvirt-0.8.2-18.el5 kvm-83-231.el5 kernel-xen-2.6.18-259.el5 How reproducible: 5/5 Steps to Reproduce: 1. Defined and started a RHEL6.0 domian. # virsh start http_test Domain http_test started 2. Prepare a xml as following: <interface type='bridge'> <mac address='00:16:36:63:1e:3f'/> <source bridge='definebr1'/> <script path='vif-bridge'/> <target dev='vif3.1'/> </interface> 3.Hotplug the NIC to guest. # virsh attach-device http_test nic.xml Device attached successfully 4.Check the hotplug interface in the domain guest. # ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:16:36:4c:7f:53 brd ff:ff:ff:ff:ff:ff Actual results: Can not found the hotplug interface after interface hotplug to rhel guest. Expected results: Hotplug interface should be shown in steps4.