vSAN health alert "All hosts contributing stats" triggered due to missing SSL certificates on ESXi Hosts.
search cancel

vSAN health alert "All hosts contributing stats" triggered due to missing SSL certificates on ESXi Hosts.

book

Article ID: 443261

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Symptoms:

  • vSAN Skyline Health alert: "All hosts contributing stats" is triggered.

  • vSAN performance graphs show missing data for specific hosts.

  • The /var/run/log/vsanmgmt.log on the master node contains the following errors:

    vsand[####]: [opID=vsan-####-#### statscollector::RetrieveRemoteStats] Error happened during RetrieveRemoteStats of hostIps [####], type: <class 'FileNotFoundError'>, message: [Errno 2] No such file or directory

 

Environment

  • VMware vSAN 8.x / 9.x
  • VMware ESXi

Cause

Primary SSL certificate files (rui.crt and rui.key) are physically missing from the /etc/vmware/ssl/ directory. This typically occurs after a failed automated certificate renewal process where the files are deleted but not replaced.

Resolution

To resolve this issue, restore the certificate files and restart the management services:

  • Log in to the affected ESXi host via SSH.
  • Navigate to the SSL directory: cd /etc/vmware/ssl/
  • Restore the certificate and key from the backup files: cp rui.crt.bkp rui.crt cp rui.key.bkp rui.key
  • Restart the vSAN management daemon to load the restored certificates: /etc/init.d/vsanmgmtd restart
  • In the vSphere Client, select the Host > Configure > System > Certificate and click Renew Certificate to ensure the host receives a fresh VMCA certificate.
  • Verify that the health alert clears and statistics resume.

Additional Information