Skip to content

Commit 1b1a9bb

Browse files
authored
Merge pull request GoogleCloudPlatform#4702 from m4r1k/main
fix munge mount on login failure due to slow ctrl slurmv6 setup
2 parents 765c491 + 38b07f2 commit 1b1a9bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

community/modules/scheduler/schedmd-slurm-gcp-v6-controller/modules/slurm_files/scripts/setup_network_storage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def mount_path(path: Path):
167167
MAX_MOUNT_TIMEOUT = 60 * 5
168168
future_list = []
169169
retry_policy = ExceptionRetryPolicy(
170-
max_attempts=40, exponent=1.6, sleep=1.0, max_sleep=16.0
170+
max_attempts=120, exponent=1.6, sleep=1.0, max_sleep=16.0
171171
)
172172
with Executors.thread_pool().with_timeout(MAX_MOUNT_TIMEOUT).with_retry(
173173
retry_policy=retry_policy
@@ -206,8 +206,8 @@ def munge_mount_handler():
206206
f"{mnt.server_ip}:{mnt.remote_mount}",
207207
str(mnt.local_mount),
208208
]
209-
# wait max 120s for munge mount
210-
timeout = 120
209+
# wait max 240s for munge mount
210+
timeout = 240
211211
for retry, wait in enumerate(util.backoff_delay(0.5, timeout), 1):
212212
try:
213213
run(cmd, timeout=timeout)

0 commit comments

Comments
 (0)