英文:
Google Cloud Run
问题
我最近开始在部署新版本到Google Cloud Run时遇到问题。
我按照我已经使用了几年的相同部署流程进行操作。
当我在gcloud命令行界面时,它试图将流量发送到旧版本并失败。
所以我尝试从Web控制台部署,但它给我这个错误消息:"服务帐户,*****************@developer.gserviceaccount.com,不存在。"
我没有修改任何权限,所以这对我来说似乎很奇怪。
还有一个奇怪的地方:似乎有某些东西正在尝试(并失败?)以每分钟6个的速度创建修订版本。就像它在失败,所以它一直处于无限重试的状态。
有什么建议吗?
英文:
I recently started having problems deploying new revisions to Google Cloud Run.
I'm following the same old routine for deployment I have used for a couple years.
When I am in the gcloud cli, it tries to send traffic to an old revision and fails.
So I tried deploying from the web console and it gives me this error: "The service account, *****************@developer.gserviceaccount.com, does not exist."
I haven't modified any permissions, so that seems odd to me.
One other oddity: something is trying (and failing?) to create revisions to the tune of 6 per minute. It's like its failing, so it is on an infinite-retry spiral of death.
Any ideas?
答案1
得分: 1
谢谢回复。我在 IAM 或已禁用的 API 中找不到任何问题...
我通过创建一个新的 Google Run 服务来解决了这个问题。旧的服务无法加载新的修订版(显然是因为与服务账户有关的原因),但同样的服务账户在一个全新的服务上运行正常。
英文:
Thanks for the replies. I couldn’t find any issues in IAM or with disabled APIs…
I solved it by creating a new Google Run service. The old one couldn’t load new revisions (apparently because of something to do with the service account), but the same service account worked fine on an altogether new service.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论