Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit 51546d4

Browse files
committed
CORTX-33786:CORTX Deployment timeout in statefulset of cortx-server
Problem: rgw admin utility in server init containers is stuck or taking long time around 10mins for a 5 node setup. Solution: This could be due to this rgw utility can connect to the stale hax process of data pods init container. To make sure that this utility is connected to data pods run time hax process, added a delay of 30 secs after "mkfs done" is completed. This improved the timings of deployments to within 3 mins. Signed-off-by: Vinoth.V <[email protected]>
1 parent 2073c28 commit 51546d4

File tree

1 file changed

+3
-0
lines changed
  • provisioning/miniprov/hare_mp

1 file changed

+3
-0
lines changed

provisioning/miniprov/hare_mp/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,9 @@ def init(args):
569569
# Stopping hax and consul
570570
if is_mkfs_required(url):
571571
stop_hax_blocking(hax_starter)
572+
else:
573+
while not all(cns_utils.ensure_ioservices_running()):
574+
sleep(5)
572575
stop_consul_blocking(consul_starter)
573576
except Exception as error:
574577
if hax_starter:

0 commit comments

Comments
 (0)