This article explains the File Service - Infrastructure health in the vSAN Health Service and provides details on why it might report an error.
The vSAN File Service creation fails with error below on vCenter Web-Client
2024-11-28T05:46:48.397Z | ERROR | vlsi | DispatcherImpl.java | 468 | Internal server error during dispatch
com.vmware.vim.binding.eam.fault.EamServiceNotInitialized: EAM is still loading from database. Please try again later.
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_402]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_402]
2024-11-28T05:46:53.760Z | INFO | vim-monitor | ExtensionSessionRenewer.java | 190 |
[Retry:Login:com.vmware.vim.eam:db634c32d91f3999] Re-login to vCenter because method: currentTime of managed object: null::ServiceInstance:ServiceInstance failed due to expired client session: null
2024-11-28T05:46:53.761Z | INFO | vim-monitor | OpId.java | 37 | [vim:loginExtensionByCertificate:c346af29820e1dfe] created from [Retry:Login:com.vmware.vim.eam:db634c32d91f3999]
2024-11-28T05:46:56.768Z | INFO | vim-async-1 | OpIdLogger.java | 43 | [vim:loginExtensionByCertificate:c346af29820e1dfe] Failed.
2024-11-28T05:46:56.768Z | WARN | vim-async-1 | ExtensionSessionRenewer.java | 227 | [Retry:Login:com.vmware.vim.eam:db634c32d91f3999] Re-login failed, due to:
com.vmware.eam.security.NotAuthenticated: Failed to authenticate extension com.vmware.vim.eam to vCenter.
at com.vmware.eam.vim.security.impl.SessionManager.convertLoginException(SessionManager.java:295) ~[eam-server.jar:?]
This will repeat frequently at normal intervals, along with other authentication related errors in the eam.log. 2024-11-28T01:52:33.152-06:00 INFO vsan-mgmt[11852] [VsanClusterFileServiceSystemImpl::_queryFileServiceConfigsImpl opID=noOpId] Calling host dalnetmod01b.mgmt.net.ibm.com for query file service config ... >> Initialization of the vSAN File Service
2024-11-28T01:52:33.163-06:00 ERROR vsan-mgmt[11852] [VsanClusterFileServiceSystemImpl::_queryFileServiceConfigsImpl opID=noOpId] Query file service config failed
Traceback (most recent call last):
File "bora/vsan/fileservice/vpxd/VsanClusterFileServiceSystemImpl.py", line 2099, in _queryFileServiceConfigsImpl
File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 595, in <lambda>
self.f(*(self.args + (obj,) + args), **kwargs)
File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 385, in _InvokeMethod
return self._stub.InvokeMethod(self, info, args)
PyCppVmomi.vmodl.fault.SystemError: (vmodl.fault.SystemError) {
msg = "Received SOAP response fault from [<SSL(<io_obj p:0x00005635ebf9bd28, h:75, <TCP '9.46.37.8 : 53352'>, <TCP '9.46.37.74 : 443'>>), /vsan>]: queryFileServiceConfigs\nvim.fault.InvalidState", >> File Service creation protocol failed
reason = 'Invalid fault'
}
VMware vSAN 7.x
VMware vSAN 8.x
The EAM agent extension thumbprints may be mismatched.
Verify and Resolve the mismatched EAM extension thumbprint using one of the following methods:
Prechecks for vCenter Server Appliance (VCSA):
Backup Preparation:
Snapshot Creation:
Certificate Verification:
On the vCenter Server Appliance:
Log in to the vCenter Server Appliance using SSH.
Run these commands to retrieve the vpxd-extension solution user certificate and key:
First determine the vCenter's PNID.
Run this command to update the extension's certificate with vCenter Server (using the PNID after after the -s)
Note: The default user and domain is [email protected]. If this was changed during configuration, change the domain to match your environment. When prompted, type in the [email protected] password.
Restart the VMware ESX Manager service with these commands:
To download the "Fixcerts" script Link : How to replace certificates on vCenter server using the Fixcerts script
On the vCenter Server Appliance:
Log in to the vCenter Server Appliance using SSH.
Update thumbprint for vpxd extensions eam :