This alert is about your VMware Aria Operations for Logs installation on https://<vcenter-ip-or-fqdn>/vCenter Kubernetes Service event collection failed triggered at YYYY-MM-DDTHH:MM:SS.425ZEvent collection from vCenter Kubernetes Service failed for the following host:<vcenter-ip-or-fqdn>This message was generated by your VMware Aria Operations for Logs installation, visit the Documentation Center for more information.
/storage/core/loginsight/var/plugins/vsphere/li-vsphere.log in Aria Operations for Logs contains below messages:[YYYY-MM-DDTHH:MM:SS+0000] ["pool-7-thread-1"/<node-ip> ERROR] [com.vmware.loginsight.scheduled.ScheduledPluginService] [Unable to collect vSphere WCP events]java.lang.Exception: {"messages":[{"args":[],"default_message":"An unexpected error occurred during authorization.","id":"vcenter.wcp.authorization.general"}]/var/log/vmware/wcp/wcpsvc.log in vCenter Server contains below messages:YYYY-MM-DDTHH:MM:SS.421Z warning wcp [vcrestlib/helper.go:176] [opID=wcp-AuthzFilter] Request to service failed; POST, url: http://localhost:1080/rest/com/vmware/cis/authz/privilege?~action=batch-has-privileges, Code: 500, Body: '{"type":"com.vmware.vapi.std.errors.internal_server_error","value":{"error_type":"INTERNAL_SERVER_ERROR","messages":[{"args":["com.vmware.cis.authz.privilege.batch_has_privileges"],"default_message":"Error in aggregator invocation of provider method: com.vmware.cis.authz.privilege.batch_has_privileges","id":"vapi.provider.aggregator.invokemethod.exception"}]}}'
/var/log/vmware/vapi/endpoint/endpoint.log in vCenter Server contains below messages:YYYY-MM-DDTHH:MM:SS.420Z | ERROR | sso1 | ProviderAggregation | adf3324a-620f-98b6-b3b5-50bf38809437 | Error while invoking operation 'com.vmware.cis.authz.privilege.batch_has_privileges'java.lang.RuntimeException: Cannot load sessionCaused by: com.vmware.vapi.endpoint.sso.StsException: Call to STS failedCaused by: com.vmware.vim.sso.client.exception.InvalidTokenRequestException: Request is invalid: ns0:InvalidRequest: Cannot continue delegation chainAria Operations for Logs 8.18.x
The Aria Operations for Logs collection service is attempting to poll WCP objects that are not present in the vCenter Server inventory, due to WCP not being enabled at vCenter level. As a result, these null queries lead to repeated timeout failures, generating false-positive "vCenter Kubernetes Service Failed" administrative alerts.
If the vSphere environment does not utilize native vSphere with Tanzu, disable the collection of WCP service by following vCenter collections alerts are generated daily and Timeout while waiting for vSphere in Aria Operations for Logs