Unable to warm twice #2892
Labels
area/caching
For all bugs related to cache issues
feat/warmer
kind/bug
Something isn't working
priority/p0
Highest priority. Break user flow. We are actively looking at delivering it.
Hi, I am using the new warmer 1.19.0.
Actual behavior
When I try to warm an image twice, the warmer exit with a failure the second time.
Expected behavior
I expect the warmer tell me the image is already in cache and do not fail.
To Reproduce
/kaniko/warmer -i alpine:latest -v trace
/kaniko/warmer -i alpine:latest -v trace
Additional Information
Logs :
DEBU[0000] /cache
DEBU[0000] [xxx/yyy/alpine:3.14.2]
INFO[0000] Retrieving image manifest xxx/yyy/alpine:3.14.2
INFO[0000] Retrieving image xxx/yyy/alpine:3.14.2 from registry xxx
INFO[0000] Found sha256:69704ef328d05a9f806b6b8502915e6a0a4faa4d72018dc42343f511490daf8a in local cache
INFO[0000] Found manifest at /cache/sha256:69704ef328d05a9f806b6b8502915e6a0a4faa4d72018dc42343f511490daf8a.json
WARN[0000] Error while trying to warm image: xxx/yyy/alpine:3.14.2
The error do not indicate the root cause.
I suspect the problem is the new way the image is not anymore stored in RAM but in a temp file.
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: