kernel unable to find an executable #1003
-
Environment
I need to run a notebook which requires running an executable (inside python code). This executable is aws-iam-authenticator. This is used to authenticate with AWS to talk to AWS EKS. We use our custom kernel, based off elyra/kernel-py:2.5.0 and in that i package the executable, aws-iam-authenticator, and put it in /usr/local/bin, as confirmed on the kernel docker
However, i keep getting this error, when i run the python code which requires running this executable:
Couple of questions:
What else could explain this issue? Really appreciate your help. @kevin-bates, do you have any ideas? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I found the issue, somehow the kernel version was not having the executable packaged in (some version issue). After i fixed the version issue, it is working. Sorry for the trouble. |
Beta Was this translation helpful? Give feedback.
-
Cool - thanks for the update. Here's a follow-up to your questions (for completeness):
Yes. That should work and is in the container's PATH.
Hmm, not sure. I went into the elyra/kernel-py:2.5.1 container and found that my id was 'jovyan' and our dockerfiles switch back to jovyan via
That should be prevented and, when using UID and GID values, we try our best to prevent 0 (zeros). |
Beta Was this translation helpful? Give feedback.
I found the issue, somehow the kernel version was not having the executable packaged in (some version issue). After i fixed the version issue, it is working. Sorry for the trouble.