commit 08ddb0559f29f3525c3b43bf59cc79467e0f75fb
Author: Jan Pokorný <jpokorny@redhat.com>
Date: Sat Jul 20 09:16:13 2013 +0200
cluster plugin: restrict data collected for luci
Notably, avoid server cert being added. On the other hand, allow
collection of rotated log files for luci.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py
index b9fa8b3..50e0e0b 100644
--- a/sos/plugins/cluster.py
+++ b/sos/plugins/cluster.py
@@ -46,9 +46,10 @@ class Cluster(Plugin, RedHatPlugin):
self.add_copy_spec("/etc/sysconfig/cman")
self.add_copy_spec("/etc/fence_virt.conf")
self.add_copy_spec("/var/lib/ricci")
- self.add_copy_spec("/var/lib/luci")
+ self.add_copy_spec("/var/lib/luci/data/luci.db")
+ self.add_copy_spec("/var/lib/luci/etc")
self.add_copy_spec("/var/log/cluster")
- self.add_copy_spec("/var/log/luci/luci.log")
+ self.add_copy_spec("/var/log/luci")
self.add_copy_spec("/etc/fence_virt.conf")
if self.get_option('gfslockdump'):