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