繁体   English   中英

Cloud Run 错误:内部系统错误。 缺少必要的权限

[英]Cloud Run error: Internal system error. Missing necessary permission

我似乎无法部署/运行任何 Google Cloud Run 服务。

我已经尝试从多个帐户(对所有帐户和项目计费)进行此操作,在每个帐户中创建新项目,添加我能找到的所有权限以尝试解决此问题。

我已经根据此处的 Hello World 示例构建了自己的容器: https://cloud.google.com/run/docs/quickstarts/build-and-deploy

尝试部署:

helloworld-csharp>gcloud run deploy --image gcr.io/[Project ID]/helloworld --platform managed
Service name (helloworld):
Deploying container to Cloud Run service [helloworld] in project [Project ID] region [us-west1]
Deploying...
  Creating Revision... Cloud Run error: Internal system error. Missing necessary permission for service-[ID]@serverless-robot-prod.iam.gserviceaccount.com on resource [Project ID]. Please visit https://cloud.google.com/run
  /docs/troubleshooting for in-depth troubleshooting documentation....failed
Deployment failed
ERROR: (gcloud.run.deploy) Cloud Run error: Internal system error. Missing necessary permission for service-[ID]@serverless-robot-prod.iam.gserviceaccount.com on resource [Project ID]. Please visit https://cloud.google.com/run/docs/troubleshooting for in-depth troubleshooting documentation.

尝试从 web 控制台在此处部署简单的“hello”示例给我留下了同样的错误:

Cloud Run error: Internal system error. Missing necessary permission for service-[ID]@serverless-robot-prod.iam.gserviceaccount.com on resource [Project ID]. Please visit https(...)cloud.google.com/run/docs/troubleshooting for in-depth troubleshooting documentation.

我在项目中有以下用户,因为他们是在我启用 API 时自动设置和配置的:

[ID]-compute@developer.gserviceaccount.com  Compute Engine default service account  
[ID]@cloudbuild.gserviceaccount.com     Cloud Build Service Account
[ID]@cloudservices.gserviceaccount.com  Google APIs Service Agent 

service-[ID]@compute-system.iam.gserviceaccount.com Compute Engine Service Agent
service-[ID]@gcp-sa-cloudbuild.iam.gserviceaccount.com  Cloud Build Service Account
service-[ID]@serverless-robot-prod.iam.gserviceaccount.com  Google Cloud Run Service Agent

是的,这似乎确实是谷歌的问题,我没有做任何改变,只是回到控制台,我现在可以毫无问题地启动我所有的测试容器......

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM