Hello,
I am working on a use case where I am running Jupyter as a pod in OpenShift, and I want to leverage several JupyterLab extensions such as JupyterLab-git and Elyra. I am using Rook-Ceph as an S3 API compatible storage, and I am able to mount the bucket of a user in their JupyterHub pod.
I am using the following code in the jupyter_notebook_config.py to mount S3 buckets: jupyter_notebook_config.txt
The issue I am facing while using both the extensions is when,
I try to initialize a git repo using GUI in the home directory /opt/app-root/src of the user(in the persistent volume), I get the following error:
I try to run a pipeline using Elyra in the same path as described above, I get the following path related error:
As far as I was able to figure out in this issue, when I am trying to initialize a git repository in the /opt/app-root/src folder, it is trying to initialize the repo in the / folder due to which it shows permission error.
I also checked the same situations in another environment (where S3 buckets were not mounted in the pod), and in that case, both these extensions are working fine, e.g. when we initialize a git repo in /opt/app-root/src, it initializes the git repo in the correct folder instead of initializing it in / folder, and similar is the case with Elyra extension.
I am unable to figure out as to why this is happening, so can you please help me out with this?
Hello, I am working on a use case where I am running Jupyter as a pod in OpenShift, and I want to leverage several JupyterLab extensions such as JupyterLab-git and Elyra. I am using Rook-Ceph as an S3 API compatible storage, and I am able to mount the bucket of a user in their JupyterHub pod. I am using the following code in the
jupyter_notebook_config.py
to mount S3 buckets:jupyter_notebook_config.txt
The issue I am facing while using both the extensions is when,
I try to initialize a git repo using GUI in the home directory
/opt/app-root/src
of the user(in the persistent volume), I get the following error:I try to run a pipeline using Elyra in the same path as described above, I get the following path related error:
As far as I was able to figure out in this issue, when I am trying to initialize a git repository in the
/opt/app-root/src
folder, it is trying to initialize the repo in the/
folder due to which it shows permission error.I also checked the same situations in another environment (where S3 buckets were not mounted in the pod), and in that case, both these extensions are working fine, e.g. when we initialize a git repo in
/opt/app-root/src
, it initializes the git repo in the correct folder instead of initializing it in/
folder, and similar is the case with Elyra extension.I am unable to figure out as to why this is happening, so can you please help me out with this?