You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS system and architecture in which you are running QHub
Linux yuhui-mini-itx-desktop 5.13.0-35-generic #40~20.04.1-Ubuntu SMP Mon Mar 7 09:18:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Expected behavior
Once the terminal app is open, the user should log in as user jovyan and operate normally.
Actual behavior
Any command execute will complain about ERROR: ld.so: object 'libnss_wrapper.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Though the command can be executed successfully.
jovyan@jupyter-yuhuishi-2dconvect:~$ ls
ERROR: ld.so: object 'libnss_wrapper.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
dask-worker-space shared test.ipynb
How to Reproduce the problem?
Add a profile using a non-qhub built image.
For example,
profiles:
jupyterlab:
- display_name: Elyra Pipeline toolkitdescription: Run notebooks a pipelineskubespawner_override:
cpu_limit: 1cpu_guarantee: 0.75mem_limit: 4Gmem_guarantee: 2.5Gimage: elyra/elyra:3.5.3
Then open the terminal app from the jupyterlab ui
Command output
jovyan@jupyter-yuhuishi-2dconvect:~$
jovyan@jupyter-yuhuishi-2dconvect:~$
jovyan@jupyter-yuhuishi-2dconvect:~$
jovyan@jupyter-yuhuishi-2dconvect:~$ ls
ERROR: ld.so: object 'libnss_wrapper.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
dask-worker-space shared test.ipynb
jovyan@jupyter-yuhuishi-2dconvect:~$
I assume the reason behind that is in a normal jupyterlab image, there are no configuration steps to fix the user / group mapping. In a qhub jupyterlab image, it relies on nss_wrapper and a few additional libs to fix that. However, these libs are missing in a normal jupyterlab image.
I am wondering, what is the correct way to use a normal jupyterlab image with a qhub deployment.
The text was updated successfully, but these errors were encountered:
Hi @yuhuishi-convect, indeed qhub v0.3.14 uses some user mapping configuration in the docker image. We used that to be sure our group's shared folders and files would have the necessary permissions linked to the user. That was added as part of a refactoring made for v0.4.0, besides that, we also add support for conda/mamba as the package managers for the user's environments.
Answering your question, right now it might be really difficult to use a simple image of jupyterlab within QHub (0.3.14) given the above conditions, a way of doing it is to pass all extra configuration from those images as config maps to Kubernetes deployments. An example of this work can be found in #1143 where we are doing exactly this, moving those restrictions from the image to QHub itself. That addition should show up in a future v0.4.1 release.
@yuhuishi-convect I will be closing this issue as some support for 0.3.+ version is now discontinued, if you encounter a similar issue with 0.4.0 please feel free to open a new issue. As I commented before we are working on a better way to decouple some of those custom settings and restrictions from the docker images.
OS system and architecture in which you are running QHub
Linux yuhui-mini-itx-desktop 5.13.0-35-generic #40~20.04.1-Ubuntu SMP Mon Mar 7 09:18:32 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Expected behavior
Once the terminal app is open, the user should log in as user
jovyan
and operate normally.Actual behavior
Any command execute will complain about
ERROR: ld.so: object 'libnss_wrapper.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Though the command can be executed successfully.
How to Reproduce the problem?
Add a profile using a non-qhub built image.
For example,
Then open the terminal app from the jupyterlab ui
Command output
Versions and dependencies used.
conda 4.10.3
qhub == 0.3.14
Compute environment
AWS
Integrations
NA
Anything else?
I assume the reason behind that is in a normal jupyterlab image, there are no configuration steps to fix the user / group mapping. In a qhub jupyterlab image, it relies on
nss_wrapper
and a few additional libs to fix that. However, these libs are missing in a normal jupyterlab image.I am wondering, what is the correct way to use a normal jupyterlab image with a qhub deployment.
The text was updated successfully, but these errors were encountered: