ubuntu 18.04 GCP VM 上的 gcloud init 无法正常工作

gcloud init on ubuntu 18.04 GCP VM doesnt work properly

在我成功声明使用 xxx-compute@developer.gserviceaccount.com 并收到消息后:

You are logged in as: [347619542646-compute@developer.gserviceaccount.com].

我收到以下警告,无法选择项目。 The Account has proper permissions assigned: "Editor"

WARNING: Listing available projects failed: HttpError accessing <https://cloudresourcemanager.
googleapis.com/v1/projects?alt=json&filter=lifecycleState%3AACTIVE&pageSize=201>: response: <{
'www-authenticate': 'Bearer realm="https://accounts.google.com/", error="insufficient_scope", 
scope="https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-pl
atform.read-only https://www.googleapis.com/auth/cloudplatformprojects https://www.googleapis.
com/auth/cloudplatformprojects.readonly"', 'vary': 'Origin, X-Origin, Referer', 'content-type'
: 'application/json; charset=UTF-8', 'date': 'Mon, 24 Aug 2020 21:25:23 GMT', 'server': 'ESF',
 'cache-control': 'private', 'x-xss-protection': '0', 'x-frame-options': 'SAMEORIGIN', 'x-cont
ent-type-options': 'nosniff', 'server-timing': 'gfet4t7; dur=70', 'transfer-encoding': 'chunke
d', 'status': '403', 'content-length': '138', '-content-encoding': 'gzip'}>, content <{
  "error": {
    "code": 403,
    "message": "Request had insufficient authentication scopes.",
    "status": "PERMISSION_DENIED"
  }
}
>
Enter project id you would like to use:  

我该如何解决这个问题?

这与权限无关,但请求缺少必需的 oAuth2 范围。

只是 运行 gcloud init 作为项目的所有者,而不是无缘无故地使事情复杂化。