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