"Disk encrypted and locked due to the encryption key not being available. Check the status of KMS servers configured for the cluster and ensure the encryption key can be retrieved."VMware vSAN 7.x
VMware vSAN 8.x
Because the vSAN is using native key encryption, and as the vCenter is down, the ESXi hosts are unable to reach to the NKP server to retrieve the keys to unlock the disk group.
After restoring the vCenter from backup, checked the kmx logs under /var/run/log on the host and found that the host was unable to fetch the key details from the vCenter.
2025-07-03T14:58:09.516Z Er(163) kmxa[2098822] [Originator@6876 sub=Libs opID=resolveKey-52d8cfea-a162-fd7c-7574-xxxxxxxxxxxx-1456] Import key locator on 525054cc-8282-ef46-9a00-xxxxxxxxxxxx failed: Exported key locator is invalid.2025-07-03T14:58:09.525Z Er(163) kmxa[2098820] [Originator@6876 sub=Libs opID=resolveKey-52d8cfea-a162-fd7c-7574-xxxxxxxxxxxx-1457] Import key locator on 778fbea9-7199-4635-8ab0-xxxxxxxxxxxx failed: Exported key locator is invalid.
In this scenario, we would need to bring the vCenter back up by restoring it from backup.
Once vCenter is up, we would need to fix the issue with the NKP server connectivity by fixing the certificate issues.
Check if the customer has a backed up NKP configuration file present. If so, we can restore the server from backup and the connectivity will be restored.
Once the connectivity is restored, the VMs will all be back to normal state.