17b94a
From d7c0dc7107a024d28196a4582bacf28ddcfbeb69 Mon Sep 17 00:00:00 2001
17b94a
From: "Kaleb S. KEITHLEY" <kkeithle@redhat.com>
17b94a
Date: Tue, 14 Apr 2020 07:59:22 -0400
17b94a
Subject: [PATCH 363/367] common-ha: cluster status shows "FAILOVER" when
17b94a
 actually HEALTHY
17b94a
17b94a
pacemaker devs change the format of the ouput of `pcs status`
17b94a
17b94a
Expected to find a line in the format:
17b94a
17b94a
Online: ....
17b94a
17b94a
but now it's
17b94a
17b94a
  * Online: ...
17b94a
17b94a
And the `grep -E "^Online:" no longer finds the list of nodes that
17b94a
are online.
17b94a
17b94a
    https://review.gluster.org/#/c/glusterfs/+/24333/
17b94a
17b94a
Change-Id: If2aa1e7b53c766c625d7b4cc222a83ea2c0bd72d
17b94a
BUG: 1823706
17b94a
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
17b94a
Reviewed-on: https://code.engineering.redhat.com/gerrit/197367
17b94a
Tested-by: RHGS Build Bot <nigelb@redhat.com>
17b94a
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
17b94a
---
17b94a
 extras/ganesha/scripts/ganesha-ha.sh | 2 +-
17b94a
 1 file changed, 1 insertion(+), 1 deletion(-)
17b94a
17b94a
diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh
17b94a
index 0b0050a..df333a1 100644
17b94a
--- a/extras/ganesha/scripts/ganesha-ha.sh
17b94a
+++ b/extras/ganesha/scripts/ganesha-ha.sh
17b94a
@@ -935,7 +935,7 @@ status()
17b94a
     done
17b94a
 
17b94a
     # print the nodes that are expected to be online
17b94a
-    grep -E "^Online:" ${scratch}
17b94a
+    grep -E "Online:" ${scratch}
17b94a
 
17b94a
     echo
17b94a
 
17b94a
-- 
17b94a
1.8.3.1
17b94a