Open cybercent opened 4 years ago
Experiencing the same issue on all App Engine Flexible Environment.
The App Engine standard environment deployments succeed.
Same issue. App Engine Flex Environment. I tried go1.13 but it did not help.
Same issue here. Go1.13 didn't help. Any other tips to try to solve the issue?
Same issue. Nothing appears to be working and our dev team has grinded to a halt this week. It's bad
I can confirm this solution from a Google engineer worked (at least for me).
Downgrade gcloud to the previous version
gcloud components update --version 315.0.0
Re @albeebe's comment: The fix required us to roll back our GAE Flex Go builder images and for you to downgrade your cloudsdk version. We are investigating the root cause, which may (or may not) lie in Kaniko.
We are still working on our root cause analysis, but the initial results indicate it could be an incompatibility with a recent change to use manifest lists for the :latest
tag in https://github.com/GoogleContainerTools/distroless. It seems Kaniko may be incompatible with this change.
Thanks @sbuss. Kaniko will try to add support manifest list soon!
@sbuss @tejal29 does this reproduce at HEAD? I'm just speculating, but I'm fairly confident this was fixed almost two years ago.
The executor image is very old:
$ crane config gcr.io/kaniko-project/executor@sha256:f87c11770a4d3ed33436508d206c584812cd656e6ed08eda1cff5c1ee44f5870 | jq .created
"2018-11-07T18:29:09.932346179Z"
I believe the relevant changes to go-containerregistry were merged into kaniko in https://github.com/GoogleContainerTools/kaniko/pull/680
Thanks @jonjohnsonjr. I looked in the code and on master i think the v1.3.0 should fix it. The error line "error building image: getting stage builder for stage 0" itself is pretty old.
Is this fixed?
Currently, I'm stuck on this issue. The build doesn't go further. Do we know a work around?
Currently, I'm stuck on this issue. The build doesn't go further. Do we know a work around?
Are you using the latest kaniko release? It sounds like this may have been fixed a while ago.
Actual behavior A clear and concise description of what the bug is. Tried to deploy on AppEngine Flexible code I already deployed before.
Error:
Expected behavior A clear and concise description of what you expected to happen.
Expected to build.
To Reproduce Steps to reproduce the behavior:
Additional Information
Kaniko Image (fully qualified with digest)
Triage Notes for the Maintainers
--cache
flag