【发布时间】:2016-02-10 13:11:25
【问题描述】:
在我的项目配置(在开发者控制台中)我删除了一些值(不记得是哪个)之后,我无法将应用部署到 Compute Engine 实例。我已经使用相同的配置成功部署了相同的代码数十次,但是在删除开发人员控制台中的一些值或进行一些我认为次要的其他调整后,使用 Maven 插件 v2.0.9.95.v20160203 的部署失败了
[INFO] Beginning deployment...
[INFO] WARNING: If this is your first deployment, please try again.
[INFO] ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:
[INFO] Bad Request Unexpected HTTP status 400.
[INFO] Failed Project Preparation (app_id='s~some-id'). Error retrieving the App Engine service account.
[ERROR] Error: gcloud app command with exit code : 1
我跑
mvn clean validate gcloud:deploy
与我的其他一些项目不同,我没有两个帐户
- App Engine 默认服务帐户 - some-id@appspot.gserviceaccount.com
- Compute Engine 默认服务帐号 - some-id-compute@developer.gserviceaccount.com
…在我的 权限 部分,但只有 2. 帐户。
【问题讨论】:
标签: google-compute-engine gcloud