From 0dea7d5aee6dd4c44033abc40ee5b3ce755c8d7e Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Wed, 6 Oct 2021 07:12:59 -0400 Subject: [PATCH] nuke: ignore internal directory listing when scanning for stale mounts in debugfs directory kclient patchset: https://patchwork.kernel.org/project/ceph-devel/list/?series=556049 introduces meta directory to add debugging entries. This needs to be filtered when scanning ceph debugfs directory. Signed-off-by: Venky Shankar --- teuthology/nuke/actions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/teuthology/nuke/actions.py b/teuthology/nuke/actions.py index 9ee7da262..ef7ca2d27 100644 --- a/teuthology/nuke/actions.py +++ b/teuthology/nuke/actions.py @@ -134,6 +134,10 @@ def stale_kernel_mount(remote): 'sudo', 'find', '/sys/kernel/debug/ceph', '-mindepth', '1', + run.Raw('!'), + '-path', '/sys/kernel/debug/ceph/meta', + run.Raw('!'), + '-path', '/sys/kernel/debug/ceph/meta/client_features', '-type', 'd', run.Raw('|'), 'read' -- 2.47.3