This is an automated email from the ASF dual-hosted git repository.

yasith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit e74729c0bbc76c7b22acddd46f8e23030ad2800d
Author: yasithdev <[email protected]>
AuthorDate: Wed Jul 16 05:20:55 2025 -0500

    increase dockerspawner timeout for large repos. fix host path for dataset 
bind mounts.
---
 modules/research-framework/research-hub/jupyterhub_config.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/research-framework/research-hub/jupyterhub_config.py 
b/modules/research-framework/research-hub/jupyterhub_config.py
index 23f288949b..ec39584752 100644
--- a/modules/research-framework/research-hub/jupyterhub_config.py
+++ b/modules/research-framework/research-hub/jupyterhub_config.py
@@ -70,7 +70,7 @@ class CustomDockerSpawner(DockerSpawner):
 
         # register given datasets as volumes (ro)
         for subfolder in data_subfolders:
-            host_data_path = os.path.expandvars(f"$HOME/mnt/{subfolder}")
+            host_data_path = f"/mnt/{subfolder}"
             container_path = f"/cybershuttle_data/{subfolder}"
             self.volumes[host_data_path] = {
                 'bind': container_path,
@@ -86,6 +86,7 @@ c.JupyterHub.named_server_limit_per_user = 10
 c.JupyterHub.spawner_class = CustomDockerSpawner
 c.DockerSpawner.notebook_dir = '/home/jovyan/work'
 c.DockerSpawner.default_url = "/lab"
+c.DockerSpawner.start_timeout = 600
 
 c.DockerSpawner.environment = {
     'CHOWN_HOME': 'no',

Reply via email to