代码之家  ›  专栏  ›  技术社区  ›  Stefan Papp

jx失败,BadRequestException 400值无效

  •  0
  • Stefan Papp  · 技术社区  · 5 年前

    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(unset)。
    • 在jx命令中,我设置了--region参数。
    0 回复  |  直到 5 年前
        1
  •  1
  •   Stefan Papp    5 年前

    这是jx版本2.0.1094中的错误

    在选取预先选定的值时,不取该值。必须至少更改一次选择。

    推荐文章