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:
bashOutput example:
bashThe 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:bashOutput example:
bashCheck the bond status to see if bond members are active and working fine:
bashOutput example:
bashTo see if the FPP node sees other FPP pods in the cluster, check IP neighbors:
bashOutput example:
bashCheck connectivity by pinging the IP address of the other FPP node:
bashOutput example:
bashTo check if FPP uses the correct VFs, check the MAC address and logs on the FPP pod:
bashOutput example:
bashBy looking into the VPP logs, you can check the original MAC address of VFs. In the example above, MAC
0E:55:B6:74:D0:EBand56:30:19:47:3E:2Fwill show the VFs used on the node. Log into the node, and run:bashOutput example:
bashVFs on the node should match the SRIOV Network object created while configuring the cluster. In the example above, spoof checking is
offand trust ison.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:
yamlSearch 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.
yamlCheck the VXLAN with
vni: 20on 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:
bashOutput example:
bashThe 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:
bashOutput example:
bashIf the VXLAN tunnels do not exist, there's no connectivity between the nodes. See the debugging connectivity between nodes section for further analysis.