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

Commit

Permalink
CORTX-33786:CORTX Deployment timeout in statefulset of cortx-server
Browse files Browse the repository at this point in the history
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 <vinoth.v@seagate.com>
  • Loading branch information
Vinoth2101 committed Aug 22, 2022
1 parent 1559de0 commit 1d04ee5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions provisioning/miniprov/hare_mp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,9 @@ def init(args):
# Stopping hax and consul
if is_mkfs_required(url):
stop_hax_blocking(hax_starter)
else:
while not all(cns_utils.ensure_ioservices_running()):
sleep(5)
stop_consul_blocking(consul_starter)
except Exception as error:
if hax_starter:
Expand Down

0 comments on commit 1d04ee5

Please sign in to comment.