Skip to content
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

Push to IBM cloud registry failing intermittently, retry if available can solve the issue. #1290

Closed
rashmispai opened this issue May 31, 2020 · 0 comments · Fixed by #1578
Closed
Labels
area/registry For all bugs having to do with pushing/pulling into registries kind/enhancement New feature or request

Comments

@rashmispai
Copy link

Running kaniko build in IBM Cloud and we have builds happening for multiple components in parallel. Intermittently one of the components fail to push the container registry, this is causing us to do the complete pipeline again.

Whenever it fails, log is as below. A retry should obviously solve our problem but I see retry option is not yet available in Kaniko, any suggestion or help on solving this issue is much appreciated.

INFO[0084] Taking snapshot of files...
2020/05/20 10:47:51 existing blob: sha256:cca090ad6fefa18963f62e9cfb2c828e7486606e971dad7f8677040b39b1812d
error pushing image: failed to push to destination us.icr.io/test-pr/xyz01/allinoneappserver:extensions-20200519-1608: Head https://us.icr.io/v2/test-pr/xyz01/allinoneappserver/blobs/sha256:cb9162bf2ed92694f8f5b8fe9d55809651fe05ef55ae3bd231bde52b78b21fef: dial tcp: lookup us.icr.io on 172.21.0.10:53: no such host

Expected behavior

Retry to see if the image can be pushed.

Thanks for this great tool and expecting a solution and feedback to the issue.

@tejal29 tejal29 added area/registry For all bugs having to do with pushing/pulling into registries kind/enhancement New feature or request labels Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry For all bugs having to do with pushing/pulling into registries kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants