aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2015-07-01 12:15:41 +0200
committerBryn M. Reeves <bmr@redhat.com>2015-07-03 15:53:36 +0100
commit24ecc933d109c0eba120b434d08aa560e9a56869 (patch)
tree0dda8c3c1cdb882f812d7b24518fce5c086d12a9
parent93a9b4d2795665d568c0ff9403d6f946ebc19dbb (diff)
downloadsos-24ecc933d109c0eba120b434d08aa560e9a56869.tar.gz
[ceph] add logs, report and calamari conf
Update ceph commands and add log and configuration file collection for calamari and radosgw. Resolves: #496 Resolves: rhbz#1210527 Signed-off-by: Brad Hubbard <bhubbard@redhat.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/ceph.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py
index 52b8fff8..0bfdbe08 100644
--- a/sos/plugins/ceph.py
+++ b/sos/plugins/ceph.py
@@ -37,17 +37,22 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_spec([
"/etc/ceph/",
- "/var/log/ceph/"
+ "/var/log/ceph/",
+ "/etc/calamari/",
+ "/var/log/calamari",
+ "/var/log/radosgw"
])
self.add_cmd_output([
"ceph status",
- "ceph health",
+ "ceph health detail",
"ceph osd tree",
"ceph osd stat",
"ceph osd dump",
"ceph mon stat",
- "ceph mon dump"
+ "ceph mon dump",
+ "ceph df",
+ "ceph report"
])
self.add_forbidden_path("/etc/ceph/*keyring")