簡體   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