bonding
bonding copied to clipboard
Failure when there are more than 10 interfaces
When using this script to set up bonding on a server with 12 interfaces, I got the following traceback:
Scanning for bonding peers...
Enabling interfaces............
Sleeping 5 seconds for switch port negotiation...
Scanning....Traceback (most recent call last):
File "/home/rack/.adc/bonding/bonding.py", line 949, in
Looking into this, it appears that the script enabled interfaces eth0-9, but did not enable eth10 or eth11 and then failed while scanning for peers.
The first 8 interfaces (eth0-7) are standard gigabit ethernet and eth8-11 are 10G fiber ethernet, but that does not seem to matter. The bonding script worked after I manually enabled the interfaces. Please let me know if you need any more info.
Thanks, Danny