While starting the bond/team device getting "Error: Connection activation failed: Failed to find a compatible device for this connection."
Environment
- Red Hat Enterprise Linux (all versions)
Issue
- While starting the bond/team device getting
Error: Connection activation failed: Failed to find a compatible device for this connection.
- After server patching and reboot, unable to start the bond/team device with the below error:
Bringing up interface team0: Error: Connection activation failed: Failed to find a compatible device for this connection
Resolution
There is more than one possible cause for the Error: Connection activation failed: Failed to find a compatible device for this connection.
Ensure the team/bond module is loaded.
# lsmod | grep -i bond
bonding 152979 0
# lsmod | grep -i team
team_mode_activebackup 12838 1
team 39600 1 team_mode_activebackup
Make sure the /lib/modules/<kernel-version>/modules.dep
file is present and not empty. However, If the modules.dep file is empty, refer: How to create modules.dep file for newly installed kernel without booting with it?
# ls -lh /lib/modules/<kernel-version>/modules.dep
-rw-r--r-- 1 root root 265K Jan 11 14:16 /lib/modules/<kernel-version>/modules.dep
Root Cause
The Connection activation failed: Failed to find a compatible device
error is most commonly seen when trying to activate an interface (either manually or automatically) where the bond/team driver is not loaded or is unable to load it.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments