yumupgrades for production use, this is the repository for you.
Active subscription is required.
Red Hat Insights can detect this issue
Operating System and Software
- Rocky Linux 8 with
- CentOS 7 with
- Teaming with LACP runner
I’ve configured 2 team lacp interfaces both consisting of 2 ports using NetworkManager.
After reboot, every interface is up with only 1 port in it.
messages file or journal/
journalctlreports a NetworkManager or teamd error like:
Loop callback failed with: Cannot allocate memory
How to Fix
Origin of the Problem
The errors indicate that the teamlib function
nl_recvmsgs() which failed with
-ENOMEM. Therefore the 2nd slave was not added to the team.
The error occurs because the netlink socket receive buffers for that team entry was too small.
Repaired upstream by increasing the netlink socket buffer size used in libteam: libteam: double NETLINK_RCVBUF to fix -ENOMEM error
Included in CentOS 7 on Red Hat Private Bug 1689774 and in regular package updates in Rocky Linux 8.
- Enable teaming debug and look for the following errors:
eth0: Failed to set "priority". Loop callback failed with: Cannot allocate memory Failed loop callback: libteam_events, 0x
- Then after boot
teamdctl teamX statewill show that only one slave is added.