无法赋予Google App Engine服务帐户访问Google云端存储空间的权限 [英] Unable to give Google App Engine Service Account access to Google Cloud Storage

查看:111
本文介绍了无法赋予Google App Engine服务帐户访问Google云端存储空间的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Google App Engine(GAE)的用户。在GAE中,我们可以选择将数据存储备份到Google云端存储(GCS)存储区。我已经注册了GCS,启用了计费并成功创建了一个Bucket。但是,当我在GAE控制台 - 数据存储管理员
中尝试备份功能时,它给了我一个如下错误消息: >
备份作业状态
启动作业/任务时出现问题:
无法访问Bucketmyappxxxxxx-cloud-storage
End



我在网上做了一些调查,发现我们需要添加GAE的服务账户作为GCS的团队成员,但是我已经这么做了,因为我Invite一个用户在这个应用程序上进行协作并输入服务器帐户的电子邮件地址,就像mygaexxxxx@appspot.gserviceaccount.com,我没有收到任何电子邮件,因为这不应该是一个真正的电子邮件帐户,我没有收到邀请,状态是总是处于未决状态



那么我现在可以做什么?

解决方案

解决此问题的另一个间接方法是在GAE中编写自己的邮件处理程序。那么您可以收到发送到您的GAE电子邮件地址的电子邮件。


I am a user of Google App Engine (GAE). In GAE there's an option we can backup the datastore to a Google Cloud Storage (GCS) Bucket. I have signed up GCS, enabled billing and created a Bucket successfully. However, when I try the backup function in GAE Console - Datastore admin, it gives me an error message like this:

Start Backup Job Status There was a problem kicking some off the jobs/tasks: Bucket "myappxxxxxx-cloud-storage" is not accessible End

I did some research online and found we need to add the GAE's Service Account as a team member of the GCS, I have done so, however, as I "Invite a user to collaborate on this application" and enter the server account email address which is like mygaexxxxx@appspot.gserviceaccount.com, I got no email because this is not supposed to be a real email account, I received no invitation and the Status is always in pending state

So what can I do now?

解决方案

Another indirect way on solving this problem is to write your own mail handler in GAE. then you can receive email sent to your GAE email address.

这篇关于无法赋予Google App Engine服务帐户访问Google云端存储空间的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆