diff options
author | Shane Bradley <sbradley@redhat.com> | 2015-03-11 09:55:06 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-03-11 18:43:17 +0000 |
commit | 147c496d5b2a33b7534ac66dbfb7705ae7ccb7bd (patch) | |
tree | 0938b4d867eff677fc142762318d60465e3dc7e6 | |
parent | 55aebeabb2d2c87c695041cff426afaa6bd2808a (diff) | |
download | sos-147c496d5b2a33b7534ac66dbfb7705ae7ccb7bd.tar.gz |
[cluster] crm_report fails to run because dir already exists
Do not create directory for the destination path used by crm_report.
Resolves: rhbz#1200526
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/cluster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py index bd2cf8a7..8dd9a4df 100644 --- a/sos/plugins/cluster.py +++ b/sos/plugins/cluster.py @@ -111,7 +111,7 @@ class Cluster(Plugin, RedHatPlugin): "crm_from parameter '%s' is not a valid date: using " "default" % self.get_option('crm_from')) - crm_dest = self.get_cmd_output_path(name='crm_report') + crm_dest = self.get_cmd_output_path(name='crm_report', make=False) self.add_cmd_output('crm_report -S -d --dest %s --from "%s"' % (crm_dest, crm_from)) |