PodVMAnnotationsMissing or PodVMCreationFailed state.Failed to add podVM's annotations to the pod <pod-name> in namespace <namespace name>.Error: admission webhook "admission.vmware.com" denied the request: Cannot change VMware system annotation 'vmware-system-vm-uuid'. Will retryCould not login to vCenter. Error: ServerFaultCode: The object 'vim.VirtualMachine:<vm-####>' has already been deleted or has not been completely created
/etc/vmware/wcp/wcp-schedext-admission-controller-user-whitelist on that Supervisor node is empty.vSphere Kubernetes Service
When a fault occurs such as a power off or IO write failure, the /etc/vmware/wcp/wcp-schedext-admission-controller-user-whitelist could be truncated.
Workaround:
/etc/vmware/wcp/wcp-schedext-admission-controller-user-whitelist on every impacted Supervisor Control Plane node:cat <<EOL > /etc/vmware/wcp/wcp-schedext-admission-controller-user-whitelist# List of user-prefixes whitelisted by schedext admission controller for# creating or updating resources modifying secure annotations or tolerating# master/control plane taint.kubernetes-adminkubeadmsystem:sso:wcp-<machine_id>@<sso_domain>vmware-system-EOLMACHINE_ID:grep MACHINE_ID /var/lib/node.cfg
grep SSO_DOMAIN /var/lib/node.cfg
root [ ~ ]# crictl ps -a | grep schedext<Pod PID> 9 minutes ago Running wcp-schedext 10 kube-scheduler-<UUID>
root [ ~ ]# crictl stop <Pod PID> <Pod PID> root [ ~ ]# crictl logs <Pod PID> | grep vCenter
Successfully connected to vCenter https://<VC-FQDN>:443/sdkFor other admission webhook failures, please refer to below KB articles: