The VSAN service fails to start normally. However, attempting to start it via SSH failed with the following errorservice-control --start vmware-vsan-health
Operation not cancellable. Please wait for it to finish...Performing start operation on service vsan-health...Error executing start on service vsan-health. Details { "detail": [ { "id": "install.ciscommon.service.failstart", "translatable": "An error occurred while starting service '%(0)s'", "args": [ "vsan-health" ], "localized": "An error occurred while starting service 'vsan-health'" } ], "componentKey": null, "problemId": null, "resolution": null}Service-control failed. Error: { "detail": [ { "id": "install.ciscommon.service.failstart", "translatable": "An error occurred while starting service '%(0)s'", "args": [ "vsan-health" ], "localized": "An error occurred while starting service 'vsan-health'" } ], "componentKey": null, "problemId": null, "resolution": null}
vCenter 8.0 u3
/var/log/vmware/vmon/vmon.log####-##-##T##:##:##.###ZIn(05) host-### <vsan-health> Running the API Health command as user vsan-health####-##-##T##:##:##.###Z Wa(03) host-### <vsan-health> Health of service failed. Health data:####-##-##T##:##:##.###Z In(05) host-### <vsan-health> Recover from service api health check failure. Fail count####-##-##T##:##:##.###Z In(05) host-### <vsan-health> Restarting service.####-##-##T##:##:##.###ZWa(03) host-###<vsan-health> Found empty StopSignal parameter in config file. Defaulting to SIGTERM####-##-##T##:##:##.###Z In(05) host-### <event-pub> Constructed command: /usr/bin/python /usr/lib/vmware-vmon/vmonEventPublisher.py --eventdata vsan-health,UNHEALTHY,HEALTHY,####-##-##T##:##:##.###Z Wa(03) host-### <vsan-health> Sysprocess clean stop timed out. Force kill. Pid 894053####-##-##T##:##:##.###Z Wa(03) host-### <vsan-health> Service exited. Exit codeERROR sts-default[22:Thread-9] [CorId= OpId=] [com.vmware.identity.util.VcTrustCache] Refresh thread failed to retreive Vctrusts.com.vmware.vapi.client.exception.TransportProtocolException: HTTP response with status code 503 (enable debug logging for details):
info envoy[2925] [Originator@6876 sub=connection] [Tags: "ConnectionId":"18500529"] remote address:##.##.##.##:62308,TLS_error:|33554536:system library:OPENSSL_internal:Connection reset by peer|33554464:system library:OPENSSL_internal:Broken pipe
info envoy[2927] [Originator@6876 sub=connection] [Tags: "ConnectionId":"18500534"] remote address:##.##.##.## :62363,TLS_error:|33554536:system library:OPENSSL_internal:Connection reset by peerinfo envoy[2927] [Originator@6876 sub=connection] [Tags: "ConnectionId":"18500546"] remote address::##.##.##.## ::62409,TLS_error:|33554536:system library:OPENSSL_internal:Connection reset by peer sessionscat vpxd-profiler-329.log | grep -oE "/Username='[^']+'/ClientIP='[^']+'/" | sort | uniq -c | sort -nr | head -1079767
Example output:Username='VSPHERE.LOCAL\user_1'/ClientIP='##.##.##.## <<-- For example this user would match the logs we see above
Username='VSPHERE.LOCAL\user_2'/ClientIP='##.##.##.##
Username='VSPHERE.LOCAL\user_3'/ClientIP='##.##.##.##
Note: A reboot may resolve the issue temporarily, but the problem will recur once the backlog of failed queries builds up againIdentify the user and IP address causing the overload and match it to the 3rd party tool in use. Then review the operations of this tool and if required contact the product owner
Example: 3rd party monitoring tools that can access the vCenter using an external IP and have a service user account can cause this issue
Review the configuration of this 3rd party tool and confirm if it is querying the vCenter in high volume in very short intervals. If possible reduce the request interval to reduce the load on the envoy service.
Similar issues can occur if the envoy gets overloaded by the envoy-sidecar memory limit being reached
This is a match to kb -- https://knowledge.broadcom.com/external/article/384498/vsphere-client-inaccessible-and-vapi-end.html
The resolution from this kb can also be completed