jx因BadRequestException 400无效而失败

时间:2020-01-06 10:24:54

标签: jenkins-x

执行jx创建集群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参数。

0 个答案:

没有答案