aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/corosync.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/plugins/corosync.py b/sos/plugins/corosync.py
index 2cd22c38..db9b5473 100644
--- a/sos/plugins/corosync.py
+++ b/sos/plugins/corosync.py
@@ -40,6 +40,13 @@ class Corosync(Plugin):
])
self.call_ext_prog("killall -USR2 corosync")
+ def postproc(self):
+ self.do_cmd_output_sub(
+ "corosync-objctl",
+ r"(.*fence.*\.passwd=)(.*)",
+ r"\1******"
+ )
+
class RedHatCorosync(Corosync, RedHatPlugin):