[Need help] Ratify operation failed with error operation timed out after duration 1.95s #641
Replies: 3 comments 2 replies
-
Hi @akashsinghal , have you seen this ratify-mutation-provider error before? From a debugging perspective, which logs would be relevant to review to understand which call timed out? |
Beta Was this translation helpful? Give feedback.
-
Given this is a timeout, i wonder if you increase the timeout ( maybe try 3) --set mutatingWebhookTimeoutSeconds=2 , will the request complete. But of course, if the call doesn't not complete in 2sec, Ratify team need to review the perf requirements. |
Beta Was this translation helpful? Give feedback.
-
@FeynmanZhou would it be possible for you to enable debug logs, reinstall ratify in the cluster, and then upload your logs here? That will really help pinpoint which operation is stuck. You can add an extra flag to the helm install command for ratify: I have only seen timeouts a handful of times when doing many benchmark tests with the AKS + workload identity scenario. It was very rare. This is a local registry so there shouldn't be much latency. In fact we use a kind cluster with a local registry for our e2e tests too. Also, could we get a bit more information on how you are running the local registry? |
Beta Was this translation helpful? Give feedback.
-
I have a Minikube Kubernetes cluster (v1.25) running on my Ubuntu machine. Then I use Notation RC.2 to sign a sample image and generate a signature. It returned the following error log after I installed Ratify RC.1 and ran a signed sample image on my minikube cluster. I am wondering how to resolve the timeout problem.
My gatekeeper was installed by following the Ratify README and my Ratify installation script is as follows:
Beta Was this translation helpful? Give feedback.
All reactions