kubedl-io/kubedl

[BUG]在Dashbord提交任务界面进行任务提交失败

Closed this issue · 1 comments

What happened:
在Dashbord提交任务界面进行任务提交失败,提示modelVersion为null,但提交界面里面没有配置modelVersion的地方,返回具体错误如下:
failed to submit job, err: PyTorchJob.training.kubedl.io "pytorchtest" is invalid: spec.modelVersion: Invalid value: "null": spec.modelVersion in body must be of type object: "null"

What you expected to happen:
顺利提交任务
How to reproduce it:
如下图所示
0CE4CF85-A855-446c-A5C2-0A26D3150D52

Anything else we need to know?:
通过kubectl提交任务是没问题的
Environment:

  • KubeDL version: lastest
  • Kubernetes version (use kubectl version): v1.17.17
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

this is fixed @CaRRotOne, thanks for reporting !