From ed04ba7fc727fd3f1d8b553bc88c383d21c99cd0 Mon Sep 17 00:00:00 2001 From: Jose Castillo Date: Fri, 17 May 2024 11:57:31 +0100 Subject: [ceph_mds] Capture alternative mds file path Newer versions of Ceph place information in /var/lib/ceph//mds* instead of /var/lib/ceph/mds/*, so we need to capture the new path as well. Related: RH: SUPDEV-154 Signed-off-by: Jose Castillo --- sos/report/plugins/ceph_mds.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sos/report/plugins/ceph_mds.py b/sos/report/plugins/ceph_mds.py index c9253a8d..6a12a0af 100644 --- a/sos/report/plugins/ceph_mds.py +++ b/sos/report/plugins/ceph_mds.py @@ -16,7 +16,8 @@ class CephMDS(Plugin, RedHatPlugin, UbuntuPlugin): plugin_name = 'ceph_mds' profiles = ('storage', 'virt', 'container', 'ceph') containers = ('ceph-(.*-)?fs.*',) - files = ('/var/lib/ceph/mds/*', '/var/snap/microceph/common/data/mds/*') + files = ('/var/lib/ceph/mds/*', '/var/lib/ceph/*/mds.*', + '/var/snap/microceph/common/data/mds/*') def setup(self): all_logs = self.get_option("all_logs") @@ -48,6 +49,7 @@ class CephMDS(Plugin, RedHatPlugin, UbuntuPlugin): self.add_copy_spec([ "/var/lib/ceph/bootstrap-mds/", "/var/lib/ceph/mds/", + "/var/lib/ceph/*/mds.*", "/run/ceph/ceph-mds*", ]) -- cgit