1

在执行 jx create cluster gke 时,我遇到了以下错误。

No bucket name provided for long term storage, creating a new one
The bucket gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3 does not exist so lets create it
Error creating bucket: Creating gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3/...
BadRequestException: 400 Invalid Value, failed to run 'gsutil mb -l (unset) -p dnpjx2 gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3' command in directory '', output: 'Creating gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3/...
BadRequestException: 400 Invalid Value'
ERROR: error creating cluster configuring Long Term Storage: enabling long term storage on GKE: there was a problem creating the bucket dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3 in the GKE Project dnpjx2: failed to run 'gsutil mb -l (unset) -p dnpjx2 gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3' command in directory '', output: 'Creating gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3/...
BadRequestException: 400 Invalid Value'
error: configuring Long Term Storage: enabling long term storage on GKE: there was a problem creating the bucket dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3 in the GKE Project dnpjx2: failed to run 'gsutil mb -l (unset) -p dnpjx2 gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3' command in directory '', output: 'Creating gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3/...
BadRequestException: 400 Invalid Value'

以下内容已经过验证/附加信息

  • 在命令行中使用完整的 gsutil 命令会给我一个语法错误
  • 在命令行上执行不带 -l(未设置)的 gsutil 命令有效。
  • 在 jx 命令中,我设置了 --region 参数。
4

1 回答 1

1

这是 jx 版本 2.0.1094 中的错误

选取预选值时,不取。必须选择至少一次更改选择。

于 2020-01-06T12:11:57.537 回答