File crm_history_2_29fd4f04c01f.patch of Package pacemaker
# HG changeset patch
# User Dejan Muhamedagic <dejan@hello-penguin.com>
# Date 1312580731 -7200
# Node ID 29fd4f04c01f92e54026d9d6bb54d617d8b1fdcd
# Parent d0359dca5dba3fd6fee856d51cca5ee7ac752ee6
Low: Shell: enforce remote report directory removal for history
diff -r d0359dca5dba -r 29fd4f04c01f shell/modules/report.py
--- a/shell/modules/report.py Fri Aug 05 23:26:33 2011 +0200
+++ b/shell/modules/report.py Fri Aug 05 23:45:31 2011 +0200
@@ -595,7 +595,7 @@ class Report(Singleton):
if ext_cmd_nosudo("mkdir -p %s" % os.path.dirname(d)) != 0:
return None
common_info("retrieving information from cluster nodes, please wait ...")
- rc = ext_cmd_nosudo("hb_report -f '%s' %s %s %s" %
+ rc = ext_cmd_nosudo("hb_report -Z -f '%s' %s %s %s" %
(self.from_dt.ctime(), to_option, nodes_option, d))
if rc != 0:
if os.path.isfile(tarball):