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