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