Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use JupyterLab extensions after mounting S3 buckets #115

Open
Harshit-9398 opened this issue Feb 4, 2021 · 1 comment
Open

Comments

@Harshit-9398
Copy link

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,

  1. 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:
    jupyterlab-git-error

  2. I try to run a pipeline using Elyra in the same path as described above, I get the following path related error:
    elyra-extension-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?

@Harshit-9398
Copy link
Author

Hey,
Is there any update on this?
I am stuck in this and unable to figure out anything, can you please help in resolving this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant