f338ef
From 49cd9ef7487ba88796315b897823837a9cbd535e Mon Sep 17 00:00:00 2001
f338ef
From: Mohit Agrawal <moagrawal@redhat.com>
f338ef
Date: Wed, 28 Aug 2019 09:05:20 +0530
f338ef
Subject: [PATCH 285/297] glusterd: glusterd service is getting timed out on
f338ef
 scaled setup
f338ef
f338ef
Problem: On a three node cluster with 2000 replica volumes systemctl is getting
f338ef
         timed out for glusted service.
f338ef
f338ef
Solution: Configure TimeoutSec 300 to wait for glusterd startup.
f338ef
f338ef
> Change-Id: Idb3f3f3e56e6216a0ebd754cbb9e8e37ce9e636d
f338ef
> Fixes: bz#1746228
f338ef
> Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
f338ef
> (Cherry picked from commit c90dc63ec9eee0f43ba8e489876fdf8b8810bbdc)
f338ef
> (Reviewed on upstream link https://review.gluster.org/#/c/glusterfs/+/23316/)
f338ef
f338ef
Change-Id: Idb3f3f3e56e6216a0ebd754cbb9e8e37ce9e636d
f338ef
BUG: 1746027
f338ef
Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
f338ef
Reviewed-on: https://code.engineering.redhat.com/gerrit/179806
f338ef
Tested-by: Mohit Agrawal <moagrawa@redhat.com>
f338ef
Tested-by: RHGS Build Bot <nigelb@redhat.com>
f338ef
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
f338ef
---
f338ef
 extras/systemd/glusterd.service.in | 1 +
f338ef
 1 file changed, 1 insertion(+)
f338ef
f338ef
diff --git a/extras/systemd/glusterd.service.in b/extras/systemd/glusterd.service.in
f338ef
index c33351c..f604160 100644
f338ef
--- a/extras/systemd/glusterd.service.in
f338ef
+++ b/extras/systemd/glusterd.service.in
f338ef
@@ -13,6 +13,7 @@ Environment="LOG_LEVEL=INFO"
f338ef
 EnvironmentFile=-@sysconfdir@/sysconfig/glusterd
f338ef
 ExecStart=@prefix@/sbin/glusterd -p @localstatedir@/run/glusterd.pid  --log-level $LOG_LEVEL $GLUSTERD_OPTIONS
f338ef
 KillMode=process
f338ef
+TimeoutSec=300
f338ef
 SuccessExitStatus=15
f338ef
 
f338ef
 [Install]
f338ef
-- 
f338ef
1.8.3.1
f338ef