调用Kubeflow RUN API失败:Job无关联Experiment报错求助
Kubeflow调用RUN API创建运行实例失败,报错"Job has no experiment"
我在MicroK8s上部署了Kubeflow,已通过Kubeflow上传API将流水线上传至中央控制台。但调用Kubeflow RUN API创建运行实例时失败,RUN_ID返回null,报错信息为**"Invalid input error: Job has no experiment. code:3 message"**。
相关curl命令及执行结果:
用于获取RUN_ID的命令:
RUN_ID=$(( curl -H "Content-Type: application/json" -X POST ${SVC}/apis/v1beta1/runs \-d @- << EOF { "name":"${PIPELINE_NAME}_run", "pipeline_spec":{ "pipeline_id":"${PIPELINE_ID}" } } EOF ) | jq -r .run.id)
执行后输出:
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 388 100 277 100 111 23083 9250 --:--:-- --:--:-- --:--:-- 32333
查看RUN_ID结果:
$ echo $RUN_ID null
直接执行curl命令的返回结果:
$ curl -H "Content-Type: application/json" -X POST ${SVC}/apis/v1beta1/runs \-d @- << EOF { "name":"${PIPELINE_NAME}_run", "pipeline_spec":{ "pipeline_id":"${PIPELINE_ID}" } } EOF {"error":"Invalid input error: Job has no experiment.","code":3,"message":"Invalid input error: Job has no experiment.","details":[{"@type":"type.googleapis.com/api.Error","error_message":"Job has no experiment.","error_details":"Invalid input error: Job has no experiment."}]}
我尝试了多种方法均未解决,恳请各位提供帮助。
内容的提问来源于stack exchange,提问作者srikargoud javvaji
相关产品推荐
相关产品推荐

