Bug 1761139

Summary: System journal flooded with teamd messages since 7.7 upgrade
Product: Red Hat Enterprise Linux 7 Reporter: Strahil Nikolov <hunter86_bg>
Component: libteamAssignee: Hangbin Liu <haliu>
Status: CLOSED DUPLICATE QA Contact: LiLiang <liali>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.7CC: network-qe, sukulkar
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-25 09:55:53 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 Flags
nmcli_con_show_team0-output none

Description Strahil Nikolov 2019-10-12 20:21:42 UTC
Created attachment 1625109 [details]
nmcli_con_show_team0-output

Description of problem:
The system journal is constantly flooded with messages like:

Oct 12 23:14:08 system teamd_team0[1940]: Remapped hash "93" (delta 132) to port enp4s0f0.
Oct 12 23:14:08 system teamd_team0[1940]: Remapped hash "124" (delta 132) to port enp4s0f0.
Oct 12 23:14:08 system teamd_team0[1940]: Port enp5s6f0 rebalanced, delta: 1655530
Oct 12 23:14:08 system teamd_team0[1940]: Port enp5s5f0 rebalanced, delta: 1053906
Oct 12 23:14:08 system teamd_team0[1940]: stats update for hash "32": "1274484777".
Oct 12 23:14:08 system teamd_team0[1940]: stats update for hash "18": "269101409".
Oct 12 23:14:08 system teamd_team0[1940]: stats update for port enp3s0f1: "9694559367".
Oct 12 23:14:08 system teamd_team0[1940]: stats update for port enp3s0f0: "11871983157".


Version-Release number of selected component (if applicable):
teamd-1.27-9.el7.x86_64
NetworkManager-team-1.18.0-5.el7_7.1.x86_64
NetworkManager-1.18.0-5.el7_7.1.x86_64
libteam-1.27-9.el7.x86_64

How reproducible:
Affected 2 systems , so most probably always.

Steps to Reproduce:
1.Use 'nmcli' to create a team device with 6 ports and loadbalance based on mac ip and port (see attachment)
2.Update to 7.7
3.Reboot

Actual results:
System's journal is constantly flooded with messages from teamd

Expected results:
Less frequent or no spam in the journal to be visible.

Additional info:
nmcli con show attached as file

Comment 2 Strahil Nikolov 2019-10-12 20:40:52 UTC
According to https://github.com/jpirko/libteam/issues/23 & https://lists.fedorahosted.org/archives/list/libteam@lists.fedorahosted.org/thread/JBB3BYA4XKB3XH2NAGVKI3ID2HBPKULK/ these should only be enabled when debug is on ,which is not the case:

~~~
[root@system system]# nmcli general logging
LEVEL  DOMAINS                                                                                                                                                                                                                       
INFO   PLATFORM,RFKILL,ETHER,WIFI,BT,MB,DHCP4,DHCP6,PPP,IP4,IP6,AUTOIP4,DNS,VPN,SHARING,SUPPLICANT,AGENTS,SETTINGS,SUSPEND,CORE,DEVICE,OLPC,INFINIBAND,FIREWALL,ADSL,BOND,VLAN,BRIDGE,TEAM,CONCHECK,DCB,DISPATCH,AUDIT,SYSTEMD,PROXY 

[root@system system]# ps aux | grep teamd
root      1940  0.0  0.0  66704  1988 ?        S    Oct08   4:43 /usr/bin/teamd -o -n -U -D -N -t team0 -c {"device": "team0", "runner": {"name": "loadbalance", "tx_hash": ["eth", "l3", "l4"], "tx_balancer": {"name": "basic"}}, "ports": {"enp3s0f0": {}, "enp3s0f1": {}, "enp4s0f0": {}, "enp4s0f1": {}, "enp5s5f0": {}, "enp5s5f1": {}, "enp5s6f0": {}, "enp5s6f1": {}}}


[root@system system]# teamdctl  team0 state dump | grep debug
        "debug_level": 0,
~~~

Comment 3 Hangbin Liu 2019-10-25 09:55:53 UTC

*** This bug has been marked as a duplicate of bug 1758072 ***