diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2019-11-04 14:13:00 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-11-04 14:13:00 +0000 |
commit | ad3adef07c32aee5bdd438706c6c1d4590ff8297 (patch) | |
tree | a4df1e67e43bd01bb7e49185c94abfca91bb123a | |
parent | 68f4d7cc7adde00171af842b5bc808f41d888a87 (diff) | |
download | sos-ad3adef07c32aee5bdd438706c6c1d4590ff8297.tar.gz |
[ceph] fix directory blacklist style
Plugins must use 'path/to/exclude' rather than 'path/to/exclude/*'
in order to omit a directory and all its content from the report.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/ceph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py index 6e340c69..43284bc8 100644 --- a/sos/plugins/ceph.py +++ b/sos/plugins/ceph.py @@ -103,8 +103,8 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin): "/var/lib/ceph/*keyring*", "/var/lib/ceph/*/*keyring*", "/var/lib/ceph/*/*/*keyring*", - "/var/lib/ceph/osd/*", - "/var/lib/ceph/mon/*", + "/var/lib/ceph/osd", + "/var/lib/ceph/mon", # Excludes temporary ceph-osd mount location like # /var/lib/ceph/tmp/mnt.XXXX from sos collection. "/var/lib/ceph/tmp/*mnt*", |