Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gcloud app deploy failed: Docker image not found or not in V2 format [duplicate]

All of a sudden having issues with deploying to GCP using gcloud app deploy.

Created a brand new project and tried to upload a sample hello-world app from GCP, but still get the following error:

ERROR: (gcloud.app.deploy) Error Response: [3] Docker image us.gcr.io/gcp-test-8710371/appengine/default.20181106t173450:latest was either not found, or is not in Docker V2 format. Please visit https://cloud.google.com/container-registry/docs/ui

app.yaml:

runtime: nodejs
env: flex

manual_scaling:
  instances: 1
resources:
  cpu: 1
  memory_gb: 0.5
  disk_size_gb: 10

SDK: Google Cloud SDK 224.0.0

I've checked the container registry, and nothing is created there.

Also, tried enabling/disabling APIs like in this post, but with no result. An example Python app uploads fine with no problems.

like image 221
isharko Avatar asked Nov 06 '18 23:11

isharko


2 Answers

Appears it was an issue on GCP's side. The error is no longer occuring, so I assume it was resolved.

like image 137
isharko Avatar answered Nov 02 '22 09:11

isharko


There was an issue affecting the Flex deployments. The issue was fixed on 07/11 at aproximately 00:40 UTC. As @isharko pointed out, Flex deployments should be working normally now.

There's also a public issue on GCP's issue tracker about this. If new relevant information surfaces, it'll likely be posted there.

like image 24
Guillermo Cacheda Avatar answered Nov 02 '22 09:11

Guillermo Cacheda