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

Installation done using dockerfile, getting "There was an error submitting job!" #21

Open
shubhamkanwal opened this issue Mar 14, 2022 · 3 comments

Comments

@shubhamkanwal
Copy link

Hi, i have setup on AWS EKS cluster where jupyterhub is running. I am using scipy docker image in the pod as mentioned in readme.
Getting error while Scheduling , tried with bash, jupyter and python. The base image of scipy uses ubuntu as OS. Please help.

image

@cxprograme
Copy link

Has the problem been solved?

@vivekbhide
Copy link

same here.. followed all the steps but with updated dependencies versions and installing the plug in as a development mode but nothing worked.. continue to get this error with 404 POST /jupyterlab_scheduler/add?1663817302366 (172.18.34.202) 2.18ms error on jupyter server. Would really appreciate if someone can confirm/update the working changes

@Dr10-TakeHiro
Copy link
Contributor

Same error occurs in my environment.
However, everything works with following revised Dockerfile.

FROM jupyter/scipy-notebook:latest

# Switch to root user to install cron
USER root
RUN apt-get update && apt-get install --yes cron

# Switch back to Jupyter user
USER $NB_USER

RUN fix-permissions $CONDA_DIR && \
    fix-permissions /home/$NB_USER

# Set USER to the env variable jupyter uses for the default account
ENV USER=$NB_USER

RUN pip install jupyterlab_scheduler
RUN jupyter labextension install jupyterlab_scheduler

Since 404 error hints that a backend python server don't start, I wonder that the cause is a lack of python module.

Finally, don't forget to start cron daemon. We must start cron manually, because Jupyter images don't automatically start.
(I spent some hours about this... Following command or my docker files(docker_jupyterlab_scheduler) may help you.)

docker exec -it -u root <container_id> service cron start

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

4 participants