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