-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A timeout error when pull encrypt image in image-rs 0.6.0 #535
Comments
What platform are you using? If the runtime class is tdx-qemu, we can set # Image request timeout in seconds.
# If specified, indicates the image request timeout in the guest needed for the workload(s)
# If unspecified then it will be set 60 second(s)
# to reduce image pull failures caused by network problems and quickly obtain request failure information at the same time.
image_request_timeout = 60 in |
Thankyou for help. |
@ZhangLimengLimeng I am afraid that you need to ask Hygon CSV folks to offer help. |
In the CC v0.5.0 of TDX,like https://github.com/kata-containers/kata-containers/blob/CC-0.5.0/src/runtime/config/configuration-qemu-tdx.toml.in,also couldn't find “image_request_timeout”,and this config add in CC-0.8.0. Is this timeout duration source code in kata-agent, attestation-agent, image-rs, or somewhere else? I'm trying to change it by modifying the source code. Do you have any suggestions about this? |
Even CC-0.8.0 has “image_request_timeout” config, but it says: |
Because of some computer environment, I can only deploy CC versions below 0.5.0, and I'm facing a timeout issue.
I've created an encrypted image, about 4GB in size, and sent it to the hub.
My internet speed is slow, so it's taking longer to pull the image. During the process of pulling the encrypted image, I encountered a timeout error, The logs show that it times out after about 5 minutes.
I've already updated image-rs to version 0.6.0 (which fixd an issue with pulling large images in update #146), and I've also tried setting runtimeRequestTimeout in the k8s configuration file, but unfortunately, neither had any effect.
Where can I modify the 5 minutes timeout for pulling encrypted images?
The text was updated successfully, but these errors were encountered: