diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2016-06-02 08:59:30 +0200 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-06-02 16:44:13 +0100 |
commit | 8e82c10c05e0e2c36554de394d979a32ed0ae924 (patch) | |
tree | 0b51ae2767c27cfd6d804a0a2303ddb1239b9c23 | |
parent | ded9f5148521df27a7aae48fcd4b4b778765c983 (diff) | |
download | sos-8e82c10c05e0e2c36554de394d979a32ed0ae924.tar.gz |
[pacemaker] Call crm_report with --sos-mode option
crm_report should be called with --sos-mode option for preffered
collection of log files.
Closes: #795, #826.
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/pacemaker.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/pacemaker.py b/sos/plugins/pacemaker.py index f993bb31..43083dfe 100644 --- a/sos/plugins/pacemaker.py +++ b/sos/plugins/pacemaker.py @@ -64,7 +64,8 @@ class Pacemaker(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self._log_warn("scrubbing of crm passwords has been disabled:") self._log_warn("data collected by crm_report may contain" " sensitive values.") - self.add_cmd_output('crm_report %s -S -d --dest %s --from "%s"' % + self.add_cmd_output('crm_report --sos-mode %s -S -d ' + ' --dest %s --from "%s"' % (crm_scrub, crm_dest, crm_from), chroot=self.tmp_in_sysroot()) # vim: et ts=4 sw=4 |