OpenShift Virtualization "virt-probe" cmd is missing on "virt-launcher" container
Issue
Defining a guest-agent probe on a virtual machine does not work because of the following error
Readiness probe errored: rpc error: code = Unknown desc = command error: time="2022-11-28T10:43:26Z" level=error msg="exec failed: unable to start container process: exec: \"virt-probe\": executable file not found in $PATH" , stdout: , stderr: , exit code -1
On the virt-handler container, the command does not seem to be present:
$ ls -l /usr/bin/virt*
-rwxr-xr-x. 1 root root 28308680 Oct 12 04:58 /usr/bin/virt-freezer
-rwxr-xr-x. 1 root root 25576 May 17 2022 /usr/bin/virt-host-validate
-rwxr-xr-x. 1 root root 54281776 Oct 12 04:58 /usr/bin/virt-launcher
-rwxrwxr-x. 1 root root 9772 May 17 2022 /usr/bin/virt-pki-validate
-rwxr-xr-x. 1 root root 21064 May 17 2022 /usr/bin/virt-qemu-run
-rwxr-xr-x. 1 root root 25384 May 17 2022 /usr/bin/virt-ssh-helper
-rwxrwxr-x. 1 root root 2840 May 17 2022 /usr/bin/virt-xml-validate
$ which virt-probe
/usr/bin/which: no virt-probe in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
Environment
- Openshift Virtualization 4.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.