vSAN Host Not Contributing Stats reports on all hosts except the master node since customized firewall "vSphere Web Client (443, 902)" ruleset
search cancel

vSAN Host Not Contributing Stats reports on all hosts except the master node since customized firewall "vSphere Web Client (443, 902)" ruleset

book

Article ID: 462789

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

1. You see a Warning in Cluster > Monitor > Virtual SAN > Performance service > All hosts contributing stats.

2. All ESXi hosts except the master node are listed in the Hosts Not Contributing Stats field.

3. vsanmgmt.log shows network timeout to other cluster member via vSAN network.

Wa(12) vsand[2102214]: [opID=vsan-xxxx-xxxx statscollector::RetrieveRemoteStats] RetrieveRemoteStats_VsiConnector warning: no available vmknic to retrieve remote stats.
In(14) vsand[2102214]: [opID=vsan-xxxx-xxxx VsanPyVmomiProfiler::log] Profiler:
In(14) vsand[2102214]: [opID=vsan-xxxx-xxxx VsanPyVmomiProfiler::logProfile]   Mode normalMode, profiling RetrieveRemoteStats_VsiConnector from host ['xxx.xxx.xxx.xxx'], interval 300: 30.01s, consumed: 144320KB (+0KB), consumedPeak: 153168KB (+0KB), effectiveMin: 174080KB (+0KB), effectiveMinPeak: 182596KB (+0KB), implicitMin: 171844KB (+0KB), requestedMinPeak: 182596KB (+0KB)
Er(11) vsand[2102331]: [opID=vsan-xxxx-xxxxstatscollector::RetrieveRemoteStats] RetrieveRemoteStats_VsiConnector exception: VMK vmk1 can not connect to host xxx.xxx.xxx.xxx.
Er(11)[+] vsand[2102331]: Traceback (most recent call last):
Er(11)[+] vsand[2102331]:   File "/usr/lib/vmware/vsan/perfsvc/statscollector.py", line 1293, in RetrieveRemoteStats
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/site-packages/pyVmomi/VmomiSupport.py", line 618, in <lambda>
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/site-packages/pyVmomi/VmomiSupport.py", line 391, in _InvokeMethod
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/site-packages/pyVmomi/SoapAdapter.py", line 1555, in InvokeMethod
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/site-packages/pyVmomi/SoapAdapter.py", line 1641, in GetConnection
Er(11)[+] vsand[2102331]:   File "/usr/lib/vmware/vsan/perfsvc/VsanHealthUtil.py", line 1800, in __call__
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/http/client.py", line 1303, in request
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/http/client.py", line 1349, in _send_request
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/http/client.py", line 1298, in endheaders
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/http/client.py", line 1058, in _send_output
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/http/client.py", line 996, in send
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/http/client.py", line 1468, in connect
Er(11)[+] vsand[2102331]:   File "/lib64/python3.11/http/client.py", line 962, in connect
Er(11)[+] vsand[2102331]:   File "/usr/lib/vmware/vsan/perfsvc/VsanHealthUtil.py", line 1945, in vsanperf_create_connection
Er(11)[+] vsand[2102331]:   File "/usr/lib/vmware/vsan/perfsvc/VsanHealthUtil.py", line 1899, in VsanPerfCreateConnection
Er(11)[+] vsand[2102331]:   File "/usr/lib/vmware/vsan/perfsvc/VsanHealthUtil.py", line 1890, in VsanPerfCreateConnection
Er(11)[+] vsand[2102331]: TimeoutError: timed out

Environment

VMware vSAN (All Versions)

Cause

The vSAN Performance Service collects statistics using TCP port 443 and this issue occurs when access restrictions are configured in the ESXi firewall using the "vSphere Web Client (443, 902)" ruleset and the required IP addresses (vSAN network subnet) are not included in the allowed list.
Please refer ESXi host disconnects from vCenter Server and vCenter Server cannot be accessed using the vSphere Client after restricting vSphere Client access to specific IP addresses for more detail.

Resolution

To resolve this issue, ensure that the vSAN network subnet is included in the allowed IP list for the "vSphere Web Client (443, 902)" firewall ruleset on all ESXi hosts since the performance master node can change.

Additional Information

vSAN Health Service - Performance Service - All hosts contributing stats

vSAN Host Not Contributing Stats reports after Cert change due to SSL certificate errors