Connectivity check
The problem of missing connectivity between nodes and pods may be caused by many different reasons. Follow the steps below to do the basic troubleshooting and identify the issue that occurs in your case.
Connectivity between nodes
Follow these steps to debug connectivity between two nodes.
- Check which uplink interfaces are present by running this command inside the FPP pod:
Output example:
- The above output shows that there are two uplink interfaces and one bond interface
uplink-bond. In this case, the bond interface has the IP address assigned:
Output example:
- Check the bond status to see if bond members are active and working fine:
Output example:
- To see if the FPP node sees other FPP pods in the cluster, check IP neighbors:
Output example:
- Check connectivity by pinging the IP address of the other FPP node:
Output example:
- To check if FPP uses the correct VFs, check the MAC address and logs on the FPP pod:
Output example:
By looking into the VPP logs, you can check the original MAC address of VFs.
In the example above, MAC 0E:55:B6:74:D0:EB and 56:30:19:47:3E:2F will show the VFs used on the node. Log
into the node, and run:
Output example:
VFs on the node should match the SRIOV Network object created while configuring the cluster. In the example above,
spoof checking is off and trust is on.
- Network traffic can be captured to check where the drops happen. See the Traffic capturing document for more information.
Connectivity between pods
Follow these steps to debug connectivity between two pods.
- Check which network, defined in the Network Attachment Definition (NAD), the pod uses:
- Search for this NAD to see its Container Network Interface (CNI) definition. The vni parameter indicates the VXLAN network that is not working and thus must be verified on the FPP pod.
Check the VXLAN with vni: 20 on FPP pods to see if the corresponding VXLAN tunnels are created.
- On the FPP pod, run this command to see if tunnels are created between FPP pods:
Output example:
The above output shows that there are two tunnels ([19] and [35]) to two different nodes in the cluster. Run the same command on the other FPP pod to see if the tunnel is created in both ways. This is the example of an output from the other pod:
Output example:
If the VXLAN tunnels do not exist, there's no connectivity between the nodes. See the debugging connectivity between nodes section for further analysis.