diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-08-14 18:36:25 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-08-14 18:36:25 +0100 |
commit | 3f51d800c2c107618d4ac9a55ebeee7113691ac6 (patch) | |
tree | 9ef5c0bd9dab9ab8ff0cf7aebaae748362e5ae62 | |
parent | dbd2f7abf37d4d2f0ec7f9b7103f9248b6f4ac95 (diff) | |
download | sos-3f51d800c2c107618d4ac9a55ebeee7113691ac6.tar.gz |
Add crm_report support to cluster plug-in
Recent cluster stacks using the pacemaker stack include a
crm_report script to generate debugging information for the
cluster.
Call it in single-node mode in the cluster module.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/cluster.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py index 2fb9bd41..50e0e0bd 100644 --- a/sos/plugins/cluster.py +++ b/sos/plugins/cluster.py @@ -83,6 +83,9 @@ class Cluster(Plugin, RedHatPlugin): self.add_cmd_output("dlm_tool dump") self.add_cmd_output("dlm_tool ls -n") self.add_cmd_output("mkqdisk -L") + crm_dest = os.path.join(self.cInfo['cmddir'], + self.name(), 'crm_report') + self.collectExtOutput("crm_report -S --dest %s" % crm_dest) def do_lockdump(self): status, output, time = self.call_ext_prog("dlm_tool ls") |