74b1de
From 5daff948884b1b68ffcbc6ceea3c7affdb9700f4 Mon Sep 17 00:00:00 2001
d1681e
From: Jiffin Tony Thottan <jthottan@redhat.com>
d1681e
Date: Wed, 4 Apr 2018 09:29:43 +0530
74b1de
Subject: [PATCH 078/124] common-ha/scripts : pass the list of servers properly
d1681e
 to stop_ganesha_all()
d1681e
74b1de
Label: DOWNSTREAM ONLY
d1681e
d1681e
Upstream Reference :
d1681e
>Change-Id: I6d92623cd9fb450d7a27f5acc61eca0b3cbc9b08
d1681e
>BUG: 1563500
d1681e
>Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
d1681e
>Patch link : https://review.gluster.org/#/c/19816/
d1681e
d1681e
Change-Id: I6d92623cd9fb450d7a27f5acc61eca0b3cbc9b08
d1681e
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
74b1de
Reviewed-on: https://code.engineering.redhat.com/gerrit/167163
74b1de
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
d1681e
Tested-by: RHGS Build Bot <nigelb@redhat.com>
74b1de
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
d1681e
---
d1681e
 extras/ganesha/scripts/ganesha-ha.sh | 2 +-
d1681e
 1 file changed, 1 insertion(+), 1 deletion(-)
d1681e
d1681e
diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh
74b1de
index 8302c5e..4e5799f 100644
d1681e
--- a/extras/ganesha/scripts/ganesha-ha.sh
d1681e
+++ b/extras/ganesha/scripts/ganesha-ha.sh
d1681e
@@ -199,7 +199,7 @@ setup_cluster()
d1681e
     if [ $? -ne 0 ]; then
d1681e
         logger "pcs cluster setup ${RHEL6_PCS_CNAME_OPTION} ${name} ${servers} failed"
d1681e
         #set up failed stop all ganesha process and clean up symlinks in cluster
d1681e
-        stop_ganesha_all ${servers}
d1681e
+        stop_ganesha_all "${servers}"
d1681e
         exit 1;
d1681e
     fi
d1681e
     pcs cluster start --all
d1681e
-- 
d1681e
1.8.3.1
d1681e