-
Bug
-
Resolution: Done-Errata
-
None
-
Quality / Stability / Reliability
-
4
-
False
-
-
False
-
CLOSED
-
CNV Infra 224
-
Moderate
-
None
Description of problem:
When creating the file needed for the readinessProbe the readiness probe keeps staying on failed.
This should work the same way as described in the docs - https://github.com/kubevirt/kubevirt/blob/b52ebdc081868bf961d70683b2ec8d071fad6232/docs/probes.md#example
Version-Release number of selected component (if applicable):
4.11
How reproducible:
100%
Steps to Reproduce:
1. Create a VM using readinessProbe param:
spec:
template:
spec:
readinessProbe:
exec:
command:
- cat /tmp/healthy.txt
2. Watch the VM events using "oc get events -n <namespace>"
3. Start the VM (notice the readiness probe fails)
2. Console into the VM and create the file /tmp/healthy.txt
3. Validate the file was created using "cat /tmp/healthy.txt" command
4. Watch the VM events
Actual results:
The readiness probe keeps failing (VMI stays on "not ready")
Expected results:
The VMI should change to "ready"
Additional info:
The probe failure msg is:
Readiness probe failed:
...
I also tried using:
command:
- cat
- /tmp/healthy.txt
The issue still persist with this, the only difference is the probe failure msg
- external trackers
- links to