From d5c1a99d31ece9eb482bab7eec36b6618f323e08 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Thu, 18 Apr 2024 15:53:47 -0600 Subject: [PATCH 1/3] Simplify command --- k8s/job.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/k8s/job.yml b/k8s/job.yml index 1f50a65..062f6ea 100644 --- a/k8s/job.yml +++ b/k8s/job.yml @@ -32,9 +32,12 @@ spec: - name: "data" mountPath: "/data" command: - - "bash" - - "-c" - - "micromamba run -n base python /parsl-init-script/run.py" + - "micromamba" + - "run" + - "-n" + - "base" + - "python" + - "/parsl-init-script/run.py" restartPolicy: "Never" --- apiVersion: "v1" From 42d16c6b0e7fa1ae24c4b504fa59724e2bf2ed46 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Thu, 18 Apr 2024 15:54:18 -0600 Subject: [PATCH 2/3] Add Troubleshooting entry for mount failure --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 4960501..a7ca48b 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,15 @@ excellent tutorial. ## Troubleshooting +### `parsl-init-script` ConfigMap fails to mount + +```bash +MountVolume.SetUp failed for volume "parsl-init-script-volume" : object "qgnet"/"parsl-init-script" not registered +``` + +Only occurs when also mounting a PVC. _TODO: How to resolve?_ + + ### Cleaning up failed parsl pods Some failure states result in pods getting stuck in a restart loop that do not @@ -137,6 +146,7 @@ To remove a pod that is stuck: kubectl delete pod {pod-name} ``` + ### File not found error starting Rancher Desktop You must have a valid `$KUBECONFIG` path. Paths including `~` or paths to files which do From 5a74cc6dd634a9782702c452a6c38c1d066f2250 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Thu, 18 Apr 2024 16:00:50 -0600 Subject: [PATCH 3/3] Specify spradicity of the mount errors --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a7ca48b..a6833e9 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,9 @@ excellent tutorial. MountVolume.SetUp failed for volume "parsl-init-script-volume" : object "qgnet"/"parsl-init-script" not registered ``` -Only occurs when also mounting a PVC. _TODO: How to resolve?_ +Does not always occur. + +[See related GitHub issue](https://github.com/kubernetes/kubernetes/issues/105204). ### Cleaning up failed parsl pods