Bug 653828
Summary: | bonding failover in every monitor interval with virtio-net driver | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Mark Wu <dwu> | ||||
Component: | kernel | Assignee: | Jiri Olsa <jolsa> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.5 | CC: | gozen, jolsa, juzhang, qzhang, ykaul | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 653832 (view as bug list) | Environment: | |||||
Last Closed: | 2011-07-21 10:20:08 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 653832 | ||||||
Attachments: |
|
Description
Mark Wu
2010-11-16 09:25:48 UTC
Created attachment 460793 [details]
update timestamp of rx and tx in virtio-net driver
Is it windows guest? You opened the report for virtio-win and not kvm. We rather fix this on rhel6 host so please retest over rhel6 Dor, It should be a bug of virtio-net driver. I am not sure how the component became virtio-win. I am sorry for that confusion. According to the code, it should also have impact on rhel6. Anyway, I will retest it on rhel6 guest. Thanks for the patch. The part for last_rx is not needed as it is updated in skb_bond_should_drop, while trans_start is really omitted and need to be taken care of. Please test following kernel, it fixies the issue for me. http://people.redhat.com/jolsa/653828/ I'll post the change soon, thanks. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. in kernel-2.6.18-243.el5 You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5 Detailed testing feedback is always welcomed. Reproduced with guest kernel-2.6.18-238.el5. 1. Boot guest with 2 virtio nic: /usr/libexec/qemu-kvm -no-hpet -no-kvm-pit-reinjection -usbdevice tablet -rtc-td-hack -startdate now -name rhel5-verify -smp 2,cores=2 -k en-us -m 1G -boot c -net nic,vlan=1,macaddr=00:1a:2a:42:29:10,model=virtio -net tap,vlan=1,script=/etc/qemu-ifup,downscript=no -net nic,vlan=2,macaddr=00:1a:2a:42:25:12,model=virtio -net tap,vlan=2,script=/etc/qemu-ifup,downscript=no -drive file=/media/rhel5.6-64.qcow2,media=disk,if=virtio,cache=off,boot=on,format=qcow2,werror=stop -cpu qemu64,+sse2 -M rhel5.6.0 -notify all -balloon none -monitor stdio -vnc :10 2. configure a bond0 for eth0 and eth1. 3. restart guest network. Result: dmesg in guest: bonding: bond0: link status definitely down for interface eth1, disabling it bonding: bond0: making interface eth0 the new active one. bonding: bond0: link status definitely up for interface eth1. bonding: bond0: link status definitely down for interface eth0, disabling it bonding: bond0: making interface eth1 the new active one. bonding: bond0: link status definitely up for interface eth0. bonding: bond0: link status definitely down for interface eth1, disabling it bonding: bond0: making interface eth0 the new active one. bonding: bond0: link status definitely up for interface eth1. bonding: bond0: link status definitely down for interface eth0, disabling it bonding: bond0: making interface eth1 the new active one. bonding: bond0: link status definitely up for interface eth0. bonding: bond0: link status definitely down for interface eth1, disabling it bonding: bond0: making interface eth0 the new active one. bonding: bond0: link status definitely up for interface eth1. bonding: bond0: link status definitely down for interface eth0, disabling it bonding: bond0: making interface eth1 the new active one. bonding: bond0: link status definitely up for interface eth0. bonding: bond0: link status definitely down for interface eth1, disabling it bonding: bond0: making interface eth0 the new active one. bonding: bond0: link status definitely up for interface eth1. bonding: bond0: link status definitely down for interface eth0, disabling it bonding: bond0: making interface eth1 the new active one. bonding: bond0: link status definitely up for interface eth0. bonding: bond0: link status definitely down for interface eth1, disabling it bonding: bond0: making interface eth0 the new active one. bonding: bond0: link status definitely up for interface eth1. bonding: bond0: link status definitely down for interface eth0, disabling it bonding: bond0: making interface eth1 the new active one. Verified pass with guest kernel-2.6.18-262.el5. Tested with the same steps. In guest dmesg: bonding: bond0: making interface eth0 the new active one. bonding: bond0: first active interface up! bonding: bond0: enslaving eth0 as an active interface with an up link. bonding: bond0: Adding slave eth1. bonding: bond0: Warning: failed to get speed and duplex from eth1, assumed to be 100Mb/sec and Full. bonding: bond0: enslaving eth1 as a backup interface with an up link. Then I set_link down for one network interface and ping arp_ip_target, ping available. Set_link down for the second network interface, can not ping arp_ip_target. set_link up one network interface, can ping arp_ip_target again. So, this bug is verified pass. according comment10,set this issue as verified. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1065.html |