jupyterhub / helm-chart

A store of Helm chart tarballs for deploying JupyterHub and BinderHub on a Kubernetes cluster
https://jupyterhub.github.io/helm-chart/
188 stars 74 forks source link

Server can't start for some users, ImportError: The Jupyter Server requires tornado >=6.1.0 #129

Closed limotkl closed 3 years ago

limotkl commented 3 years ago

Bug description

Only one user can't start notebook server, the pod keep crashloopbackoff, and finally get timeout in jhublab. Works fine for other users.

Error message from log:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/jupyter_server/serverapp.py", line 50, in <module>
    assert tornado.version_info >= MIN_TORNADO
AssertionError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/conda/bin/jupyter-labhub", line 6, in <module>
    from jupyterlab.labhubapp import main
  File "/opt/conda/lib/python3.8/site-packages/jupyterlab/__init__.py", line 7, in <module>
    from .labapp import LabApp
  File "/opt/conda/lib/python3.8/site-packages/jupyterlab/labapp.py", line 15, in <module>
    from jupyterlab_server import slugify, WORKSPACE_EXTENSION
  File "/opt/conda/lib/python3.8/site-packages/jupyterlab_server/__init__.py", line 4, in <module>
    from .app import LabServerApp
  File "/opt/conda/lib/python3.8/site-packages/jupyterlab_server/app.py", line 7, in <module>
    from jupyter_server.extension.application import ExtensionApp, ExtensionAppJinjaMixin
  File "/opt/conda/lib/python3.8/site-packages/jupyter_server/extension/application.py", line 20, in <module>
    from jupyter_server.serverapp import ServerApp
  File "/opt/conda/lib/python3.8/site-packages/jupyter_server/serverapp.py", line 52, in <module>
    raise ImportError(_i18n("The Jupyter Server requires tornado >=%s.%s.%s") % MIN_TORNADO) from e
ImportError: The Jupyter Server requires tornado >=6.1.0 

Expected behaviour

it should start a new server for user

Actual behaviour

Pod keep crashloopbackoff and get timeout error in jhublab

How to reproduce

  1. Log in to jhub
  2. Select one profile
  3. Start new server

Your personal set up

My personal set up should be fine cause in our project this issue happens for only one user, works fine for others.

welcome[bot] commented 3 years ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

consideRatio commented 3 years ago

Closed as duplicated of https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/2430#event-5429714243