kubevirt: readinessProbe fails with exec but not guestAgentPing or HTTP/TCP port

What happened: Adding a readiness probe with exec action to a VM that was running previously will error with

  Warning  Unhealthy  9s (x12 over 113s)  kubelet  (combined from similar events): Readiness probe failed: {"component":"virt-probe","level":"fatal","msg":"Failed executing the command","pos":"virt-probe.go:71","reason":"rpc error: code = Unknown desc = virError(Code=42, Domain=10, Message='Domain not found: no domain with matching name 'ubuntu'')","timestamp":"2025-06-25T17:10:32.057548Z"}

See below for full VM and VMI spec

What you expected to happen: I expect the readiness exec action probe to just work.

How to reproduce it (as minimally and precisely as possible):

  1. Create a VM
  2. Edit the VM spec to add the readiness probe using a exec action probe
  3. Kill the pod
  4. See that the VM pod fails with that error

Additional context: Add any other context about the problem here.

Environment:

  • KubeVirt version (use virtctl version): 1.4.0
  • Kubernetes version (use kubectl version): N/A
  • VM or VMI specifications: N/A
  • Cloud provider or hardware configuration: N/A
  • OS (e.g. from /etc/os-release): N/A
  • Kernel (e.g. uname -a): N/A
  • Install tools: N/A
  • Others: N/A

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 1
  • Comments: 19

Most upvoted comments

hi @dosu

I’ve tried increasing initialDelaySeconds and failureThreshold but my VM guest-console-log will still terminate in the same way and the compute container appears to never become ready properly.