From 015f7057b66ee1c378680c7294d5057de575b809 Mon Sep 17 00:00:00 2001 From: Oksana Shadura Date: Sat, 2 Dec 2023 15:43:20 +0100 Subject: [PATCH] Remove nanny port as well should fix 2023-12-02 14:36:17,536 - distributed.nanny - INFO - Closing Nanny at 'tls://172.19.0.4:8001'. Report closure to scheduler: None 2023-12-02 14:36:17,536 - distributed.dask_worker - INFO - Timed out starting worker --- docker/prepare-env/prepare-env-cc-analysis.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/prepare-env/prepare-env-cc-analysis.sh b/docker/prepare-env/prepare-env-cc-analysis.sh index 76310f9a..fcd66734 100644 --- a/docker/prepare-env/prepare-env-cc-analysis.sh +++ b/docker/prepare-env/prepare-env-cc-analysis.sh @@ -134,7 +134,7 @@ if [[ ! -v COFFEA_CASA_SIDECAR ]]; then # Dask worker command execurted in HTCondor pool. # Communication protocol: in Coffea-casa we use only secured communications (over TLS) - # re-apply John's patch and add: --nanny-contact-address tls://$HOST:$NANNYPORT \ + # re-apply John's patch and add: --nanny-contact-address tls://$HOST:$NANNYPORT --nanny-port $NANNYCONTAINER_PORT \ \ HTCONDOR_COMAND="/opt/conda/bin/python -m distributed.cli.dask_worker $EXTERNALIP_PORT \ --name $NAME \ --tls-ca-file $PATH_CA_FILE \ @@ -143,7 +143,6 @@ if [[ ! -v COFFEA_CASA_SIDECAR ]]; then --nthreads $CPUS \ --memory-limit $MEMORY_MB_FORMATTED \ --nanny \ - --nanny-port $NANNYCONTAINER_PORT \ --death-timeout 60 \ --protocol tls \ --lifetime 7200 \