vpxd.log shows the following during service start up/var/log/vmware/vpxd/vpxd.log
YYYY-MM-DDThh:mm:ss warning vpxd[322534] [Originator@6876 sub=IO.Connection] Failed to SSL handshake; SSL(<io_obj p:0x00007f4d9860dcc0, h:54, <TCP '127.0.0.1 : 8089'>, <TCP '127.0.0.1 : 52892'>>), e: 167773205(sslv3 alert certificate expired (SSL routines)), duration: 2msec
vmware-vsan-health-service.log shows the following during service start/var/log/vmware/vsan-health/vmware-vsan-health-service.log
YYYY-MM-DDThh:mm:ss WARNING vsan-mgmt[323169] [VsanVcExtension::__init__ opID=noOpId] Failed to log into VC, retrying in 10 secondsYYYY-MM-DDThh:mm:ss WARNING vsan-mgmt[323817] [connectionpool::urlopen opID=noOpId] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ResponseNotReady('Request-sent'))': /vsan/plugins/vsan-ui-repa/plugin.zip
vmon.log shows the following/var/log/vmware/vmon/vmon.log
YYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health> Re-check service health since it is still initializing.YYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health> Running the API Health command as user vsan-healthYYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health-healthcmd> Constructed command: /usr/bin/python /usr/lib/vmware-vpx/vsan-health/vsanhealth-vmon-apihealth.pyYYYY-MM-DDThh:mm:ss Wa(03) host-318478 <vsan-health> Service api-health command's stderr: ERROR:root:Got URL error HTTP Error 503: Service UnavailableYYYY-MM-DDThh:mm:ss Wa(03)+ host-318478YYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health> Re-check service health since it is still initializing.YYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health> Running the API Health command as user vsan-healthYYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health-healthcmd> Constructed command: /usr/bin/python /usr/lib/vmware-vpx/vsan-health/vsanhealth-vmon-apihealth.pyYYYY-MM-DDThh:mm:ss Wa(03) host-318478 <vsan-health> Service api-health command's stderr: ERROR:root:Got URL error HTTP Error 503: Service UnavailableYYYY-MM-DDThh:mm:ss Wa(03)+ host-318478YYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health> Re-check service health since it is still initializing.YYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health> Running the API Health command as user vsan-healthYYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health-healthcmd> Constructed command: /usr/bin/python /usr/lib/vmware-vpx/vsan-health/vsanhealth-vmon-apihealth.pyYYYY-MM-DDThh:mm:ss Wa(03) host-318478 <vsan-health> Service api-health command's stderr: ERROR:root:Got URL error HTTP Error 503: Service UnavailableYYYY-MM-DDThh:mm:ss Wa(03)+ host-318478YYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health> Re-check service health since it is still initializing.YYYY-MM-DDThh:mm:ss In(05) host-318478 <vsan-health> Service start operation timed out.YYYY-MM-DDThh:mm:ss Wa(03) host-318478 <vsan-health> Found empty StopSignal parameter in config file. Defaulting to SIGTERMYYYY-MM-DDThh:mm:ss Wa(03) host-318478 <vsan-health> Service exited. Exit code 1YYYY-MM-DDThh:mm:ss Er(02) host-318478 Service batch op START failed. Failed services: 'vsan-health'
vsanvcmgmtd.log show the following repeatedly during service start/var/log/vmware/vsan-health/vsanvcmgmtd.log
YYYY-MM-DDThh:mm:ss info vsanvcmgmtd[323169] [vSAN@6876 sub=PyCppVmomi] Loaded system certificate from VECS.YYYY-MM-DDThh:mm:ss info vsanvcmgmtd[323169] [vSAN@6876 sub=vmomi.soapStub[1] opId=d0be8afb] SOAP request returned HTTP failure; <<io_obj p:0x00007fdb5c045a20, h:15, <TCP '127.0.0.1 : 56578'>, <TCP '127.0.0.1 : 1080'>>, /extension-login/sdk>, method: loginExtensionByCertificate; code: 526(Invalid SSL Certificate); fault: (null)YYYY-MM-DDThh:mm:ss.272Z warning vsanvcmgmtd[323169] [vSAN@6876 sub=Py2CppStub opId=d0be8afb] |- EExit LOCAL::vim.SessionManager.loginExtensionByCertificate (28 ms)
vCenter Server 8.x
This issue occurs due to an broken chain or expired root/intermediate CA certificate in the vCenter server's /etc/vmware-vpx/ssl/rui.crt file.
To resolve this issue perform the following:
openssl verify /etc/vmware-vpx/ssl/rui.crt
A good certificate with a consistent chain would give output 'OK' as found below:
root@vcsa01 [ /etc/vmware-vpx/ssl ]# openssl verify rui.crtrui.crt: OK
Additional parameters like "-show_chain" , "-verbose" can be used. For more details, please refer to OpenSSL-Verify