GKE:Google Compute Engine:需要'compute.networks.get'但权限有吗?



当尝试通过gcloud, web控制台或pulumi创建GKE集群时,我收到错误:Google Compute Engine: Required 'compute.networks.get.

该帐户的权限有"Owner"、"Editor"、"Compute Admin"。使用故障排除程序对compute.networks.get进行测试也表明它是好的。

不知道为什么会这样。昨天好像还好好的。

提前感谢。

编辑:我也可以运行gcloud compute regions describe us-east1 --project=myproj以及list命令,没有问题,所以有些东西没有加起来。

编辑2:完整错误是:

googleapi: Error 403: Retry budget exhausted (5 attempts): Google Compute Engine: Required 'compute.regions.get' permission for 'projects/myproj/regions/us-central1'., forbidden

看起来一个服务帐户被删除了,禁用/启用服务解决了这个问题。

https://serverfault.com/questions/1054198/gke-google-compute-engine-required-compute-networks-get-but-permissions-are

相关内容

最新更新