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