在创建虚拟机实例时,Google Cloud(GCE)无权访问默认服务帐户

问题描述:

看起来有错误。 下列正式文件: https://cloud.google.com/compute/docs/instances/create-start-instance在创建虚拟机实例时,Google Cloud(GCE)无权访问默认服务帐户

收到后

gcloud compute instances create test-2 

ERROR: (gcloud.compute.instances.create) Could not fetch resource: 
- The resource '[email protected]' of type 'serviceAccount' was not found. 

被正确授权,角色设置为所有者。

> gcloud auth list 

回报

 Credentialed Accounts 
ACTIVE ACCOUNT 
*  **@gmail.com 

To set the active account, run: 
    $ gcloud config set account `ACCOUNT` 

然而,一个实例可以使用自定义的服务帐户创建。 任何想法?

预先感谢您。

这似乎类似于:Unable to create cluster on Dataproc after deleting default service account

或许答案有可能帮助你。