-
Notifications
You must be signed in to change notification settings - Fork 134
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
Setting up JupyterHub with HTCondor #125
Comments
I think I figured it out: it is due to |
Still struggling with making it work: the job is submitted now, but the server fails to start. Here is the command which is executed on the node: And in .jupyterhub.condor.err I only see: Maybe the environment is not set properly, but I can't figure out how to set this up. Any help appreciated. Thanks. |
Found the problem: sudo wasn't passing the environment variables. I changed the exec_prefix to |
Ok, thanks for the followup. Quick question: had you changed the Thanks! |
I know I'm a bit late to this party but I'm having a very similar issue I'm trying to run a centralized JupyterHub server for all users so I'm executing it as root. Our environment very carefully set environment variables on login. If those variables are changed jobs do not run properly. So I'm stuck because using -E passes the JUPYTERHUB_API_TOKEN env properly, but nothing will run (including batchspawner-singleuser will not run) because the commands to load needed packages and modules is broken with the overridden env. If I use -i The packages and modules load properly, however the JUPYTERHUB_API_TOKEN env is no longer passed and the compute node fails to connect or be registered by jupyterhub. Advice would be greatly appreciated |
The same issue with me. How did you solve this problem? |
Hi,
I'm trying to make batchspawner work with HTCondor but I'm stuck with the following error:
The condor_q command succeeds if ran manually:
I'm using the latest batchspawner (from the master):
And the spawner configuration:
What can be the cause of this error?
Thanks
The text was updated successfully, but these errors were encountered: