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