Bug 1874001
| Summary: | teamd always using 100% cpu usage | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Vladimir Benes <vbenes> | |
| Component: | libteam | Assignee: | Xin Long <lxin> | |
| Status: | CLOSED ERRATA | QA Contact: | LiLiang <liali> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 8.3 | CC: | daniel.arena, extras-qa, jiri, liali, lmiksik, lxin, network-qe, ptalbert | |
| Target Milestone: | rc | Keywords: | Regression | |
| Target Release: | 8.3 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | libteam-1.31-2.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1873128 | |||
| : | 1894546 (view as bug list) | Environment: | ||
| Last Closed: | 2020-11-04 01:53:44 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: | ||||
| Bug Depends On: | 1873128 | |||
| Bug Blocks: | 1842946, 1894546 | |||
|
Description
Vladimir Benes
2020-08-31 09:44:39 UTC
we do see the exactly same behavior in rhel8.3 with this reproducer:
# nmcli con add type team con-name team0 ifname team0 team.runner loadbalance team.runner-tx-hash eth,ipv4,ipv6 team.runner-tx-balancer basic ipv4.method disable ipv6.method ignore
# nmcli con add type ethernet ifname enp8s0 con-name enp8s0 master team0
# top -n 1 | head
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28211 root 20 0 59712 3152 2628 R 37,5 0,2 7:49.69 teamd
25631 root 20 0 841072 33456 31720 S 31,2 1,8 6:59.08 rsyslogd
20503 root 20 0 404460 210928 209428 S 25,0 11,3 6:13.08 systemd-journal
with flood in logs:
srp 31 05:43:33 beaker-networkmanager-custom-upstream-1846 teamd_team0[28211]: eth5: Enabling port
srp 31 05:43:33 beaker-networkmanager-custom-upstream-1846 teamd_team0[28211]: Port eth5 rebalanced, delta: 0
srp 31 05:43:33 beaker-networkmanager-custom-upstream-1846 teamd_team0[28211]: <changed_option_list>
srp 31 05:43:33 beaker-networkmanager-custom-upstream-1846 teamd_team0[28211]: *enabled (port:eth5) true
srp 31 05:43:33 beaker-networkmanager-custom-upstream-1846 teamd_team0[28211]: </changed_option_list>
keeping the system heavy loaded
libteam-1.31-1.el8.x86_64 NetworkManager-1.26.0-6.el8.x86_64 kernel-4.18.0-234.el8.x86_64 reproduced:
[root@hp-dl380g10-04 ~]# uname -r
4.18.0-234.el8.x86_64
[root@hp-dl380g10-04 ~]# rpm -q libteam
libteam-1.31-1.el8.x86_64
teamd -d -c '{"runner":{"name":"loadbalance"}}'
ip link set team0 up
teamdctl team0 port add ens2f0
teamdctl team0 port add ens2f1
top
2532 root 20 0 59716 2440 1836 R 99.7 0.0 0:31.80 teamd
verified :
[root@hp-dl380g10-04 ~]# rpm -q libteam
libteam-1.31-2.el8.x86_64
[root@hp-dl380g10-04 ~]# ps -C teamd -o pid,pcpu,pmem,cmd
PID %CPU %MEM CMD
3062 0.0 0.0 teamd -d -c {"runner":{"name":"loadbalance"}}
Yeah, libteam-1.31-2.el8.x86_64 works well! Could you do proper build? Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (libteam bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4512 |