英文:
jx fails with BadRequestException 400 Invalid value
问题
在执行 jx create cluster gke 时,我遇到了以下错误。
未提供长期存储的存储桶名称,正在创建一个新的存储桶
存储桶 gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3 不存在,因此让我们创建它
创建存储桶时出现错误:在目录中运行 'gsutil mb -l(未设置)-p dnpjx2 gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3' 命令失败,输出:'Creating gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3/...
BadRequestException: 400 无效值'
错误:配置集群配置长期存储时出错:启用 GKE 上的长期存储时出现问题:在 GKE 项目 dnpjx2 中创建存储桶 dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3 失败,无法在目录中运行 'gsutil mb -l(未设置)-p dnpjx2 gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3' 命令,输出:'Creating gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3/...
BadRequestException: 400 无效值'
错误:配置长期存储时出错:启用 GKE 上的长期存储时出现问题:在 GKE 项目 dnpjx2 中创建存储桶 dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3 失败,无法在目录中运行 'gsutil mb -l(未设置)-p dnpjx2 gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3' 命令,输出:'Creating gs://dnpjx2-lts-89ae2b2c-6234-40b6-ac1b-4da9388493b3/...
BadRequestException: 400 无效值'
已验证/附加信息如下:
- 在命令行中使用完整的 gsutil 命令会导致语法错误
- 在命令行上执行 gsutil 命令而不使用 -l(未设置)参数是有效的。
- 在 jx 命令中,我设置了 --region 参数。
英文:
While executing jx create cluster gke, I run into the following error.
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'
The following things have been verified/additional info
- using the full gsutil command in the command line gives me a syntax errror
- executing the gsutil command without -l (unset) on the command line works.
- In the jx command, I set the --region parameter.
答案1
得分: 1
这是jx版本2.0.1094中的一个错误。
在选择预先选定的值时,它不被采纳。必须至少更改选择一次。
英文:
This is bug in jx version 2.0.1094
When picking the pre-selected value, it is not taken. One has to select change the selection at least once.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论