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