cta-epfl / batchspawner

Custom Spawner for Jupyterhub to start servers in batch scheduled systems
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

AttributeError: 'ARCSpawner' object has no attribute 'ssh_tunnel_task' #19

Closed volodymyrss closed 1 year ago

volodymyrss commented 1 year ago
[E 2023-11-13 17:11:59.036 JupyterHub user:951] Failed to cleanup gitlab-ctao:volodymyr.savchenko's server that failed to start
    Traceback (most recent call last):
      File "/usr/local/lib/python3.10/dist-packages/jupyterhub/user.py", line 949, in _wait_up
        await self.stop(spawner.name)
      File "/usr/local/lib/python3.10/dist-packages/jupyterhub/user.py", line 988, in stop
        await spawner.stop()
      File "/usr/local/lib/python3.10/dist-packages/batchspawner/batchspawner.py", line 515, in stop
        await self.cancel_batch_job()
      File "/usr/local/lib/python3.10/dist-packages/batchspawner/batchspawner.py", line 1593, in cancel_batch_job
        self.ssh_tunnel_task.cancel()
    AttributeError: 'ARCSpawner' object has no attribute 'ssh_tunnel_task'