gcloud ERROR: (gcloud.app.deploy) Error Response: [3]
gcloud ERROR: (gcloud.app.deploy) Error Response: [3]
在 运行 gcloud app deploy
之后,我在尝试使用 gcloud 和 google 云 API.[=12= 将我的应用程序部署到容器时遇到下一个错误]
Step 5 : CMD npm start
---> Running in cb3b29e90183
---> 296d95a6ac52
Removing intermediate container cb3b29e90183
Successfully built 296d95a6ac52
PUSH
The push refers to a repository [us.gcr.io/<ID_PROJECT>/appengine/default.20160906t225412] (len: 1)
296d95a6ac52: Preparing
296d95a6ac52: Pushing
296d95a6ac52: Pushed
d6a5f487b829: Preparing
d6a5f487b829: Pushing
d6a5f487b829: Pushed
b71be5d9c21a: Preparing
b71be5d9c21a: Pushing
b71be5d9c21a: Pushed
75d5a58c171b: Preparing
75d5a58c171b: Pushing
75d5a58c171b: Pushed
9ff051f37ab2: Image already exists
363507e00b22: Image already exists
818131a74c7c: Image already exists
cc57a274adf5: Image already exists
c7c7a273971f: Image already exists
b21b3e3bc691: Image already exists
latest: digest:sha256:70668fb04a90187c890eb6ba3119b6af46838a5518f7a96e8996f1d5fda6dc52 size: 33255
DONE
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [3] Docker image us.gcr.io/<PROJET_ID>/appengine/default.20160906t225412:latest was either not found, or you do not have access to it.
我最近刚刚将我的 google 云 SDK 从版本 122.0.0 更新到版本 124.0.0 我是 运行 在我的本地 machine mac 环境,这是完整版本的列表:
gcloud --version
- Google 云 SDK 124.0.0
- bq 2.0.24
- bq-nix 2.0.24
- 核心 2016.08.29
- 核心-nix 2016.08.29
- gcloud
- gsutil 4.21
- gsutil-nix 4.21
App Engine 不再支持新部署的 Docker V1 格式图像。看起来使用的错误消息并没有真正传达这一点。
以下文档介绍了如何判断图像的 docker 格式:
https://cloud.google.com/container-registry/docs/ui
我们将努力修复错误消息。抱歉给您添麻烦了。
我找到了错误和解决方案,显然 gcloud SDK 版本升级,从 122.0.0
到 124.0.0
损坏了我在 gcloud 门户中的项目 ID。
我尝试从 124.0.0
切换回 122.0.0
失败并再次升级到 126.0.0
,但最后我发现创建一个新项目并迁移我所有的容器使技巧,一旦那里一切正常!。
我不得不说,gcloud 是一个非常有用和强大的工具,但是出现这样的错误并且发现 Google 提供的支持实际上很少,这让我想回到AWS.
在 运行 gcloud app deploy
之后,我在尝试使用 gcloud 和 google 云 API.[=12= 将我的应用程序部署到容器时遇到下一个错误]
Step 5 : CMD npm start
---> Running in cb3b29e90183
---> 296d95a6ac52
Removing intermediate container cb3b29e90183
Successfully built 296d95a6ac52
PUSH
The push refers to a repository [us.gcr.io/<ID_PROJECT>/appengine/default.20160906t225412] (len: 1)
296d95a6ac52: Preparing
296d95a6ac52: Pushing
296d95a6ac52: Pushed
d6a5f487b829: Preparing
d6a5f487b829: Pushing
d6a5f487b829: Pushed
b71be5d9c21a: Preparing
b71be5d9c21a: Pushing
b71be5d9c21a: Pushed
75d5a58c171b: Preparing
75d5a58c171b: Pushing
75d5a58c171b: Pushed
9ff051f37ab2: Image already exists
363507e00b22: Image already exists
818131a74c7c: Image already exists
cc57a274adf5: Image already exists
c7c7a273971f: Image already exists
b21b3e3bc691: Image already exists
latest: digest:sha256:70668fb04a90187c890eb6ba3119b6af46838a5518f7a96e8996f1d5fda6dc52 size: 33255
DONE
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [3] Docker image us.gcr.io/<PROJET_ID>/appengine/default.20160906t225412:latest was either not found, or you do not have access to it.
我最近刚刚将我的 google 云 SDK 从版本 122.0.0 更新到版本 124.0.0 我是 运行 在我的本地 machine mac 环境,这是完整版本的列表:
gcloud --version
- Google 云 SDK 124.0.0
- bq 2.0.24
- bq-nix 2.0.24
- 核心 2016.08.29
- 核心-nix 2016.08.29
- gcloud
- gsutil 4.21
- gsutil-nix 4.21
App Engine 不再支持新部署的 Docker V1 格式图像。看起来使用的错误消息并没有真正传达这一点。
以下文档介绍了如何判断图像的 docker 格式: https://cloud.google.com/container-registry/docs/ui
我们将努力修复错误消息。抱歉给您添麻烦了。
我找到了错误和解决方案,显然 gcloud SDK 版本升级,从 122.0.0
到 124.0.0
损坏了我在 gcloud 门户中的项目 ID。
我尝试从 124.0.0
切换回 122.0.0
失败并再次升级到 126.0.0
,但最后我发现创建一个新项目并迁移我所有的容器使技巧,一旦那里一切正常!。
我不得不说,gcloud 是一个非常有用和强大的工具,但是出现这样的错误并且发现 Google 提供的支持实际上很少,这让我想回到AWS.