简体   繁体   中英

Cloud Run error: Internal system error. Missing necessary permission

I cannot seem to deploy/run any Google Cloud Run services.

I have attempted this from multiple accounts (with billing on all accounts and projects), created fresh projects in each account, added every permission I could find to try to get around this.

I've built my own container based on the Hello World example from here: https://cloud.google.com/run/docs/quickstarts/build-and-deploy

Trying to 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.

Trying to deploy the simple 'hello' example here from the web console leaves me with the same error:

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.

I have the following users in the project, as they were auto-setup and configured when I enabled the 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

Yes, it seems it was indeed a Google issue, I didn't change anything, just went back to the console and I can start all my test containers without any issue now...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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