When the bond status are flapping, it might be necessary to check what the kernel sees. This article describes some useful commands to check Bond status around OVS
# ovs-appctl bond/list
# ovs-appctl bond/list
bridge bond type slaves
xapi0 bond0 balance-slb eth2, eth1
Bond show:
# ovs-appctl bond/show bond0
bond_mode: balance-slb
lacp: off
bond-hash-algorithm: balance-slb
bond-detect-mode: carrier
updelay: 31000 ms
downdelay: 200 ms
next rebalance: 6240 ms
slave eth2: disabled
slave eth1: enabled
active slave
Bond LACP show
Gives actor (XS) and partner (physical switch) information.
To get more information about each bond
# ovs-appctl lacp/show bond0
--- bond0 ----
status: active negotiated
sys_id: 00:1b:21:57:b2:d5
sys_priority: 65534
aggregation key: 1
lacp_time: slow
slave: eth6: current attached
port_id: 1
port_priority: 65535
actor sys_id: 00:1b:21:57:b2:d5
actor sys_priority: 65534
actor port_id: 1
actor port_priority: 65535
actor key: 1
actor state: activity aggregation synchronized collecting distributing
partner sys_id: ae:a8:4d:85:c9:6c
partner sys_priority: 32768
partner port_id: 1
partner port_priority: 32768
partner key: 4
partner state: activity aggregation synchronized collecting distributing
slave: eth7: current attached
port_id: 2
port_priority: 65535
actor sys_id: 00:1b:21:57:b2:d5
actor sys_priority: 65534
actor port_id: 2
actor port_priority: 65535
actor key: 1
actor state: activity aggregation synchronized collecting distributing
partner sys_id: ae:a8:4d:85:c9:6c
partner sys_priority: 32768
partner port_id: 2
partner port_priority: 32768
partner key: 4
partner state: activity aggregation synchronized collecting distributing