This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 144
Fairing with Azure - TrainJob fails when provided with argument "pod_spec_mutators" - TypeError: 'NoneType' object is not subscriptable #562
Labels
Comments
Here is the solution to fix this issue.. Replacing backends.py with the following changes in
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
/kind bug
What steps did you take and what happened:
Running Kubeflow Fairing on Microsoft Azure.
When trying to execute the TrainJob command in the following notebook with 'pod_spec_mutator' argument, it fails with the following error message:
Notebook:
https://github.com/kubeflow/fairing/blob/master/examples/train_job_api/main.ipynb
TypeError: 'NoneType' object is not subscriptable
What did you expect to happen:
TrainJob should have run successfully without error.
Environment:
Fairing version: kubeflow-fairing==1.0.2
Kubeflow version: Build: dev_local | dashboard: v.0.0.2- | Isolation-mode: multi-user
Kubernetes version: (use kubectl version): v1.21.2
OS (e.g. from /etc/os-release): Ubuntu 20.04 LTS (Focal Fossa)
The text was updated successfully, but these errors were encountered: