aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-07-20 09:16:13 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-07-20 09:20:56 +0200
commit4e97b29ad497cf8f829fdd26f7ce0c72b6dc4bcc (patch)
tree48a8131e97b94a4b66695365edba900a61e93f8d
parent35d529d359643525755c2c50b2c70e490ba7609a (diff)
downloadsos-4e97b29ad497cf8f829fdd26f7ce0c72b6dc4bcc.tar.gz
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>
-rw-r--r--sos/plugins/cluster.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py
index 68bfa3f7..12a00622 100644
--- a/sos/plugins/cluster.py
+++ b/sos/plugins/cluster.py
@@ -55,9 +55,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'):