Network interface issues
Here you can find how to troubleshoot network interface issues of a StorPool cluster in a degraded state. For more information about solving other types of issues, see Degraded state troubleshooting.
Tip
The storpool net list command can be of help when troubleshooting networking issues; for details, see Network.
Interfaces are down
Some of the interfaces used by StorPool are not up.
You can check if this has happened using the storpool net list command, like this:
# storpool net list
------------------------------------------------------------
| nodeId | flags | net 1 | net 2 |
------------------------------------------------------------
| 23 | uU + AJ | | 1E:00:01:00:00:17 |
| 24 | uU + AJ | | 1E:00:01:00:00:18 |
| 25 | uU + AJ | 1A:00:01:00:00:19 | 1E:00:01:00:00:19 |
| 26 | uU + AJ | 12:00:01:00:F0:1A | 16:00:01:00:F0:1A |
| 27 | uU + AJ | 26:8A:07:43:EE:BC | 26:8A:07:43:EE:BD |
------------------------------------------------------------
Quorum status: 5 voting beacons up out of 5 expected
Flags:
u - packets recently received from this node
d - no packets recently received from this node
U - this node has enough votes to be in the quorum
D - this node does not have enough votes to be in the quorum
+ - this node considers itself in the quorum
B - the connection to this node is through a backup link; check the cabling
A - this node is using hardware acceleration
J - the node uses jumbo frames
N - a non-voting node
In the example above, nodes 23 and 24 are not connected to the first network.
This is the SP_IFACE1_CFG option in the /etc/storpool.conf file (see Interfaces for StorPool cluster communication and StorPool block protocol); you can check with the storpool_showconf SP_IFACE1_CFG command.
Note that in this example the beacons are up and running, and the system is processing requests through the second network. The possible reasons could be misconfigured interfaces, StorPool configuration, or backend switches.
No hardware acceleration
A HW acceleration qualified interface is running without hardware acceleration.
Once again, you can check this with storpool net list:
# storpool net list
------------------------------------------------------------
| nodeId | flags | net 1 | net 2 |
------------------------------------------------------------
| 23 | uU + J | 1A:00:01:00:00:17 | 1E:00:01:00:00:17 |
| 24 | uU + J | 1A:00:01:00:00:18 | 1E:00:01:00:00:18 |
| 25 | uU + AJ | 1A:00:01:00:00:19 | 1E:00:01:00:00:19 |
| 26 | uU + AJ | 12:00:01:00:F0:1A | 16:00:01:00:F0:1A |
| 27 | uU + AJ | 26:8A:07:43:EE:BC | 26:8A:07:43:EE:BD |
------------------------------------------------------------
Quorum status: 5 voting beacons up out of 5 expected
Flags:
u - packets recently received from this node
d - no packets recently received from this node
U - this node has enough votes to be in the quorum
D - this node does not have enough votes to be in the quorum
+ - this node considers itself in the quorum
B - the connection to this node is through a backup link; check the cabling
A - this node is using hardware acceleration
J - the node uses jumbo frames
N - a non-voting node
In the example above, nodes 23 and 24 are equipped with NICs qualified for, but are running without hardware acceleration. The possible reason could be either a BIOS or an OS misconfiguration, misconfigured kernel parameters on boot, or network interface misconfiguration.
Note that when a system was configured for hardware accelerated operation the cgroups configuration was also sized accordingly.
Thus, running in this state is likely to cause performance issues, due to less CPU cores isolated and reserved for the NIC interrupts and storpool_rdma threads.
Jumbo frames issues
Jumbo frames are expected, but not working on some of the interfaces.
This could be observed with storpool net list: if some of the two networks is with MTU lower than 9k, then the J flag will not be listed:
# storpool net list
-------------------------------------------------------------
| nodeId | flags | net 1 | net 2 |
-------------------------------------------------------------
| 23 | uU + A | 12:00:01:00:F0:17 | 16:00:01:00:F0:17 |
| 24 | uU + AJ | 1A:00:01:00:00:18 | 1E:00:01:00:00:18 |
| 25 | uU + AJ | 1A:00:01:00:00:19 | 1E:00:01:00:00:19 |
| 26 | uU + AJ | 1A:00:01:00:00:1A | 1E:00:01:00:00:1A |
-------------------------------------------------------------
Quorum status: 4 voting beacons up out of 4 expected
Flags:
u - packets recently received from this node
d - no packets recently received from this node
U - this node has enough votes to be in the quorum
D - this node does not have enough votes to be in the quorum
M - this node is being damped by the rest of the nodes in the cluster
+ - this node considers itself in the quorum
B - the connection to this node is through a backup link; check the cabling
A - this node is using hardware acceleration
J - the node uses jumbo frames
N - a non-voting node
If the node is not expected to be running without jumbo frames this might be an indication for a misconfigured interface or an issue with applying the interfaces configuration on boot. Note that an OS interface configured for jumbo frames without having the switch port properly configured leads to severe performance issues.
Network losses or delays
Some network interfaces are experiencing network loss or delays on one of the networks.
This might affect the latency for some of the storage operations.
Depending on the node where the losses occur, it might affect a single client or affect operations in the whole cluster in case of packet loss or delays are happening on a server node.
Stats for all interfaces per service are collected in the analytics platform and could be used to investigate network performance issues.
The /usr/lib/storpool/sdump tool will print the same statistics on each of the nodes with services. The usual causes for packet loss are:
Hardware issues (cables, SFP, and so on).
Floods and DDoS attacks “leaking” into the storage network due to misconfiguration.
Saturation of the CPU cores that handle the interrupts for the network cards and others when hardware acceleration is not available.
Network loops leading to saturated switch ports or overloaded NICs.