golang-samples: The deployment is broken on App Engine flexible for Go

Not sure is the best place to post this issue.

The deployment is broken on App Engine flexible for Go.

Step #1: error building image: getting stage builder for stage 0: MANIFEST_UNKNOWN: "Manifest with digest 'sha256:884ac2144c3ee154bd67271e99bc6ef00f430092750167729b0321ab55fde5ec' has media type 'application/vnd.docker.distribution.manifest.list.v2+json', but client accepts 'application/vnd.docker.distribution.manifest.v2+json'."

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

We have successfully rolled back the broken build. You will also need to downgrade to gcloud version 315.0.0, or upgrade to version 317.0.0 when it is released next week. You can change your gcloud version via:

gcloud components update --version 315.0.0

Please run that command and try deploying again.

Thanks for the report – not sure what the cause is yet.

I’m also unable to deploy go1.14 or go1.15 in the appengine flex environment with this same error:

Step #0: dc59566c26e6: Pull complete
Step #0: Digest: sha256:9bb092bd9c8d6924d683663953c54d7dd068eabd80d6853ace0fd7f1186fff84
Step #0: Status: Downloaded newer image for gcr.io/gcp-runtimes/go1-builder@sha256:9bb092bd9c8d6924d683663953c54d7dd068eabd80d6853ace0fd7f1186fff84
Step #0: gcr.io/gcp-runtimes/go1-builder@sha256:9bb092bd9c8d6924d683663953c54d7dd068eabd80d6853ace0fd7f1186fff84
Finished Step #0
Starting Step #1
Step #1: Already have image (with digest): gcr.io/kaniko-project/executor@sha256:f87c11770a4d3ed33436508d206c584812cd656e6ed08eda1cff5c1ee44f5870
Step #1: INFO[0000] Downloading base image gcr.io/distroless/base@sha256:884ac2144c3ee154bd67271e99bc6ef00f430092750167729b0321ab55fde5ec 
Step #1: error building image: getting stage builder for stage 0: MANIFEST_UNKNOWN: "Manifest with digest 'sha256:884ac2144c3ee154bd67271e99bc6ef00f430092750167729b0321ab55fde5ec' has media type 'application/vnd.docker.distribution.manifest.list.v2+json', but client accepts 'application/vnd.docker.distribution.manifest.v2+json'."
Finished Step #1
ERROR
ERROR: build step 1 "gcr.io/kaniko-project/executor@sha256:f87c11770a4d3ed33436508d206c584812cd656e6ed08eda1cff5c1ee44f5870" failed: step exited with non-zero status: 1
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at https://console.cloud.google.com/cloud-build/builds/7df10b69-72ad-465f-ba49-54fb729c3f42?project=498351404878 Failure status: UNKNOWN: Error Response: [2] Build failed; check build logs for details

go1.13 works, but I need a more recent go…