From 837d1092564769510fcd068ea52d0e98078d0a8d Mon Sep 17 00:00:00 2001 From: geoffrey1330 Date: Sat, 26 Oct 2024 22:56:02 +0100 Subject: [PATCH] increase timeout period for mgmt api job --- charts/latest/spdk-csi/templates/config-map.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/latest/spdk-csi/templates/config-map.yaml b/charts/latest/spdk-csi/templates/config-map.yaml index 9e02322..01041f5 100644 --- a/charts/latest/spdk-csi/templates/config-map.yaml +++ b/charts/latest/spdk-csi/templates/config-map.yaml @@ -76,8 +76,8 @@ data: return [] def activate_cluster_if_needed(cluster_ip, cluster_uuid, cluster_secret, distr_ndcs, distr_npcs): - retries = 60 total_value = distr_ndcs + distr_npcs + 1 + retries = total_value * 30 while retries > 0: node_statuses = get_node_statuses(cluster_ip, cluster_uuid, cluster_secret) online_nodes = [node for node in node_statuses if node.get('status') == 'online']