简体   繁体   English

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

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

I cannot seem to deploy/run any Google Cloud Run services.我似乎无法部署/运行任何 Google Cloud Run 服务。

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我已经根据此处的 Hello World 示例构建了自己的容器: 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:尝试从 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.

I have the following users in the project, as they were auto-setup and configured when I enabled the API:我在项目中有以下用户,因为他们是在我启用 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...是的,这似乎确实是谷歌的问题,我没有做任何改变,只是回到控制台,我现在可以毫无问题地启动我所有的测试容器......

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

相关问题 是什么导致“Cloud Run 错误:内部系统错误,系统将稍后重试”? 故障排除建议? - What causes 'Cloud Run error: Internal system error, system will retry later'? Suggestions for troubleshooting? Cloud Run - 部署时出现“./mvnw: permission denied”错误 - Cloud Run - "./mvnw: permission denied" error on deployment 无法部署到 Cloud Run,“遇到内部错误”,建议? - Cannot deploy to Cloud Run, `Internal error encountered`, suggestions? Google Cloud Run 404 服务之间的内部流量错误 - Google Cloud Run 404 Error on internal traffic between services Firebase Cloud Functions Firestore 触发器产生:错误:7 PERMISSION_DENIED:权限缺失或不足 - Firebase Cloud Functions Firestore Trigger produces: Error: 7 PERMISSION_DENIED: Missing or insufficient permissions 执行容器运行状况检查时发生 Google Cloud Run 内部错误 - Google Cloud Run Internal error occurred while performing container health check Flutter:Android 中的 Cloud Firestore (24.2.2) 内部错误 - Flutter: Internal error in Cloud Firestore (24.2.2) in Android Firebase 云函数返回内部错误 - Firebase Cloud Function returns INTERNAL error Android:Cloud Firestore (24.0.2) 中的内部错误 - Android: Internal error in Cloud Firestore (24.0.2) 谷歌云日志python脚本权限错误 - Google cloud logging python script permission error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM