"Timeout while ping backend kv-store with upperBound 15s."
"WARN CorfuRuntime-0 CorfuRuntime - Couldn't connect to any up-to-date layout servers, retrying in PT1S, Retried 0 times, systemDownHandlerTriggerLimit = 60"
<timestamp> | DEBUG | client-2 | o.c.r.c.NettyClientRouter | completeExceptionally: Remove request (Type: QUERY_NODE_REQUEST ID: #######) to <NSX-Manager-IP>:9000 due to WrongEpochException.
<timestamp> | ERROR | client-2 | o.c.i.m.f.EpochHandler | Updating layout servers failed due to: org.corfudb.runtime.exceptions.WrongEpochException: Wrong epoch. [expected=##]
<timestamp> | logunit_fsync_timer,id=<NSX-Manager-IP>:9000,metric_type=timer sum=22602729.174,count=1095,mean=20641.761803,upper=584631.735In this scenario, the Corfu database experienced 584 ms of latency, which is such a high number for a latency-sensitive database
VMware NSX
High Manager storage latency causes cluster instability, induces frequent Corfu epoch changes, and other log messages above.
VM performance charts (On vSphere UI, select Manager VM > Monitor > Advanced > Set 'View' to 'Datastore', adjust time Period as needed) show Read and Write latency well above 10ms.
Example chart:
Either datastore read/write latency must be resolved, or Manager VMs can be Storage vMotioned to another datastore with latency under 10ms.
NSX Storage Requirement documentation states,
"NSX appliance VMs that are backed by VSAN clusters may see intermittent disk write latency spikes of 10+ms. This is expected due to the way VSAN handles data (burst of incoming IOs resulting in queuing of data and delay). As long as the average disk access latency continues to be less than 10ms, intermittent latency spike should not have an impact on NSX Appliance VMs."
NSX Manager VM and Host Transport Node System Requirements
Following Knowledge Base articles can be helpful with further troubleshooting of the storage issue.
"performance has deteriorated" messages in ESXi host logs
Using esxtop to identify storage performance issues for ESXi (multiple versions)
"state in doubt; requested fast path state update" error in ESXi