Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
If we didn't set env_vars when creating an experiment, we would get the error.
➜ ~ curl -X POST -H "Content-Type: application/json" -d ' { "meta": { "name": "tf-mnist-json", "namespace": "default", "framework": "TensorFlow", "cmd": "python /var/tf_mnist/mnist_with_summaries.py --log_dir=/train/log --learning_rate=0.01 --batch_size=150" }, "environment": { "image": "gcr.io/kubeflow-ci/tf-mnist-with-summaries:1.0" }, "spec": { "Ps": { "replicas": 1, "resources": "cpu=1,memory=512M" }, "Worker": { "replicas": 1, "resources": "cpu=1,memory=512M" } } } ' http://127.0.0.1:8080/api/v1/experiment <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 500 Request failed.</title> </head> <body><h2>HTTP ERROR 500</h2> <p>Problem accessing /api/v1/experiment. Reason: <pre> Request failed.</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.18.v20190429</a><hr/> </body> </html>
Attachments
Issue Links
- links to