- This issue can be caused by absent VSPHERE.LOCAL\Administrators group privilege propagation down the cluster and host objects.
- At least upon initial inspection, the Skyline Health warning is shown in the /var/log/vmware/vsan-health/vmware-vsan-health-service.log files in a manner similar to the following:
<YYYY-MM-DD>T<time>ERROR vsan-mgmt[11928] [VsanHealthEncUtil::GenerateClusterEncryptionHealthSummary opID=noOpId] host hostname.domain.com, encryptionIssues: (vim.host.VsanEncryptionIssue) [], encryptionInfo (vim.vsan.host.EncryptionInfo) {
enabled = true,
kekId = '67b1c4b71d5f21aaa7e885ef5d538007c091db33:b04b5168-ecce-21ec-acda-100c29d08071',
hostKeyId = 'kmx:36 b04b57c6-ecce-21ec-acda-100c29d08071 BSEAAgEAYUx7/Eh/Qxatp236B9mG7QEIAAwAEAAgAAQAQUVTLTI1NgDgcRPvqMvNb/wk9zrA/iui7xdXT+72mByoqEAeHPQdBixnL5thHPp9vHb665IT6oZ9GmXzBadRIVnxRPWghgEA',
kmipServers = (vim.encryption.KmipServerSpec) [
(vim.encryption.KmipServerSpec) {
clusterId = (vim.encryption.KeyProviderId) {
id = 'vcenter-server-name-KMS'
},
info = (vim.encryption.KmipServerInfo) {
name = 'NativeKeyProvider',
address = 'nkp:kmx',
port = 0
}
}
],
dekGenerationId = 1,
changing = false,
eraseDisksBeforeUse = false
}, error (vim.fault.VsanFault) {
faultMessage = (vmodl.LocalizableMessage) [
(vmodl.LocalizableMessage) {
key = 'com.vmware.vsan.health.msg.list.kmxa.provider.error',
message = 'get provider info error, please check the health logs'
}
]
}, kmsHealth (vim.host.VsanKmsHealth) [
(vim.host.VsanKmsHealth) {
serverName = 'NativeKeyProvider',
health = 'red',
error = (vim.fault.VsanFault) {
faultMessage = (vmodl.LocalizableMessage) [
(vmodl.LocalizableMessage) {
key = 'com.vmware.vsan.health.msg.list.kmxa.provider.error',
message = 'unknown kmx provider error'
}
]
}
}
], aesniEnabled True
- More details can be seen on individual ESXi servers, particularly in the /var/run/log/vsanmgmt.log files, once you locate a corresponding timestamp and event:
<YYYY-MM-DD>T<time>ERROR vsan-mgmt[12397] [VsanHealthEncUtil::GenerateEncryptionHealthSummaryForKmx opID=noOpId] Error when GetVpxdHostProviderInfo: hostname.domains.com
Traceback (most recent call last):
File "bora/vsan/health/esx/pyMo/VsanHealthEncUtil.py", line 393, in GenerateEncryptionHealthSummaryForKmx
File "bora/vsan/clusterconfig/vpxd/pyMoVsan/VsanVcEncryption.py", line 429, in GetVpxdHostProviderInfo
File "/usr/lib/vmware-vpx/vsan-health/vapi/vapi_vcenter_client-1.0-py2.7.egg/com/vmware/vcenter/crypto_manager/hosts/kms_client.py", line 406, in get
'provider': provider,
File "/usr/lib/vmware-vpx/vsan-health/vapi/vapi_runtime-2.100.0.egg/vmware/vapi/bindings/stub.py", line 345, in _invoke
return self._api_interface.native_invoke(ctx, _method_name, kwargs)
File "/usr/lib/vmware-vpx/vsan-health/vapi/vapi_runtime-2.100.0.egg/vmware/vapi/bindings/stub.py", line 298, in native_invoke
self._rest_converter_mode)
com.vmware.vapi.std.errors_client.Unauthorized: {messages : [LocalizableMessage(id='vapi.authz.error.no.privs', default_message='The following (object: host-40:ddee9d5e-66b5-478e-a19c-585efb2ee7d6 privileges: Cryptographer.ReadKeyServersInfo) privileges are insufficient to user', args=['object: >host-40:edee9d5e-76b5-578e-b19c-685efb2ee7d6 privileges: Cryptographer.ReadKeyServersInfo'], params=None, localized=None)], data : None, error_type : UNAUTHORIZED}
<YYYY-MM-DD>T<time>INFO vsan-mgmt[12397] [VsanHealthEncUtil::GenerateEncryptionHealthSummaryForKmx opID=noOpId] host: hostname.domain.com kmx health error: unknown kmx provider error
- The error above indicates that there are permissions or privilege constraints for Cryptographer.ReadKeyServersInfo, which in the vSphere Client, falls under the Cryptographic operations -> Read KMS information privilege, specifically.