monitoring

VirtHandlerRESTErrorsBurst

Meaning

For the last 10 minutes or longer, over 80% of the REST calls made to virt-handler pods have failed.

This alert usually indicates that the virt-handler pods cannot connect to the API server.

This error is frequently caused by one of the following problems:

Impact

Status updates are not propagated and node-related actions, such as migrations, fail. However, running workloads on the affected node are not impacted.

Diagnosis

  1. Set the NAMESPACE environment variable:

    $ export NAMESPACE="$(kubectl get kubevirt -A -o custom-columns="":.metadata.namespace)"
    
  2. Check the status of the virt-handler pod:

    $ kubectl get pods -n $NAMESPACE -l=kubevirt.io=virt-handler
    
  3. Check the virt-handler logs for error messages when connecting to the API server:

    $ kubectl logs -n $NAMESPACE <virt-handler>
    

Mitigation

If you cannot resolve the issue, see the following resources: