-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
RFE: pull --retry #14359
Comments
Podman is already doing three retries by default (see https://github.com/containers/common/blob/main/libimage/copier.go#L273) but it seem the specific error isn't caught in the retry semantic. |
@mtrmac AFAIKS, there's no public error type we could check for, so we may need to string compare. WDYT? |
This would certainly make sense to retry on this case. |
What’s the exact type/value? Reading the code, I’d expect this to be an ordinary Going further, Now, the hard part about all of these reports is reproducing them enough to test the heuristics… |
[NO NEW TESTS NEEDED] No idea how to cause this situation. Fixes: containers/podman#14359 Signed-off-by: Daniel J Walsh <[email protected]>
It's not just TLS timeout, there's also
(seen here) |
[NO NEW TESTS NEEDED] No idea how to cause this situation. Fixes: containers/podman#14359 Signed-off-by: Daniel J Walsh <[email protected]>
[NO NEW TESTS NEEDED] No idea how to cause this situation. Fixes: containers/podman#14359 Signed-off-by: Daniel J Walsh <[email protected]>
[NO NEW TESTS NEEDED] No idea how to cause this situation. Fixes: containers/podman#14359 Signed-off-by: Daniel J Walsh <[email protected]>
[NO NEW TESTS NEEDED] No idea how to cause this situation. Fixes: containers/podman#14359 Signed-off-by: Daniel J Walsh <[email protected]>
[NO NEW TESTS NEEDED] No idea how to cause this situation. Fixes: containers/podman#14359 Signed-off-by: Daniel J Walsh <[email protected]>
[NO NEW TESTS NEEDED] No idea how to cause this situation. Fixes: containers/podman#14359 Signed-off-by: Daniel J Walsh <[email protected]>
[NO NEW TESTS NEEDED] No idea how to cause this situation. Fixes: containers/podman#14359 Signed-off-by: Daniel J Walsh <[email protected]>
[NO NEW TESTS NEEDED] No idea how to cause this situation. Fixes: containers/podman#14359 Signed-off-by: Daniel J Walsh <[email protected]>
NOTE: this is not fixed until c/common@main is vendored into Podman |
Can we configure the number of retries, and delay somehow? Seems like Mock/Copr users have problems with pull failures, and we could afford even say 30s delays (instead of the default 1s). |
@praiskup, no, that's is currently not configurable for Podman. Please open a new issue if you desire such a feature. |
[like #14048 but for pull]
This is causing multiple CI flakes per day:
We have no control over broken registries or network hiccups.
Could we just implement
podman pull --retry 3
with perhaps an exponential backoff?The text was updated successfully, but these errors were encountered: